Create upscaling artwork
POST/v1/artworks/upscaling
Create high-resolution artwork by utilizing upscaling techniques.
Request
- application/json
Body
required
The URL of the image to be upscaled. The image's total area (width × height) must not exceed 1,478,656 pixels (e.g., 1216 × 1216). Accepted image formats: JPEG, JPG, PNG, and WebP.
Possible values: >= 2
and <= 8
Default value: 2
Responses
- 201
- 400
- 401
- 403
- 429
- 500
- 504
Response indicating that the artwork was successfully created.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [upscaling
]
parameters
object
required
The URL of the image to be upscaled. The image's total area (width × height) must not exceed 1,478,656 pixels (e.g., 1216 × 1216). Accepted image formats: JPEG, JPG, PNG, and WebP.
Possible values: >= 2
and <= 8
Default value: 2
Possible values: [done
, failed
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"artworkType": "upscaling",
"parameters": {
"imageUrl": "string",
"scaleFactor": 2
},
"duration": 0,
"results": [
"string"
],
"status": "done",
"createdAt": "2024-07-29T15:51:28.071Z"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Gateway Timeout
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}