Skip to main content
POST
cURL

Authorizations

X-Api-Key
string
header
required

Your Pikzels API key (prefix: pkz_)

Body

application/json
image_url
string
required

Image to upscale, as an HTTPS URL or a base64 data URL. Square under 1920 px, or landscape or portrait from 16:9 to 3:1 under 3840 px on its longest side.

async
boolean

Set true to get a request ID at once and fetch the result later. See Async Requests.

Response

Success

model
string
required

The model that upscaled this thumbnail.

output
string
required

URL of the upscaled thumbnail: a PNG 3840 px on its longest side, or 1920 px if square, with the aspect ratio kept.

prompt_compacted
boolean
required

Always false: upscale takes no prompt.

request_id
string
required