Skip to main content
POST
Upscale or restore an image (async)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required
image_url
string<uri>
required
scale_factor
enum<string>
Available options:
2,
4
face_enhance
boolean

Response

202 - application/json

Upscale queued. Poll /v1/generations/{id} or subscribe via webhook.

id
string
object
enum<string>
Available options:
generation
status
enum<string>
Available options:
queued,
running,
succeeded,
failed,
canceled
modality
enum<string>
Available options:
image,
video,
voice,
music,
avatar,
chat,
3d,
upscale
prompt
string
params
object
reserved_credits
integer
charged_credits
integer
refunded_credits
integer
cache_hit
boolean
outputs
object[]