Upscale an image

Increase the resolution of an image using AI upscaling. Supports 2×, 4×, and 8× scale factors.

Asynchronous: Returns immediately with status: pending. Poll GET /outputs/{generation_uuid} for the result.

Credit cost is calculated from the output megapixel count:

output_megapixels = (width × scale_factor × height × scale_factor) / 1,000,000
credits = ceil(output_megapixels × 2)

The credits_to_charge field in the response shows the exact cost before the job starts processing.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Source image to upscale. Must be a public HTTPS URL or an upload key returned by POST /upload/get-signed-image-upload-url.

integer
enum
Defaults to 2

Multiplication factor applied to both width and height. Defaults to 2.

Allowed:
string
enum
Defaults to png

File format for the upscaled output. Defaults to png.

Allowed:
Headers
string
required
^[a-zA-Z0-9_\-~]+$

A stable, unique identifier for the end-user making the request. Accepts alphanumeric characters, dashes (-), underscores (_), and tildes (~). This maps the request to the correct credit balance and output history.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json