Image models
Topaz Image Upscale
On this page
Topaz Image Upscale — fast, high-fidelity AI image generation & editing.
| modelId | topaz-image-upscale |
| Modality | image |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | modelId | Endpoint | Required input |
|---|---|---|---|
| Default | topaz-image-upscale | POST /api/v1/generate | image_url, upscale_factor |
| Poll task | — | GET /api/v1/task/{id}?model=topaz-image-upscale | — |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| image_url | string | Yes | Url of the image to be upscaled.The longest side of the uploaded image resolution × upscale_factor cannot exceed 20,000 pixels. (image URL) |
| upscale_factor | string | Yes | The uploaded image's longest side x this factor must stay under 20,000 pixels. (options: 1 | 2 | 4) (default: 2) |
| nsfw_checker | boolean | No | A 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}}'