Skip to main content
POST
/
v1
/
upscale
Upscale
curl --request POST \
  --url https://api.developer.pixelcut.ai/v1/upscale \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "image_url": "https://cdn3.pixelcut.app/product.jpg",
  "scale": 2
}
'
{
  "result_url": "https://assets.pixelcut.app/public/result/a16646be-91c8-4e3a-b359.jpg"
}

Authorizations

X-API-KEY
string
header
required

All API requests require a valid api key. Include your token as a HTTP request header in the following format: X-API-Key: skXXXXXXXXXXXXXXXX. You can obtain an api key by signing up for developer access in your Pixelcut account.

Headers

Accept
string

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

Body

image_url
string<url>
required

URL of the image to be processed.

Example:

"https://cdn3.pixelcut.app/product.jpg"

scale
enum<integer>
required

The scale factor.

Available options:
2,
4

Response

Success

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.

Example:

"https://assets.pixelcut.app/public/result/a16646be-91c8-4e3a-b359.jpg"