v47

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-01360485.4 KB
Image Projects

AI Image Upscaler

Upscale your image using AI. Each 2x upscale costs 50 credits for balanced/creative modes, and 25 credits for preserve. 4x upscale costs 200 and 100 credits respectively.

post/v1/ai-image-upscaler

Request body

namestring

Give your image a custom name for easy identification.

scale_factornumber required

How much to scale the image. Must be either 2 or 4.

Note: 4x upscale is only available on Creator, Pro, or Business tier.

Example request

{
  "name": "My Image Upscaler image",
  "scale_factor": 2,
  "style": {
    "mode": "balanced"
  },
  "assets": {
    "image_file_path": "api-assets/id/1234.png"
  }
}

Response

Success

idstring required

Unique ID of the image. Use it with the Get image Project API to fetch status and downloads.

credits_chargedinteger required

The amount of credits deducted from your account to generate the image. We charge credits right when the request is made.

If an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund.

Example response

{
  "id": "cuid-example",
  "credits_charged": 50
}