Get an artwork
GET/v2/studio/artworks/:id
Fetch one artwork by id.
Request
Path Parameters
id stringrequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
id string
artworkType number
Artwork type number.
parameters object
The parameters the artwork was generated with.
results string[]
Result image URLs.
status string
Generation status.
creditAmount number
Credits charged for this artwork.
createdAt date-time
error
object
status number
message string
{
"id": "string",
"artworkType": 0,
"parameters": {},
"results": [
"string"
],
"status": "string",
"creditAmount": 0,
"createdAt": "2024-07-29T15:51:28.071Z",
"error": {
"status": 500,
"message": "string"
}
}
Loading...