Skip to content
Docs menu

Image models

Topaz Image Upscale

On this page

Topaz Image Upscale — fast, high-fidelity AI image generation & editing.

modelIdtopaz-image-upscale
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationmodelIdEndpointRequired input
Defaulttopaz-image-upscalePOST /api/v1/generateimage_url, upscale_factor
Poll taskGET /api/v1/task/{id}?model=topaz-image-upscale

Input parameters

FieldTypeRequiredValues / example
image_urlstringYesUrl of the image to be upscaled.The longest side of the uploaded image resolution × upscale_factor cannot exceed 20,000 pixels. (image URL)
upscale_factorstringYesThe uploaded image's longest side x this factor must stay under 20,000 pixels. (options: 1 | 2 | 4) (default: 2)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"topaz-image-upscale","input":{"image_url":"https://example.com/input.jpg","upscale_factor":"2","nsfw_checker":true}}'