Skip to main content

Upscale

Resolution upscaling and detail enhancement. Use it as the final step in almost any workflow.

POST /upscale/image/v1, upscale and enhance input_image by an integer scale factor.

curl -X POST https://api.imagepipeline.io/upscale/image/v1 \
-H "X-API-Key: $IMAGEPIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input_image": "https://.../staged.webp",
"scale": 4,
"output_format": "png"
}'
FieldTypeDefaultNotes
input_imagestring,Public URL of the image to upscale and enhance.
scaleinteger4Upscale factor: 1 (enhance only), 2, 3, or 4.
output_formatstringwebpwebp, jpeg, or png.
callback_urlstring,Receive a webhook on completion.
server_idstring,Enterprise: pin to a dedicated pod.

Response — poll GET …/status/{job_id} until status is completed:

{
"job_id": "job_a0f5d213",
"status": "completed",
"result_url": "https://cdn.imagepipeline.io/o/7c1a9e44.webp",
"processing_time_seconds": 41.6,
"balance_remaining_usd": 187.52
}

Returns a job_id; poll GET /upscale/image/v1/status/{job_id} or use a webhook.