POST
/
api
/
v1
/
client
/
img-upscale
Image Upscale
curl --request POST \
  --url http://localhost:8000/api/v1/client/img-upscale \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form image='@example-file' \
  --form model=RealESRGAN_x4 \
  --form 'webhook_url=<string>'
{
  "data": {
    "request_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Authorizations

Authorization
string
header
required

API key obtained from the ModelBeam dashboard

Body

multipart/form-data
image
file
required

Image file to upscale

model
string
required
Example:

"RealESRGAN_x4"

webhook_url
string
Maximum string length: 2048

Response

Upscale job created

data
object