Skip to main content

Upscale

POST 

/v1/upscale

Increases the resolution of an image by 2x or 4x. Images may be upscaled to a maximum resolution of 6000x6000px. Upscaled images are returned in JPEG format unless the input image contained alpha channels, in which case the output will be PNG format.

Input Image Limits:

  • Max size: 25MB
  • Min resolution: 64x64px
  • Max resolution (2x): 3000x3000px
  • Max resolution (4x): 1500x1500px

Request

Header Parameters

    Accept string

    Acceptable response media type(s). application/json, image/*. Default is application/json.

Body

    image_url urlrequired

    URL of the image to be processed.

    scale int32required

    Possible values: [2, 4]

    The scale factor.

Responses

Success

Schema

    result_url string

    A URL to access the resultant image which is valid for 1 hour. File format will be the same as the input format.

Loading...