ProductAIDocs
Get API Key

API Reference

Upscale

Run a precision upscaler on any image — ideal for preparing generated product photos for print or high-resolution zoom.

POST/v1/api/upscale

Body parameters

image_urlstringrequired
Public URL of the image to upscale. Max 10MB, JPEG/PNG/WebP. Use the image_url from a completed generation job to upscale a generated photo.

Response fields

data.idinteger
Job ID. Poll GET /v1/api/job/{id} — the completed job's image_url contains the upscaled file.
data.statusstring
NOT_STARTED, RUNNING, COMPLETED, ERROR.

Pricing

Upscaling costs a flat 20 credits per image.
Request
curl -X POST "https://api.productai.photo/v1/api/upscale" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/product.jpg"
  }'
Response · 200 OK
{
  "status": "OK",
  "data": {
    "id": 287402,
    "status": "RUNNING",
    "prompt": "Precision upscale"
  }
}