Image Upscale
Technical documentation for dryAPI APIs, integration guides, and operational references.
Endpoint for requesting image upscaling inference
NOTE
Prerequisite: To ensure a successful request, you must first consult the Model Selection endpoint to identify a valid model
slugand check specific limits.
OpenAPI
Request Img Upscale
Authorization
bearerAuth In: header
Header Parameters
"application/json""application/json"Request Body
multipart/form-data
Image upscaling parameters
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.dryapi.dev/api/v1/client/img-upscale" \ -H "Accept: application/json" \ -F image="string" \ -F model="RealESRGAN_x4plus"{
"data": {
"request_id": "c08a339c-73e5-4d67-a4d5-231302fbff9a"
}
}{
"data": {},
"message": "string",
"errors": [
null
],
"statusCode": 0
}{
"data": {},
"message": "string",
"errors": [
null
],
"statusCode": 0
}{
"message": "The selected model does not support Text To Image.",
"errors": {
"model": [
"The selected model does not support Text To Image."
]
}
}{
"message": "Too Many Attempts."
}