Upscale Image

Upscale image resolution up to 4K


CURL

curl \
  --request POST \
  --url 'https://app.imggen.ai/v1/upscale-image' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --form image=@/path/to/file.jpg \
  --form factor=4 \
  --form enhanceFace=false \
  --form sharpen=false \
  --form output=jpeg
💡

Authenticate with Authorization: Bearer YOUR_API_KEY (legacy keys may use X-IMGGEN-KEY: YOUR_API_KEY). To process several images in one call, send image[] instead — see Batch processing.

Request body

image

fileRequired

Image file, Supported formats: jpg , jpeg , png , webp.


factor

number
Upscale factor. Defaults to 4.
Available Options
24

enhanceFace

boolean
Enhance faces while upscaling. Defaults to false.

sharpen

boolean
Apply sharpening to the result. Defaults to false.

output

text
Output image format. Defaults to jpeg.
Available Options
jpegpng

Results

When image upscaled successfully, you’ll receive a JSON response:

{
  "success": true,
  "message": "Image upscaled successfully",
  "image": "iVBORw0KGgoAAA...SUVORK5CYII="
}