Topaz Astra 2 Upscaler API, Topaz Starlight Precise 2.6 Upscaler API, Topaz API: Pricing, Documentation
by Topaz
Topaz Video Upscaler delivers professional-grade AI video enhancement, intelligently increasing resolution while reducing noise and sharpening detail. Through Pixazo's API, developers can upscale videos to higher resolutions suitable for broadcast, cinema, and large-format displays. The API leverages Topaz's industry-recognized enhancement algorithms to restore old footage, improve user-generated content, and prepare videos for demanding production workflows where visual quality is critical.

Models Version
Get 10% Cashback on Your First Payment (up to $500)
Add funds and get 10% cashback on your first payment (up to $500).
Topaz Wonder 4 Upscaler API Documentation
Upscale an image with Topaz Upscale Image Generative: Topaz Wonder 4 enhances and enlarges in one automatic pass. Send a JPEG or PNG in image_url and choose the enlargement with upscale_factor (1 to 4). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the image from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Image Generative
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"upscale_factor": 2,
"output_format": "jpeg"
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"upscale_factor": 2,
"output_format": "jpeg"
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"upscale_factor": 2,
"output_format": "jpeg"
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg", "upscale_factor": 2, "output_format": "jpeg"}'Output
{
"request_id": "topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg", "upscale_factor": 2, "output_format": "jpeg"}'Callback Payload (success)
{
"request_id": "topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-generative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.jpg"
],
"media_type": "image/jpeg"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-image-generative",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
image_url | Yesrequired | string | — | One image: a publicly reachable https URL (recommended) |
| The image to upscale, as a JPEG or PNG. Its size is measured when you submit; the output can be at most 256 megapixels and 32,000 px on each side (see Source Image below). | ||||
upscale_factor | No | number | 2 | 1–4 |
How many times to enlarge the width and the height (for example 2 doubles both). See Output Size below. | ||||
output_format | No | string | jpeg | jpeg, png |
| The output file format. | ||||
crop_to_fill | No | boolean | false | true, false |
true crops the image to fill the output frame instead of keeping its whole area. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one image.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per image. - The image size is your image's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_height,__tier,width,height,image_sizeandresolutionare rejected. - The image must be a JPEG or PNG at a publicly reachable
httpsURL: an image whose size cannot be measured, or of another type, is refused at submit with a400, and nothing is charged. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one image in
image_url;image_urls,images,image,video_url,video_urlsandvideoare rejected. scale_factorandtarget_fpsare not accepted on this API: the enlargement isupscale_factor.- Omit a field instead of sending null.
- Use the JSON types shown:
upscale_factoris a number (2, not"2"),modelandoutput_formatare strings, and the switches aretrueorfalse, not strings. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
negative_prompt,stream,seed,sync_mode_url,prompt,autoprompt,creativity,texture,sharpen,denoiseanddetail(they apply only to Topaz's Redefine and Recovery models, which this API does not offer).
Model
This API always runs Topaz Wonder 4, Topaz's newest image model. It enhances and enlarges in one automatic pass, removing noise, blur and compression artifacts and recovering faces. It takes no model-specific settings, so there is no model to choose.
A request that still sends "model": "Wonder 3.5" or "Wonder 3", or one of the Wonder 3 settings (subject_detection, enhancement_strength, face_enhancement, face_enhancement_creativity, face_enhancement_strength), is refused with a 400, and nothing is charged.
Source Image
- Send the image in
image_url: a publicly reachablehttpsURL (recommended) to a JPEG or PNG file. - Its size is measured when you submit. The output (your image's width and height times
upscale_factor) can be at most 256 megapixels and 32,000 px on each side; a larger request is refused, and the message names the largestupscale_factorthat fits. - An image that cannot be downloaded or measured, of another type, or outside these limits is refused at once with a
400, and nothing is charged.
Example: a PNG output
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"output_format": "png"
}Output Size
upscale_factor(1 to 4; 2 applies when you leave it out) sets the output size: your image's width and height times the factor.output_formatandcrop_to_filldo not change the amount billed.
Example: 4x
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"upscale_factor": 4
}Example Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"upscale_factor": 2,
"output_format": "jpeg"
}Example Response
{
"request_id": "topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the image could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. An image that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty image_url, or image_url sent as anything other than a single string | synchronous 400 |
An image that cannot be downloaded or measured when you submit, one that is not a JPEG or PNG, or one whose output would be larger than 256 megapixels or 32,000 px on a side (the message names the largest upscale_factor that fits; nothing is charged) | synchronous 400 |
subject_detection, enhancement_strength, face_enhancement, face_enhancement_creativity or face_enhancement_strength sent (Wonder 4 takes no model-specific settings), or model set to anything but "Wonder 4" | synchronous 400 |
output_format not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
crop_to_fill not true or false — for example the string "true" | synchronous 400 |
upscale_factor not a number from 1 to 4 — for example the string "2" | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one image per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier, width, height, image_size, resolution (the image size is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_urls, images, image, video_url, video_urls, video (send one image in image_url) | synchronous 400 |
scale_factor, target_fps (not accepted on this API: the enlargement is upscale_factor) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
negative_prompt, stream, seed, sync_mode_url, prompt, autoprompt, creativity, texture, sharpen, denoise, detail (not offered on this API) | synchronous 400 |
| An image the model cannot process, for example a damaged file | status: "ERROR" |
| An image the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing image_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'image_url' is required",
"violations": [
"'image_url' is required"
]
}An upscale_factor out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be <= 4 (got 5)",
"violations": [
"'upscale_factor' must be <= 4 (got 5)"
]
}A setting Wonder 4 does not take (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'face_enhancement' is not supported: this API always uses Wonder 4, which recovers faces automatically. Leave it out.",
"violations": [
"'face_enhancement' is not supported: this API always uses Wonder 4, which recovers faces automatically. Leave it out."
]
}A number sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be number (got string)",
"violations": [
"'upscale_factor' must be number (got string)"
]
}Several images in one request (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'num_images' must be one of: (got 2); 'num_images' is not supported: This API returns one image per request. Send one request per image.",
"violations": [
"'num_images' must be one of: (got 2)",
"'num_images' is not supported: This API returns one image per request. Send one request per image."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the image from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-image-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-generative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.jpg"
],
"media_type": "image/jpeg"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-image-generative for this endpoint. |
| output.media_url | array of strings | URL of the image (one file per request). |
| output.media_type | string | image/jpeg. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-image-generative/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the image fromoutput.media_url.
How Billing Is Measured
Billing is measured per started 8 megapixels of output, in whole billing units rounded up for each request: the output is your image's width and height times upscale_factor, each rounded up, and every started 8 megapixels (8,000,000 pixels) of it counts as one unit, at least one per request. The image size is measured when you submit; the amount is placed as a hold then, settled to the size of the image delivered, and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Wonder 4 Upscaler API Pricing
Billed per started 8 megapixels of the output image (your image's width and height times upscale_factor), measured at submit and settled to the delivered image. The rows show three output sizes.
| Resolution | Price (USD) |
|---|---|
| Output up to 8 MP | $0.084 |
| Output up to 24 MP | $0.252 |
| Output up to 64 MP | $0.672 |
Topaz Astra 2 Upscaler API Documentation
Upscale a video creatively with Topaz Upscale Video Creative: Topaz Astra 2 adds new detail and texture, typically to 4K, and suits AI-generated and stylized footage. Send the video in video_url, guide the new detail with an optional prompt, and set how far it may depart from your video with creativity (0 to 1). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the video from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Video Creative
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"prompt": "detailed textures, soft natural light",
"creativity": 0.5,
"upscale_factor": 2
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"prompt": "detailed textures, soft natural light",
"creativity": 0.5,
"upscale_factor": 2
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"prompt": "detailed textures, soft natural light",
"creativity": 0.5,
"upscale_factor": 2
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "prompt": "detailed textures, soft natural light", "creativity": 0.5, "upscale_factor": 2}'Output
{
"request_id": "topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "prompt": "detailed textures, soft natural light", "creativity": 0.5, "upscale_factor": 2}'Callback Payload (success)
{
"request_id": "topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-creative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-video-creative",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | One video: a publicly reachable https URL (recommended) |
| The video to upscale, as an MP4 or MOV file. Its resolution, length and frame rate are measured when you submit: at least 32 px on each side and 0.5 seconds, at most 3840 by 2160 pixels, 5 minutes and 500 MB, and at most 5,712 frames (see Source Video below). | ||||
prompt | No | string | — | Any text, up to 1024 characters |
| Text describing the result you want; it guides the detail Astra 2 adds. With a prompt, the video can be at most 450 frames (15 seconds at 30 fps). | ||||
creativity | No | number | 0.5 | 0–1 |
How much new detail and texture Astra 2 invents: 0 stays faithful to your video, 1 is the most creative. | ||||
realism | No | number | The model's own | 0–1 |
| How strongly to bias the new detail toward photorealism: higher is more photorealistic. | ||||
sharp | No | number | 0.5 | 0–1 |
Output sharpness: 0 softens, 0.5 leaves it as it is, 1 sharpens strongly. | ||||
upscale_factor | No | number | 2 | 1–4 |
| The size you ask for: your video's width and height times this factor. Astra 2 picks its own output size, typically 3840 by 2160 when upscaling, so the size you receive can differ. See Output Size below. | ||||
H264_output | No | boolean | false | true, false |
true encodes the output as H.264; false as H.265. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one video.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per video. - The length is your video's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_heightand__tierare rejected. - The video must be an MP4 or MOV file (not a fragmented MP4) at a publicly reachable
httpsURL whose host supports range requests: a video whose resolution, length or frame rate cannot be measured is refused at submit with a400, and nothing is charged. - With a
prompt, the video can be at most 450 frames (15 seconds at 30 fps); a longer video with a prompt is refused at submit with a400. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one video in
video_url;image_url,image_urls,image,video_urls,videosandvideoare rejected. target_fpsandmodelare not offered on this API and are rejected: it never adds frame interpolation, and the model is always Astra 2.- Omit a field instead of sending null.
- Use the JSON types shown:
creativity,realism,sharpandupscale_factorare numbers (0.5, not"0.5"),promptis a string, andH264_outputandenable_safety_checkeraretrueorfalse, not strings. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
negative_promptandstream.
Prompt and Creativity
prompt(optional, up to 1024 characters) describes the result you want and guides the detail Astra 2 adds. With a prompt, the video can be at most 450 frames (15 seconds at 30 fps).creativity(0 to 1; 0.5 applies when you leave it out) sets how much new detail and texture Astra 2 invents: lower stays closer to your video.realism(0 to 1) biases the new detail toward photorealism, andsharp(0 to 1; 0.5 leaves it as it is) sets the output sharpness.
Example: a bolder, prompt-guided result
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"prompt": "hand-painted watercolor texture",
"creativity": 0.8,
"upscale_factor": 2
}Source Video
- Send the video in
video_url: a publicly reachablehttpsURL (recommended) to an MP4 or MOV file, from a host that supports range requests. A fragmented MP4 cannot be measured. - Its resolution, length and frame rate are measured when you submit. The video must be at least 32 px on each side and 0.5 seconds long, and at most 3840 by 2160 pixels (either way round), 5 minutes and 500 MB. With a
prompt, it can be at most 450 frames. - One request covers at most 5,712 frames, counted as the length in whole seconds times the frame rate: about 238 seconds at 24 fps, 190 at 30 fps or 95 at 60 fps. Split a longer video into parts.
- A video that cannot be downloaded or measured, or that is outside these limits, is refused at once with a
400, and nothing is charged.
Example: photoreal detail without a prompt
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"creativity": 0.5,
"realism": 0.8
}Output Size
upscale_factor(1 to 4; 2 applies when you leave it out) is the size you ask for: your video's width and height times the factor.- Astra 2 picks the output size itself, from the sizes it supports: typically 3840 by 2160 when upscaling. The size you receive can differ from the size you asked for.
- Your video can be at most 3840 by 2160 pixels, either way round; a larger video is refused at submit with a
400. target_fpsis not offered: this API never adds frame interpolation.prompt,creativity,realism,sharp,upscale_factorandH264_outputdo not change the amount billed.
Example: stay close to the source, sharper, H.264
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"creativity": 0.2,
"sharp": 0.7,
"upscale_factor": 2,
"H264_output": true
}Example Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"prompt": "detailed textures, soft natural light",
"creativity": 0.5,
"upscale_factor": 2
}Example Response
{
"request_id": "topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the video could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. A video that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty video_url, or video_url sent as anything other than a single string | synchronous 400 |
A video that cannot be downloaded or measured when you submit (not an MP4 or MOV, a fragmented MP4, or a host without range requests), one under 32 px on a side or 0.5 seconds, one longer than 5 minutes, larger than 500 MB or larger than 3840 by 2160 pixels, one over 5,712 frames (its length in whole seconds times its frame rate), or, with a prompt, one over 450 frames (nothing is charged) | synchronous 400 |
prompt not a string, or longer than 1024 characters | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
H264_output not true or false — for example the string "true" | synchronous 400 |
creativity not a number from 0 to 1 — for example the string "2" | synchronous 400 |
realism not a number from 0 to 1 — for example the string "2" | synchronous 400 |
sharp not a number from 0 to 1 — for example the string "2" | synchronous 400 |
upscale_factor not a number from 1 to 4 — for example the string "2" | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one video per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier (the length is your video's own: it is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_url, image_urls, image, video_urls, videos, video (send one video in video_url) | synchronous 400 |
target_fps, model (not offered on this API: it never adds frame interpolation, and the model is always Astra 2) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
negative_prompt, stream (not offered on this API) | synchronous 400 |
| A video the model cannot process, for example a damaged file | status: "ERROR" |
| A video the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing video_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'video_url' is required",
"violations": [
"'video_url' is required"
]
}A value out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'creativity' must be <= 1 (got 1.5)",
"violations": [
"'creativity' must be <= 1 (got 1.5)"
]
}An upscale_factor out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be <= 4 (got 5)",
"violations": [
"'upscale_factor' must be <= 4 (got 5)"
]
}A number sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'sharp' must be number (got string)",
"violations": [
"'sharp' must be number (got string)"
]
}An option this API does not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'target_fps' must be one of: (got 60); 'target_fps' is not supported on this API: it never adds frame interpolation. Leave it out.",
"violations": [
"'target_fps' must be one of: (got 60)",
"'target_fps' is not supported on this API: it never adds frame interpolation. Leave it out."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the video from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-video-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-creative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-video-creative for this endpoint. |
| output.media_url | array of strings | URL of the video (one MP4 file per request). |
| output.media_type | string | video/mp4. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-video-creative/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.media_url.
How Billing Is Measured
Billing is measured per output frame, in whole billing units rounded up for each request: your video's length, rounded up to whole seconds, times its frame rate. One rate applies to every request, the rate for a 3840 by 2160 output, whatever size Astra 2 delivers. The length and frame rate are measured when you submit; the amount is placed as a hold then and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Astra 2 Upscaler API Pricing
Billed per output frame (your video's length in whole seconds times its frame rate), measured at submit and rounded up per request, at one rate whatever size Astra 2 delivers. The rows show 10 seconds at 30 and 60 fps.
| Resolution | Price (USD) |
|---|---|
| Up to 4K, 30 fps / per 10 seconds | $5.25 |
| Up to 4K, 60 fps / per 10 seconds | $10.50 |
Topaz Starlight Precise 2.6 upscaler API Documentation
Upscale and restore a video with Topaz Upscale Video Precision: the precision models (Proteus, Artemis, Iris, Dione, Theia, Gaia and Rhea) enlarge, denoise, sharpen, deinterlace and recover faces while staying faithful to the source. Send the video in video_url, choose a model, and set how much larger the output is with upscale_factor (1 to 4). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the video from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Video Precision
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Proteus",
"upscale_factor": 2
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Proteus",
"upscale_factor": 2
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Proteus",
"upscale_factor": 2
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "model": "Proteus", "upscale_factor": 2}'Output
{
"request_id": "topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "model": "Proteus", "upscale_factor": 2}'Callback Payload (success)
{
"request_id": "topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-precision",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-video-precision",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | One video: a publicly reachable https URL (recommended) |
| The video to upscale, as an MP4 or MOV file. Its resolution, length and frame rate are measured when you submit: at least 32 px on each side and 0.5 seconds, at most 5 minutes and 500 MB. | ||||
model | No | string | "Proteus" | 21 valuesProteus, Proteus Natural, Iris, Iris Low Quality, Dione DV, Dione TV, Dione Robust, Dione Dehalo, Dione Robust Dehalo, Artemis High Quality, Artemis Medium Quality, Artemis Low Quality, Artemis Strong Halo, Artemis Medium Halo, Artemis Aliasing & Moire, Gaia HQ, Gaia CG, Gaia 2, Rhea, Theia Fine Tune Detail, Theia Fine Tune Fidelity |
| The precision model, written exactly as listed (see Models below). | ||||
upscale_factor | No | number | 2 | 1–4 |
How much to enlarge the video: its width and height are multiplied by this factor (2 doubles them). Proteus Natural and Gaia 2 take only 2. See Output Size below for the largest output. | ||||
compression | No | number | The model's own | 0–1 |
| How strongly to remove compression artifacts: higher removes more. | ||||
noise | No | number | The model's own | 0–1 |
| How strongly to reduce noise: higher removes more. | ||||
halo | No | number | The model's own | 0–1 |
| How strongly to reduce halos around edges: higher removes more. | ||||
recover_detail | No | number | The model's own | 0–1 |
| How much of the original detail to keep: higher keeps more. | ||||
grain | No | number | The model's own | 0, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1 |
| How much film grain to add, from 0 (none) to 0.1, in steps of 0.01. | ||||
H264_output | No | boolean | false | true, false |
true encodes the output as H.264; false as H.265. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one video.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per video. - The length is your video's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_heightand__tierare rejected. - The video must be an MP4 or MOV file (not a fragmented MP4) at a publicly reachable
httpsURL whose host supports range requests: a video whose resolution, length or frame rate cannot be measured is refused at submit with a400, and nothing is charged. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one video in
video_url;image_url,image_urls,image,video_urls,videosandvideoare rejected. target_fpsandsoftnessare not offered on this API and are rejected: the output keeps your video's own frame rate.- Proteus Natural and Gaia 2 upscale 2x only: send
upscale_factor2or leave it out. - Omit a field instead of sending null.
- Use the JSON types shown:
upscale_factor,compression,noise,halo,recover_detailandgrainare numbers (0.5, not"0.5"), andH264_outputandenable_safety_checkeraretrueorfalse, not strings. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
promptandstream.
Models
Set model to one of the precision models below, written exactly as listed; Proteus applies when you leave it out. Proteus Natural and Gaia 2 upscale 2x only.
| model | Note |
|---|---|
Proteus | The default. Upscales, denoises and sharpens most real-world footage. |
Proteus Natural | A softer, more natural look than Proteus, with fewer halos. Upscales 2x only. |
Iris | Recovers faces in mid-quality footage. |
Iris Low Quality | Recovers faces in degraded footage. |
Dione DV | Deinterlaces DV sources. |
Dione TV | Deinterlaces analog broadcast sources. |
Dione Robust | Deinterlaces difficult interlaced sources. |
Dione Dehalo | Deinterlaces and removes edge fringes. |
Dione Robust Dehalo | Robust deinterlacing plus edge-fringe removal. |
Artemis High Quality | Denoises and sharpens clean footage. |
Artemis Medium Quality | Balanced enhancement for medium-quality sources. |
Artemis Low Quality | Heavier restoration for low-quality sources. |
Artemis Strong Halo | Removes strong edge halos. |
Artemis Medium Halo | Removes moderate edge halos. |
Artemis Aliasing & Moire | Reduces aliasing and moire patterns. |
Gaia HQ | Fine detail for sources that are already clean. |
Gaia CG | For animation, CG and stylized footage. |
Gaia 2 | Frame-by-frame upscaling for animation. Upscales 2x only, up to 3840 by 2160; billed per output frame. |
Rhea | Recovers fine detail and faces from low-resolution sources, through an internal 4x pass. |
Theia Fine Tune Detail | Strong detail enhancement for each frame. |
Theia Fine Tune Fidelity | Stable detail with fewer artifacts. |
Example: recover faces in degraded footage
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Iris Low Quality",
"upscale_factor": 2
}Source Video
- Send the video in
video_url: a publicly reachablehttpsURL (recommended) to an MP4 or MOV file, from a host that supports range requests. A fragmented MP4 cannot be measured. - Its resolution, length and frame rate are measured when you submit. The video must be at least 32 px on each side and 0.5 seconds long, and at most 5 minutes and 500 MB.
- A video that cannot be downloaded or measured, or that is outside these limits, is refused at once with a
400, and nothing is charged.
Example: clean up a noisy, compressed video
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Artemis Low Quality",
"upscale_factor": 1.5,
"noise": 0.6,
"compression": 0.5
}Output Size
- The output is your video's width and height times
upscale_factor(1 to 4; 2 applies when you leave it out). - It can be at most 8192 by 4320 pixels with the default H.265 output, or 4096 by 4096 with
H264_output, either way round. A larger request is refused at submit with a400that names the largest factor your video allows. - Proteus Natural and Gaia 2 upscale 2x only. Gaia 2's output can be at most 3840 by 2160, so its video can be at most 1920 by 1080.
target_fpsis not offered: the output keeps your video's own frame rate.H264_output,compression,noise,halo,recover_detailandgraindo not change the amount billed.
Example: 3x to 3840 by 2160, H.264
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Proteus",
"upscale_factor": 3,
"H264_output": true
}Example Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Proteus",
"upscale_factor": 2
}Example Response
{
"request_id": "topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the video could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. A video that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty video_url, or video_url sent as anything other than a single string | synchronous 400 |
| A video that cannot be downloaded or measured when you submit (not an MP4 or MOV, a fragmented MP4, or a host without range requests), one under 32 px on a side or 0.5 seconds, one longer than 5 minutes or larger than 500 MB, an output larger than 8192 by 4320 (4096 by 4096 with H.264), or a Gaia 2 output larger than 3840 by 2160 (nothing is charged) | synchronous 400 |
upscale_factor other than 2 with Proteus Natural or Gaia 2 | synchronous 400 |
model not one of the allowed values (written exactly as listed) | synchronous 400 |
grain not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
H264_output not true or false — for example the string "true" | synchronous 400 |
upscale_factor not a number from 1 to 4 — for example the string "2" | synchronous 400 |
compression not a number from 0 to 1 — for example the string "2" | synchronous 400 |
noise not a number from 0 to 1 — for example the string "2" | synchronous 400 |
halo not a number from 0 to 1 — for example the string "2" | synchronous 400 |
recover_detail not a number from 0 to 1 — for example the string "2" | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one video per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier (the length is your video's own: it is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_url, image_urls, image, video_urls, videos, video (send one video in video_url) | synchronous 400 |
target_fps, softness (not offered on this API: the output keeps your video's own frame rate) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
prompt, stream (not offered on this API) | synchronous 400 |
| A video the model cannot process, for example a damaged file | status: "ERROR" |
| A video the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing video_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'video_url' is required",
"violations": [
"'video_url' is required"
]
}A value that is not allowed (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'model' must be one of: \"Proteus\", \"Proteus Natural\", \"Iris\", \"Iris Low Quality\", \"Dione DV\", \"Dione TV\", \"Dione Robust\", \"Dione Dehalo\", \"Dione Robust Dehalo\", \"Artemis High Quality\", \"Artemis Medium Quality\", \"Artemis Low Quality\", \"Artemis Strong Halo\", \"Artemis Medium Halo\", \"Artemis Aliasing & Moire\", \"Gaia HQ\", \"Gaia CG\", \"Gaia 2\", \"Rhea\", \"Theia Fine Tune Detail\", \"Theia Fine Tune Fidelity\" (got \"Starlight Fast 2\")",
"violations": [
"'model' must be one of: \"Proteus\", \"Proteus Natural\", \"Iris\", \"Iris Low Quality\", \"Dione DV\", \"Dione TV\", \"Dione Robust\", \"Dione Dehalo\", \"Dione Robust Dehalo\", \"Artemis High Quality\", \"Artemis Medium Quality\", \"Artemis Low Quality\", \"Artemis Strong Halo\", \"Artemis Medium Halo\", \"Artemis Aliasing & Moire\", \"Gaia HQ\", \"Gaia CG\", \"Gaia 2\", \"Rhea\", \"Theia Fine Tune Detail\", \"Theia Fine Tune Fidelity\" (got \"Starlight Fast 2\")"
]
}A value out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be <= 4 (got 5)",
"violations": [
"'upscale_factor' must be <= 4 (got 5)"
]
}A number sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'noise' must be number (got string)",
"violations": [
"'noise' must be number (got string)"
]
}An option this API does not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'target_fps' must be one of: (got 60); 'target_fps' is not supported on this API: the upscaled video keeps your video's own frame rate. Leave it out.",
"violations": [
"'target_fps' must be one of: (got 60)",
"'target_fps' is not supported on this API: the upscaled video keeps your video's own frame rate. Leave it out."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the video from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-video-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-precision",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-video-precision for this endpoint. |
| output.media_url | array of strings | URL of the video (one MP4 file per request). |
| output.media_type | string | video/mp4. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-video-precision/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.media_url.
How Billing Is Measured
Billing is measured per gigapixel of the scaled video, in whole billing units rounded up for each request: your video's width and height, each times a scale step, times its frame count. The scale step is 1 for an upscale_factor up to 1.2, 2 up to 2.4 and 4 above that (Proteus Natural always 2). The frame count is your video's length, rounded up to whole seconds, times its frame rate. Gaia 2 is billed per output frame instead, at a lower rate for an output of at most 1920 by 1080 pixels than for a larger one. The size, length and frame rate are measured when you submit; the amount is placed as a hold then and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Starlight Precise 2.6 upscaler API Pricing
Billed per gigapixel of the scaled video (its width and height times the scale step of 1, 2 or 4, times its length in whole seconds times its frame rate), measured at submit and rounded up per request. Gaia 2 is billed per output frame. The rows show 10 seconds at 30 fps.
| Resolution | Price (USD) |
|---|---|
| 540p to 1080p (2x) / per 10 seconds at 30 fps | $0.21 |
| 360p to 720p (2x) / per 10 seconds at 30 fps | $0.105 |
| 1080p to 4K (2x) / per 10 seconds at 30 fps | $0.63 |
| Gaia 2, 540p to 1080p / per 10 seconds at 30 fps | $0.105 |
| Gaia 2, 1080p to 4K / per 10 seconds at 30 fps | $0.315 |
Topaz Starlight Precise 2.6 upscaler API Documentation
Upscale and restore a video with Topaz Upscale Video Generative: the Starlight models rebuild detail that is not in the source, which suits low-quality, compressed or archive footage. Send the video in video_url, choose a model, and set how much larger the output is with upscale_factor (1 to 4, up to 4K). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the video from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Video Generative
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight Precise 2.6",
"upscale_factor": 2
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight Precise 2.6",
"upscale_factor": 2
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight Precise 2.6",
"upscale_factor": 2
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "model": "Starlight Precise 2.6", "upscale_factor": 2}'Output
{
"request_id": "topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "model": "Starlight Precise 2.6", "upscale_factor": 2}'Callback Payload (success)
{
"request_id": "topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-generative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-video-generative",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | One video: a publicly reachable https URL (recommended) |
| The video to upscale, as an MP4 or MOV file. Its resolution, length and frame rate are measured when you submit: at least 32 px on each side and 0.5 seconds, at most 5 minutes and 500 MB. | ||||
model | No | string | "Starlight Precise 2.6" | Starlight Precise 2.6, Starlight HQ, Starlight Mini, Starlight Sharp, Starlight Fast 2 |
| The Starlight model, written exactly as listed (see Models below). Starlight Fast 2 costs half as much for each frame as the others. | ||||
upscale_factor | No | number | 2 | 1–4 |
How much to enlarge the video: its width and height times this factor is the size you ask for (2 asks for double), at most 4K. The model can return a larger frame than that size (see Output Size and Frame Rate below). | ||||
target_fps | No | integer | The video's own | 16–60 |
| The output's frames per second. Set a value that differs from your video's to have frames interpolated; leave it out to keep your video's own. A higher value costs more. | ||||
softness | No | number | The model's own | 1–5 |
| How soft the output looks, from 1 (sharpest) to 5 (softest). Starlight Precise 2.6 only; leave it out for the model's own setting. | ||||
H264_output | No | boolean | false | true, false |
true encodes the output as H.264; false as H.265. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one video.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per video. - The length is your video's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_secondsand__tierare rejected. - The video must be an MP4 or MOV file (not a fragmented MP4) at a publicly reachable
httpsURL whose host supports range requests: a video whose resolution, length or frame rate cannot be measured is refused at submit with a400, and nothing is charged. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one video in
video_url;image_url,image_urls,image,video_urls,videosandvideoare rejected. compression,noise,halo,grainandrecover_detailare not offered by the Starlight models and are rejected; Topaz Upscale Video offers them with its other models.softnessworks only with Starlight Precise 2.6 (the default model).- Omit a field instead of sending null.
- Use the JSON types shown:
upscale_factorandsoftnessare numbers,target_fpsis a whole number (30, not"30"), andH264_outputandenable_safety_checkeraretrueorfalse, not strings. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
promptandstream.
Models
Set model to one of the Starlight models below, written exactly as listed; Starlight Precise 2.6 applies when you leave it out. Starlight Fast 2 costs half as much for each frame as the other four.
| model | Note |
|---|---|
Starlight Precise 2.6 | The default. Adds realism; suited to AI-generated video. |
Starlight HQ | For sources that already have a high resolution. |
Starlight Mini | For restoring archival footage. |
Starlight Sharp | Restoration with sharper detail. |
Starlight Fast 2 | The fastest Starlight model, at half the price of the others for each frame. |
Example: the fastest model at 1.5x
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight Fast 2",
"upscale_factor": 1.5
}Source Video
- Send the video in
video_url: a publicly reachablehttpsURL (recommended) to an MP4 or MOV file, from a host that supports range requests. A fragmented MP4 cannot be measured. - Its resolution, length and frame rate are measured when you submit. The video must be at least 32 px on each side and 0.5 seconds long, and at most 5 minutes and 500 MB.
- A video that cannot be downloaded or measured, or that is outside these limits, is refused at once with a
400, and nothing is charged.
Example: a sharper look with Starlight Precise 2.6
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight Precise 2.6",
"upscale_factor": 2,
"softness": 1
}Output Size and Frame Rate
- The size you ask for is your video's size times
upscale_factor(1 to 4; 2 applies when you leave it out). It can be at most 4K: 3840 by 2160 pixels, either way round. A larger request is refused at submit with a400that names the largest factor your video allows. - The model can return a larger frame than the size you ask for: an 854 by 480 video sent with
upscale_factor2came back 1918 by 1078. - A requested size of at most 1920 pixels wide and 1080 pixels high costs less for each frame than a larger one, whatever frame the model returns; a portrait size (taller than it is wide, such as 1080 by 1920) counts as larger.
- Leave
target_fpsout to keep your video's own frame rate. Set it (16 to 60) to a different rate to have frames interpolated; billing counts output frames, so 60 frames per second costs twice as much as 30. H264_outputandsoftnessdo not change the amount billed.
Example: interpolate to 60 frames per second, H.264
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight HQ",
"upscale_factor": 1.5,
"target_fps": 60,
"H264_output": true
}Example Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"model": "Starlight Precise 2.6",
"upscale_factor": 2
}Example Response
{
"request_id": "topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the video could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. A video that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty video_url, or video_url sent as anything other than a single string | synchronous 400 |
| A video that cannot be downloaded or measured when you submit (not an MP4 or MOV, a fragmented MP4, or a host without range requests), one under 32 px on a side or 0.5 seconds, one longer than 5 minutes or larger than 500 MB, or an output larger than 4K (nothing is charged) | synchronous 400 |
softness sent with a model other than Starlight Precise 2.6 | synchronous 400 |
model not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
H264_output not true or false — for example the string "true" | synchronous 400 |
upscale_factor not a number from 1 to 4 — for example the string "2" | synchronous 400 |
target_fps not a whole number from 16 to 60 — for example 15, 61 or the string "30" | synchronous 400 |
softness not a number from 1 to 5 — for example the string "2" | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one video per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __tier (the length is your video's own: it is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_url, image_urls, image, video_urls, videos, video (send one video in video_url) | synchronous 400 |
compression, noise, halo, grain, recover_detail (not offered by the Starlight models) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
prompt, stream (not offered on this API) | synchronous 400 |
| A video the model cannot process, for example a damaged file | status: "ERROR" |
| A video the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing video_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'video_url' is required",
"violations": [
"'video_url' is required"
]
}A value that is not allowed (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'model' must be one of: \"Starlight Precise 2.6\", \"Starlight HQ\", \"Starlight Mini\", \"Starlight Sharp\", \"Starlight Fast 2\" (got \"Proteus\")",
"violations": [
"'model' must be one of: \"Starlight Precise 2.6\", \"Starlight HQ\", \"Starlight Mini\", \"Starlight Sharp\", \"Starlight Fast 2\" (got \"Proteus\")"
]
}A value out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be <= 4 (got 5)",
"violations": [
"'upscale_factor' must be <= 4 (got 5)"
]
}A number sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'target_fps' must be integer (got string)",
"violations": [
"'target_fps' must be integer (got string)"
]
}An option the Starlight models do not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'noise' must be one of: (got 0.5); 'noise' is not supported by the Starlight models. Leave it out, or use the Topaz Upscale Video API, which takes 'noise' with the Proteus, Artemis, Gaia and Nyx models.",
"violations": [
"'noise' must be one of: (got 0.5)",
"'noise' is not supported by the Starlight models. Leave it out, or use the Topaz Upscale Video API, which takes 'noise' with the Proteus, Artemis, Gaia and Nyx models."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the video from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-video-generative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-generative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-video-generative for this endpoint. |
| output.media_url | array of strings | URL of the video (one MP4 file per request). |
| output.media_type | string | video/mp4. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-video-generative/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.media_url.
How Billing Is Measured
Billing is measured per output frame, in whole billing units rounded up for each request, at the rate for the size you ask for (at most 1920 by 1080 pixels, or larger up to 4K) and the model (Starlight Fast 2 is billed at half the rate). Billing counts your video's length, rounded up to whole seconds, times its frame rate, or times target_fps when you set one. The length, size and frame count are measured when you submit; the amount is placed as a hold then and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Starlight Precise 2.6 upscaler API Pricing
Billed per output frame (your video's own frames, or its length times target_fps), measured at submit and rounded up per request: the rate follows the output size (up to 1920x1080, or larger up to 4K) and is halved for Starlight Fast 2. The rows show 10 seconds at 30 fps.
| Resolution | Price (USD) |
|---|---|
| Up to 1080p / per 10 seconds at 30 fps | $1.26 |
| 4K / per 10 seconds at 30 fps | $2.73 |
| Starlight Fast 2, up to 1080p / per 10 seconds at 30 fps | $0.63 |
| Starlight Fast 2, 4K / per 10 seconds at 30 fps | $1.365 |
Topaz Video Upscaler API Documentation
https://gateway.pixazo.ai/topaz-upscale-video-753/v1/topaz-upscale-video-request
Authentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Topaz Upscale Video generate request - Topaz Upscale Video
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-video-753/v1/topaz-upscale-video-request
Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"upscale_factor": 2
}
import requests
url = "https://gateway.pixazo.ai/topaz-upscale-video-753/v1/topaz-upscale-video-request"
headers = {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"upscale_factor": 2
}
response = requests.post(url, json=data, headers=headers)
print(response.json())
const url = "https://gateway.pixazo.ai/topaz-upscale-video-753/v1/topaz-upscale-video-request";
const headers = {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
};
const data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"upscale_factor": 2
};
fetch(url, {
method: "POST",
headers: headers,
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
curl -X POST "https://gateway.pixazo.ai/topaz-upscale-video-753/v1/topaz-upscale-video-request" \
-H "Content-Type: application/json" \
-H "Cache-Control: no-cache" \
-H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
--data-raw '{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"upscale_factor": 2
}'
Output
{
"request_id": "topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Webhook (Optional)
Add the X-Webhook-URL header to your submit request to receive a POST callback when the job completes — no polling required.
Using curl? These are HTTP request headers — pass each with -H, e.g. -H "X-Webhook-URL: https://your-server.com/webhook/callback". Do not paste them as bare lines, and end every line of a multi-line command with \.
Webhook Headers
| Header | Required | Default | Description |
|---|---|---|---|
X-Webhook-URL | Yes (to enable) | — | HTTPS endpoint on your server that will receive the POST callback. Must respond 2xx within a few seconds (process async if needed). |
X-Webhook-Mode | No | terminal | terminal — fires once at the final status (COMPLETED/FAILED/ERROR). sync — fires on every poll cycle plus the terminal event, and caps the queue’s polling delay at 15s for tighter progress updates. |
Example: enable webhook
X-Webhook-URL: https://your-server.com/webhook/callback
X-Webhook-Mode: terminal
Callback Payload
Your endpoint receives a POST application/json with the same shape as the GET /v2/requests/status/{request_id} response. Example terminal callback (mode terminal):
{
"request_id": "topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-753",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-05-22T13:17:32.110Z",
"updated_at": "2026-05-22 13:19:23",
"completed_at": "2026-05-22 13:19:23"
}
Failure callback shape
{
"request_id": "topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-video-753",
"error": "Description of the error",
"output": null,
"created_at": "...",
"updated_at": "...",
"completed_at": "..."
}
Delivery semantics
- terminal mode (default) — exactly one
POSTwhen the request reaches a terminal status. No callback duringPROCESSING. - sync mode —
POSTon every status poll (with delay capped at ~15s) plus a finalPOSTat terminal status. Use when you want progress updates. - Idempotency — use
request_idas your idempotency key. Network retries can deliver the same callback more than once; your handler must tolerate duplicates. - Response — respond
200 OKwithin a few seconds. The queue does not block on slow handlers, but persistent failures may stop further deliveries. - HTTPS required — plain
http://URLs are rejected.
Request Parameters - Topaz Upscale Video generate request
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | — |
| The source video file to upscale. | ||||
model | No | enum | Proteus | Proteus, Artemis HQ, Artemis MQ, Artemis LQ, Nyx, Nyx Fast, Nyx XL, Nyx HF, Gaia HQ, Gaia CG, Gaia 2, Starlight Precise 2.5 |
Video enhancement model. Proteus suits most videos; Artemis for denoise + sharpen; Nyx for dedicated denoising; Gaia HQ/CG for rendered content; Gaia 2 for animation and motion graphics at 2x; Starlight Precise 2.5 for generative diffusion-based upscaling and enhancement. Values are matched exactly, including capitalisation — send Gaia 2, not gaia 2. An unrecognised value is rejected before the request is billed. | ||||
upscale_factor | No | float | 2 | 1–4 |
| Factor to upscale the video by (2.0 doubles width and height). | ||||
target_fps | No | integer | — | 16–60 |
| Target FPS for frame interpolation. If set, frame interpolation is enabled. Must be between 16 and 60 — values outside that range are rejected before the request is billed. | ||||
compression | No | float | — | 0.0–1.0 |
| Compression artifact removal level. Default varies by model. | ||||
noise | No | float | — | 0.0–1.0 |
| Noise reduction level. Default varies by model. | ||||
halo | No | float | — | 0.0–1.0 |
| Halo reduction level. Default varies by model. | ||||
grain | No | float | — | 0.0–0.1 |
| Film grain amount. Default varies by model. | ||||
recover_detail | No | float | — | 0.0–1.0 |
| Recover original detail level. Higher values preserve more original detail. | ||||
H264_output | No | boolean | false | true, false |
| Use H264 codec for the output video. Default is H265. | ||||
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | MP4, MOV, M4V, WebM, GIF · up to 500 MiB · up to 300 seconds | Source video to upscale. |
The 500 MiB limit is checked at submit whenever the source host reports a file size (Content-Length or a Range response); the 300-second limit is checked at submit for MP4 and MOV sources by reading the container header. A source that cannot be measured that way — WebM, GIF, a host that reports no size, a fragmented MP4 — is accepted, a hold is taken at the unmeasurable rate shown in the pricing panel, and the upscaler enforces both limits during processing, usually within about two minutes; if it rejects the file the hold is released and nothing is charged. When a job completes, the hold is settled to the actual output resolution and duration: the resolution tier is set by the output’s pixel count (a 1080x1920 portrait video counts as 1080p), and the length is rounded up to whole seconds. A measurable MP4 or MOV source smaller than 32 px on either edge or shorter than 0.5 seconds is rejected at submit with a 400: no request is created and no funds are held.
Minimum Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"upscale_factor": 2
}
Full Request (all options)
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"model": "Proteus",
"upscale_factor": 2,
"target_fps": 30,
"compression": 0.5,
"noise": 0.5,
"halo": 0.5,
"grain": 0.05,
"recover_detail": 0.5,
"H264_output": false
}
Response
{
"request_id": "topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Request Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| Cache-Control | no-cache |
| Ocp-Apim-Subscription-Key | Your API subscription key |
Response Handling
Common status codes for Topaz Upscale Video generate request.
| Code | Meaning |
|---|---|
| 202 | Accepted — Request queued |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
Error Responses
Queue system errors and model validation errors.
Queue System Errors
// 402 — Insufficient balance
{
"error": "Insufficient Balance",
"message": "Your wallet does not have enough balance."
}
// 400 — Model not found
{
"error": "Model not found",
"message": "Model 'topaz-upscale-video-753' not found or is disabled"
}
Error via Status/Webhook
{
"request_id": "topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-video-753",
"error": "Description of the error",
"output": null
}
Retrieving Results
Poll the universal status endpoint to check progress and retrieve results.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_API_KEY
cURL Example
curl -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response (Completed)
{
"request_id": "topaz-upscale-video-753_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-video-753",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/topaz-upscale-video-753_019dxxxx-xxxx/output.ext"
],
"media_type": "application/octet-stream"
},
"created_at": "2026-03-31T10:00:00.000Z",
"updated_at": "2026-03-31T10:00:15.000Z",
"completed_at": "2026-03-31T10:00:15.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier |
| status | string | QUEUED, PROCESSING, COMPLETED, FAILED, or ERROR |
| model_id | string | Model that processed the request |
| error | string|null | Error message if failed |
| output.media_url | array | URLs to generated media (R2 CDN) |
| output.media_type | string | MIME type of the output |
| created_at | string | When request was created |
| completed_at | string|null | When request completed |
| polling_url | string | Status URL (initial response only) |
Status Values
| Status | Description |
|---|---|
| QUEUED | Request accepted, waiting to be processed |
| PROCESSING | Being processed by the model |
| COMPLETED | Done — output contains the result |
| FAILED | Failed — check error field |
| ERROR | System error — not charged |
Status Flow
QUEUED → PROCESSING → COMPLETED
→ FAILED
→ ERROR
Typical Workflow
- Send a generate request to the API endpoint
- Save the
request_idfrom the response - Poll every 5-10 seconds:
GET /v2/requests/status/{request_id} - When
statusis"COMPLETED", download fromoutput.media_url
Tip: Use X-Webhook-URL header to get a callback instead of polling.
Topaz Video Upscaler API Pricing
Billed per second of output video. The rate follows the OUTPUT resolution — your source height × upscale_factor — so a 1080p source at 2× is billed at the 4K rate, not the 1080p one.
| Output | Price (USD) |
|---|---|
| Up to 720p / per second | $0.0105 |
| Up to 720p, 60 fps output (×2) / per second | $0.021 |
| Up to 720p, Gaia 2 model (×0.5) / per second | $0.00525 |
| 720p to 1080p / per second | $0.021 |
| 720p to 1080p, 60 fps output (×2) / per second | $0.042 |
| 720p to 1080p, Gaia 2 model (×0.5) / per second | $0.0105 |
| Above 1080p / per second | $0.084 |
| Above 1080p, 60 fps output (×2) / per second | $0.168 |
| Above 1080p, Gaia 2 model (×0.5) / per second | $0.042 |
| Unmeasurable source (hold at submit, settled to the actual output after completion) / per second | $0.084 |
Topaz Bloom 2 Upscaler API Documentation
Upscale an image with Topaz Upscale Image Creative: Topaz Bloom 2 re-imagines fine detail and texture as it enlarges, with a creativity control. Send a JPEG or PNG in image_url and choose the enlargement with upscale_factor (1 to 4). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the image from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Image Creative
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom 2",
"upscale_factor": 2,
"output_format": "jpeg"
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom 2",
"upscale_factor": 2,
"output_format": "jpeg"
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom 2",
"upscale_factor": 2,
"output_format": "jpeg"
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg", "model": "Bloom 2", "upscale_factor": 2, "output_format": "jpeg"}'Output
{
"request_id": "topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg", "model": "Bloom 2", "upscale_factor": 2, "output_format": "jpeg"}'Callback Payload (success)
{
"request_id": "topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-creative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.jpg"
],
"media_type": "image/jpeg"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-image-creative",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
image_url | Yesrequired | string | — | One image: a publicly reachable https URL (recommended) |
| The image to upscale, as a JPEG or PNG. Its size is measured when you submit; the output can be at most 256 megapixels and 32,000 px on each side (see Source Image below). | ||||
model | No | string | Bloom 2 | Bloom 2, Bloom, Bloom Realism |
| The upscaling model. See Models below. | ||||
upscale_factor | No | number | 2 | 1–4 |
How many times to enlarge the width and the height (for example 2 doubles both). See Output Size below. | ||||
output_format | No | string | jpeg | jpeg, png |
| The output file format. | ||||
crop_to_fill | No | boolean | false | true, false |
true crops the image to fill the output frame instead of keeping its whole area. | ||||
creativity | No | integer | The model's own | 1–9 |
How much new detail and texture the model invents: 1 stays closest to your image, 9 is the most creative. | ||||
autoprompt | No | boolean | The model's own | true, false |
| Let the model describe your image to itself to guide the new detail. | ||||
color_preservation | No | boolean | The model's own | true, false |
| Keep the colors of your image. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one image.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per image. - The image size is your image's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_height,__tier,width,height,image_sizeandresolutionare rejected. - The image must be a JPEG or PNG at a publicly reachable
httpsURL: an image whose size cannot be measured, or of another type, is refused at submit with a400, and nothing is charged. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one image in
image_url;image_urls,images,image,video_url,video_urlsandvideoare rejected. scale_factorandtarget_fpsare not accepted on this API: the enlargement isupscale_factor.- Omit a field instead of sending null.
- Use the JSON types shown:
upscale_factoris a number (2, not"2"),modelandoutput_formatare strings, and the switches aretrueorfalse, not strings. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
negative_prompt,stream,seedandsync_mode_url.
Models
Bloom 2: the default: Topaz's newest creative upscaler.Bloom: the previous Bloom generation.Bloom Realism: Bloom tuned toward photorealistic detail.Bloom 2applies when you leavemodelout.
Example: Bloom
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom",
"upscale_factor": 2
}Source Image
- Send the image in
image_url: a publicly reachablehttpsURL (recommended) to a JPEG or PNG file. - Its size is measured when you submit. The output (your image's width and height times
upscale_factor) can be at most 256 megapixels and 32,000 px on each side; a larger request is refused, and the message names the largestupscale_factorthat fits. - An image that cannot be downloaded or measured, of another type, or outside these limits is refused at once with a
400, and nothing is charged.
Example: a PNG output
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom 2",
"output_format": "png"
}Output Size
upscale_factor(1 to 4; 2 applies when you leave it out) sets the output size: your image's width and height times the factor.output_format,creativity,autoprompt,color_preservationandcrop_to_filldo not change the amount billed.
Example: 4x with the model's options
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom 2",
"upscale_factor": 4,
"creativity": 3,
"color_preservation": true
}Example Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Bloom 2",
"upscale_factor": 2,
"output_format": "jpeg"
}Example Response
{
"request_id": "topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the image could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. An image that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty image_url, or image_url sent as anything other than a single string | synchronous 400 |
An image that cannot be downloaded or measured when you submit, one that is not a JPEG or PNG, or one whose output would be larger than 256 megapixels or 32,000 px on a side (the message names the largest upscale_factor that fits; nothing is charged) | synchronous 400 |
model not one of the allowed values (written exactly as listed) | synchronous 400 |
output_format not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
autoprompt or color_preservation or crop_to_fill not true or false — for example the string "true" | synchronous 400 |
upscale_factor not a number from 1 to 4 — for example the string "2" | synchronous 400 |
creativity not a whole number from 1 to 9 — for example 0, 10 or the string "1" | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one image per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier, width, height, image_size, resolution (the image size is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_urls, images, image, video_url, video_urls, video (send one image in image_url) | synchronous 400 |
scale_factor, target_fps (not accepted on this API: the enlargement is upscale_factor) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
negative_prompt, stream, seed, sync_mode_url (not offered on this API) | synchronous 400 |
| An image the model cannot process, for example a damaged file | status: "ERROR" |
| An image the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing image_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'image_url' is required",
"violations": [
"'image_url' is required"
]
}An upscale_factor out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be <= 4 (got 5)",
"violations": [
"'upscale_factor' must be <= 4 (got 5)"
]
}A model this API does not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'model' must be one of: \"Bloom 2\", \"Bloom\", \"Bloom Realism\" (got \"Unknown Model\")",
"violations": [
"'model' must be one of: \"Bloom 2\", \"Bloom\", \"Bloom Realism\" (got \"Unknown Model\")"
]
}A number sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be number (got string)",
"violations": [
"'upscale_factor' must be number (got string)"
]
}Several images in one request (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'num_images' must be one of: (got 2); 'num_images' is not supported: This API returns one image per request. Send one request per image.",
"violations": [
"'num_images' must be one of: (got 2)",
"'num_images' is not supported: This API returns one image per request. Send one request per image."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the image from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-image-creative_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-creative",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.jpg"
],
"media_type": "image/jpeg"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-image-creative for this endpoint. |
| output.media_url | array of strings | URL of the image (one file per request). |
| output.media_type | string | image/jpeg. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-image-creative/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the image fromoutput.media_url.
How Billing Is Measured
Billing is measured per started 2 megapixels of output, in whole billing units rounded up for each request: the output is your image's width and height times upscale_factor, each rounded up, and every started 2 megapixels (2,000,000 pixels) of it counts as one unit, at least one per request. The image size is measured when you submit; the amount is placed as a hold then, settled to the size of the image delivered, and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Bloom 2 Upscaler API Pricing
Billed per started 2 megapixels of the output image (your image's width and height times upscale_factor), measured at submit and settled to the delivered image. The rows show three output sizes.
| Resolution | Price (USD) |
|---|---|
| Output up to 2 MP | $0.084 |
| Output up to 8 MP | $0.336 |
| Output up to 24 MP | $1.008 |
Topaz Precision Image Upscaler API Documentation
Upscale an image with Topaz Upscale Image Precision: Topaz's precision models enlarge faithfully, staying true to the original. Send a JPEG or PNG in image_url and choose the enlargement with upscale_factor (1 to 4). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the image from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Image Precision
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Standard V2",
"upscale_factor": 2,
"output_format": "jpeg"
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Standard V2",
"upscale_factor": 2,
"output_format": "jpeg"
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Standard V2",
"upscale_factor": 2,
"output_format": "jpeg"
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg", "model": "Standard V2", "upscale_factor": 2, "output_format": "jpeg"}'Output
{
"request_id": "topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg", "model": "Standard V2", "upscale_factor": 2, "output_format": "jpeg"}'Callback Payload (success)
{
"request_id": "topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-precision",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.jpg"
],
"media_type": "image/jpeg"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-image-precision",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
image_url | Yesrequired | string | — | One image: a publicly reachable https URL (recommended) |
| The image to upscale, as a JPEG or PNG. Its size is measured when you submit; the output can be at most 256 megapixels and 32,000 px on each side (see Source Image below). | ||||
model | No | string | Standard V2 | Standard V2, High Fidelity V3, High Fidelity V2, Low Resolution V2, CGI, Text Refine, Faces |
| The upscaling model. See Models below. | ||||
upscale_factor | No | number | 2 | 1–4 |
How many times to enlarge the width and the height (for example 2 doubles both). See Output Size below. | ||||
output_format | No | string | jpeg | jpeg, png |
| The output file format. | ||||
subject_detection | No | string | All | All, Foreground, Background |
Which part of the image to enhance: All, only the Foreground subject, or only the Background. | ||||
crop_to_fill | No | boolean | false | true, false |
true crops the image to fill the output frame instead of keeping its whole area. | ||||
face_enhancement | No | boolean | true | true, false |
| Enhance faces in the image. | ||||
face_enhancement_creativity | No | number | 0 | 0–1 |
How much new detail face enhancement may add: 0 stays faithful, 1 is the most creative. Ignored when face_enhancement is false. | ||||
face_enhancement_strength | No | number | 0.8 | 0–1 |
How strongly faces are enhanced: 0 leaves them as they are, 1 is the strongest. Ignored when face_enhancement is false. | ||||
sharpen | No | number | The model's own | 0–1 |
Sharpening level: 0 is none, 1 the strongest. | ||||
denoise | No | number | The model's own | 0–1 |
Noise reduction level: 0 is none, 1 the strongest. | ||||
fix_compression | No | number | The model's own | 0–1 |
How strongly to remove compression artifacts (not used by the CGI model). | ||||
strength | No | number | The model's own | 0.01–1 |
Enhancement strength for the Text Refine model. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one image.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per image. - The image size is your image's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_height,__tier,width,height,image_sizeandresolutionare rejected. - The image must be a JPEG or PNG at a publicly reachable
httpsURL: an image whose size cannot be measured, or of another type, is refused at submit with a400, and nothing is charged. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one image in
image_url;image_urls,images,image,video_url,video_urlsandvideoare rejected. scale_factorandtarget_fpsare not accepted on this API: the enlargement isupscale_factor.- Omit a field instead of sending null.
- Use the JSON types shown:
upscale_factoris a number (2, not"2"),modelandoutput_formatare strings, and the switches aretrueorfalse, not strings. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
negative_prompt,stream,seedandsync_mode_url.
Models
Standard V2: the default: fits most photos.High Fidelity V3: preserves fine detail in professional photos.High Fidelity V2: the previous High Fidelity generation.Low Resolution V2: for small or low-resolution sources.CGI: for renders, illustrations and other computer graphics.Text Refine: keeps text and fine lines legible.Faces: for portraits and faces.Standard V2applies when you leavemodelout.
Example: High Fidelity V3
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "High Fidelity V3",
"upscale_factor": 2
}Source Image
- Send the image in
image_url: a publicly reachablehttpsURL (recommended) to a JPEG or PNG file. - Its size is measured when you submit. The output (your image's width and height times
upscale_factor) can be at most 256 megapixels and 32,000 px on each side; a larger request is refused, and the message names the largestupscale_factorthat fits. - An image that cannot be downloaded or measured, of another type, or outside these limits is refused at once with a
400, and nothing is charged.
Example: a PNG output
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Standard V2",
"output_format": "png"
}Output Size
upscale_factor(1 to 4; 2 applies when you leave it out) sets the output size: your image's width and height times the factor.output_format,subject_detection,crop_to_fill,face_enhancement,face_enhancement_creativity,face_enhancement_strength,sharpen,denoise,fix_compressionandstrengthdo not change the amount billed.
Example: 4x with the model's options
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Standard V2",
"upscale_factor": 4,
"face_enhancement": false,
"sharpen": 0.3
}Example Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/input.jpg",
"model": "Standard V2",
"upscale_factor": 2,
"output_format": "jpeg"
}Example Response
{
"request_id": "topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the image could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. An image that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty image_url, or image_url sent as anything other than a single string | synchronous 400 |
An image that cannot be downloaded or measured when you submit, one that is not a JPEG or PNG, or one whose output would be larger than 256 megapixels or 32,000 px on a side (the message names the largest upscale_factor that fits; nothing is charged) | synchronous 400 |
model not one of the allowed values (written exactly as listed) | synchronous 400 |
output_format not one of the allowed values (written exactly as listed) | synchronous 400 |
subject_detection not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
crop_to_fill or face_enhancement not true or false — for example the string "true" | synchronous 400 |
upscale_factor not a number from 1 to 4 — for example the string "2" | synchronous 400 |
face_enhancement_creativity not a number from 0 to 1 — for example the string "2" | synchronous 400 |
face_enhancement_strength not a number from 0 to 1 — for example the string "2" | synchronous 400 |
sharpen not a number from 0 to 1 — for example the string "2" | synchronous 400 |
denoise not a number from 0 to 1 — for example the string "2" | synchronous 400 |
fix_compression not a number from 0 to 1 — for example the string "2" | synchronous 400 |
strength not a number from 0.01 to 1 — for example the string "2" | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one image per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier, width, height, image_size, resolution (the image size is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_urls, images, image, video_url, video_urls, video (send one image in image_url) | synchronous 400 |
scale_factor, target_fps (not accepted on this API: the enlargement is upscale_factor) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
negative_prompt, stream, seed, sync_mode_url (not offered on this API) | synchronous 400 |
| An image the model cannot process, for example a damaged file | status: "ERROR" |
| An image the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing image_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'image_url' is required",
"violations": [
"'image_url' is required"
]
}An upscale_factor out of range (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be <= 4 (got 5)",
"violations": [
"'upscale_factor' must be <= 4 (got 5)"
]
}A model this API does not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'model' must be one of: \"Standard V2\", \"High Fidelity V3\", \"High Fidelity V2\", \"Low Resolution V2\", \"CGI\", \"Text Refine\", \"Faces\" (got \"Unknown Model\")",
"violations": [
"'model' must be one of: \"Standard V2\", \"High Fidelity V3\", \"High Fidelity V2\", \"Low Resolution V2\", \"CGI\", \"Text Refine\", \"Faces\" (got \"Unknown Model\")"
]
}A number sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be number (got string)",
"violations": [
"'upscale_factor' must be number (got string)"
]
}Several images in one request (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'num_images' must be one of: (got 2); 'num_images' is not supported: This API returns one image per request. Send one request per image.",
"violations": [
"'num_images' must be one of: (got 2)",
"'num_images' is not supported: This API returns one image per request. Send one request per image."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the image from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-image-precision_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-precision",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.jpg"
],
"media_type": "image/jpeg"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-image-precision for this endpoint. |
| output.media_url | array of strings | URL of the image (one file per request). |
| output.media_type | string | image/jpeg. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-image-precision/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the image fromoutput.media_url.
How Billing Is Measured
Billing is measured per started 24 megapixels of output, in whole billing units rounded up for each request: the output is your image's width and height times upscale_factor, each rounded up, and every started 24 megapixels (24,000,000 pixels) of it counts as one unit, at least one per request. The image size is measured when you submit; the amount is placed as a hold then, settled to the size of the image delivered, and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Precision Image Upscaler API Pricing
Billed per started 24 megapixels of the output image (your image's width and height times upscale_factor), measured at submit and settled to the delivered image. The rows show three output sizes.
| Resolution | Price (USD) |
|---|---|
| Output up to 24 MP | $0.084 |
| Output up to 48 MP | $0.168 |
| Output up to 96 MP | $0.336 |
Topaz Transparent Image Upscaler API Documentation
Upscale an image 4x with Topaz Upscale Image Transparent, keeping its transparency: send a PNG in image_url and receive a PNG four times as wide and as tall, with its alpha channel preserved. Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the image from output.media_url.
POST https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscaleAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Upscale - Topaz Upscale Image Transparent
Request Code
POST https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscale
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png",
"output_format": "png"
}import requests
url = "https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscale"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png",
"output_format": "png"
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscale", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png",
"output_format": "png"
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png", "output_format": "png"}'Output
{
"request_id": "topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscale' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png", "output_format": "png"}'Callback Payload (success)
{
"request_id": "topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-transparent",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.png"
],
"media_type": "image/png"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-upscale-image-transparent",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
image_url | Yesrequired | string | — | One image: a publicly reachable https URL (recommended) |
| The image to upscale, as a PNG (its transparency is kept). Its size is measured when you submit: at most 8,000 px on each side and 16 megapixels (see Source Image below). | ||||
output_format | No | string | png | png |
| The output is always a PNG with its alpha channel. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one image.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per image. - The image size is your image's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_height,__tier,width,height,image_sizeandresolutionare rejected. - The image must be a PNG at a publicly reachable
httpsURL: an image whose size cannot be measured, or of another type, is refused at submit with a400, and nothing is charged. - Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one image in
image_url;image_urls,images,image,video_url,video_urlsandvideoare rejected. scale_factor,target_fps,upscale_factorandmodelare not accepted on this API: it always upscales 4x.- Omit a field instead of sending null.
- Use the JSON types shown:
image_urlandoutput_formatare strings, andenable_safety_checkeristrue, not a string. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
negative_prompt,stream,seedandsync_mode_url.
Models
- This API has one model and no
modelfield: it always enlarges the width and the height four times and keeps the image's transparency.
Example: the smallest request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png"
}Source Image
- Send the image in
image_url: a publicly reachablehttpsURL (recommended) to a PNG file (its transparency is kept). - Its size is measured when you submit. It can be at most 8,000 px on each side and 16 megapixels, so the 4x output stays within 256 megapixels.
- An image that cannot be downloaded or measured, of another type, or outside these limits is refused at once with a
400, and nothing is charged.
Example: a PNG with transparency
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png",
"output_format": "png"
}Output Size
- The output is always four times as wide and as tall as your image (sixteen times the pixels), as a PNG with its alpha channel.
output_formatdoes not change the amount billed.
Example: always four times as wide and as tall
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png",
"output_format": "png"
}Example Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/images/lighting-sphere.png",
"output_format": "png"
}Example Response
{
"request_id": "topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the image could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. An image that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty image_url, or image_url sent as anything other than a single string | synchronous 400 |
| An image that cannot be downloaded or measured when you submit, one that is not a PNG, or one larger than 8,000 px on a side or 16 megapixels (nothing is charged) | synchronous 400 |
output_format not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one image per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier, width, height, image_size, resolution (the image size is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_urls, images, image, video_url, video_urls, video (send one image in image_url) | synchronous 400 |
scale_factor, target_fps, upscale_factor, model (not accepted on this API: it always upscales 4x) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
negative_prompt, stream, seed, sync_mode_url (not offered on this API) | synchronous 400 |
| An image the model cannot process, for example a damaged file | status: "ERROR" |
| An image the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing image_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'image_url' is required",
"violations": [
"'image_url' is required"
]
}An output format this API does not produce (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'output_format' must be one of: \"png\" (got \"jpeg\")",
"violations": [
"'output_format' must be one of: \"png\" (got \"jpeg\")"
]
}An enlargement this API does not take (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be one of: (got 2); 'upscale_factor' is not accepted: this API always upscales 4x. Leave it out.",
"violations": [
"'upscale_factor' must be one of: (got 2)",
"'upscale_factor' is not accepted: this API always upscales 4x. Leave it out."
]
}A safety checker switched off (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'enable_safety_checker' must be one of: true (got false); 'enable_safety_checker' must be true or left out: the safety checker is always on.",
"violations": [
"'enable_safety_checker' must be one of: true (got false)",
"'enable_safety_checker' must be true or left out: the safety checker is always on."
]
}Several images in one request (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'num_images' must be one of: (got 2); 'num_images' is not supported: This API returns one image per request. Send one request per image.",
"violations": [
"'num_images' must be one of: (got 2)",
"'num_images' is not supported: This API returns one image per request. Send one request per image."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the image from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-upscale-image-transparent_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-upscale-image-transparent",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.png"
],
"media_type": "image/png"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-upscale-image-transparent for this endpoint. |
| output.media_url | array of strings | URL of the image (one file per request). |
| output.media_type | string | image/png. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-upscale-image-transparent/v1/upscale. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the image fromoutput.media_url.
How Billing Is Measured
Billing is measured per started 24 megapixels of output, in whole billing units rounded up for each request: the output is your image's width and height times 4, and every started 24 megapixels (24,000,000 pixels) of it counts as one unit, at least one per request. The image size is measured when you submit; the amount is placed as a hold then, settled to the size of the image delivered, and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Transparent Image Upscaler API Pricing
Billed per started 24 megapixels of the output image (always 4 times your image's width and height), measured at submit and settled to the delivered image. The rows show three input sizes.
| Resolution | Price (USD) |
|---|---|
| Input up to 1.5 MP (output up to 24 MP) | $0.084 |
| Input up to 3 MP (output up to 48 MP) | $0.168 |
| Input up to 6 MP (output up to 96 MP) | $0.336 |
Topaz Hyperion 2.5 SDR to HDR API Documentation
Convert SDR video to HDR with Topaz SDR to HDR Video: Topaz Hyperion 2.5 converts the dynamic range and color of your video to HDR, without upscaling. Send the video in video_url; the result is 10-bit H.265 video with HDR10, in an MP4. Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the video from output.media_url.
POST https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convertAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Convert - Topaz SDR to HDR Video
Request Code
POST https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convert
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"output_format": "mp4"
}import requests
url = "https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convert"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"output_format": "mp4"
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convert", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"output_format": "mp4"
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convert' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "output_format": "mp4"}'Output
{
"request_id": "topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Webhook (Optional)
Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks). |
Example: enable Webhook
curl -X POST 'https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convert' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4", "output_format": "mp4"}'Callback Payload (success)
{
"request_id": "topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-sdr-to-hdr-video",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Failure callback shape
{
"request_id": "topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "topaz-sdr-to-hdr-video",
"error": "Description of the failure"
}Delivery semantics
- terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
- sync mode: a Webhook callback on every poll while the request is processing (status
PROCESSING), plus the final COMPLETED/ERROR callback. - Callbacks are idempotent on
request_id— de-duplicate on it. - Respond
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | One video: a publicly reachable https URL (recommended) |
| The SDR video to convert, as an MP4 or MOV file. Its resolution, length and frame rate are measured when you submit: at least 32 px on each side and 0.5 seconds, at most 3840 by 2160 pixels, 5 minutes and 500 MB, and at most 12,395 frames up to 1080p or 5,600 frames at 4K (see Source Video below). | ||||
output_format | No | string | mp4 | mp4 |
The output file: mp4 is 10-bit H.265 video with HDR10, in an MP4. | ||||
enable_safety_checker | No | boolean | true | true |
The safety checker is always on: only true is accepted. | ||||
Good to know
- Each request returns one video.
batch_size,num_images,number_of_images,nandcountare rejected — send one request per video. - The length is your video's own: it is measured when you submit, not sent;
duration,seconds,num_frames,frames_per_second,__source_fps,__source_frames,__source_seconds,__source_width,__source_heightand__tierare rejected. - The video must be an MP4 or MOV file (not a fragmented MP4) at a publicly reachable
httpsURL whose host supports range requests: a video whose resolution, length or frame rate cannot be measured is refused at submit with a400, and nothing is charged. - This API converts SDR to HDR without upscaling; the result is 10-bit H.265 video with HDR10, in an MP4, and its HDR shows only on an HDR display.
- Send every field at the top level of the JSON body;
parameters,input,contentandtextare rejected. - Send one video in
video_url;image_url,image_urls,image,video_urls,videosandvideoare rejected. upscale_factor,target_fpsandmodelare not offered on this API and are rejected: it converts without upscaling, it never adds frame interpolation, and the model is always Hyperion 2.5.- Omit a field instead of sending null.
- Use the JSON types shown:
video_urlandoutput_formatare strings, andenable_safety_checkeristrue, not a string. - Results are always returned as a URL in
output.media_url;sync_modeis accepted only asfalse. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_url,webhook_modeandcallback_urlin the JSON body are rejected. - Options this API does not offer are rejected:
prompt,creativity,realism,sharp,H264_output,negative_promptandstream.
Source Video
- Send the SDR video in
video_url: a publicly reachablehttpsURL (recommended) to an MP4 or MOV file, from a host that supports range requests. A fragmented MP4 cannot be measured. - Its resolution, length and frame rate are measured when you submit. The video must be at least 32 px on each side and 0.5 seconds long, and at most 3840 by 2160 pixels (either way round), 5 minutes and 500 MB.
- Up to 1080p means a video that fits a landscape 1920 by 1080 frame as it plays; any other video, including a portrait one, counts as 4K.
- One request covers at most 12,395 frames up to 1080p or 5,600 frames at 4K, counted as the length in whole seconds times the frame rate: up to 1080p, the full 5 minutes at 24 or 30 fps, or 206 seconds at 60 fps; at 4K, 233 seconds at 24 fps, 186 at 30 fps or 93 at 60 fps. Split a longer video into parts.
- A video that cannot be downloaded or measured, or that is outside these limits, is refused at once with a
400, and nothing is charged.
Example: the smallest request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4"
}Output Format
output_formatmp4(the default, and the only value offered) delivers 10-bit H.265 video with HDR10, in an MP4.- This API converts SDR to HDR without upscaling:
upscale_factoris refused, and so istarget_fps(it never adds frame interpolation). - The HDR result shows only on an HDR display.
output_formatandenable_safety_checkerdo not change the amount billed.
Example: every option written out
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"output_format": "mp4",
"enable_safety_checker": true
}Example Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/video/input-3s.mp4",
"output_format": "mp4"
}Example Response
{
"request_id": "topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Request Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, a field this operation does not accept was sent, or the video could not be downloaded or measured. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. A video that cannot be downloaded or measured is also refused at submit with a 400, and nothing is charged. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty video_url, or video_url sent as anything other than a single string | synchronous 400 |
| A video that cannot be downloaded or measured when you submit (not an MP4 or MOV, a fragmented MP4, or a host without range requests), one under 32 px on a side or 0.5 seconds, one longer than 5 minutes, larger than 500 MB or larger than 3840 by 2160 pixels, or one over 12,395 frames up to 1080p or 5,600 frames at 4K (its length in whole seconds times its frame rate; nothing is charged) | synchronous 400 |
output_format not one of the allowed values (written exactly as listed) | synchronous 400 |
enable_safety_checker not one of the allowed values (written exactly as listed) | synchronous 400 |
sync_mode set to anything other than false (results are always returned as a URL in output.media_url) | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one video per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, __source_fps, __source_frames, __source_seconds, __source_width, __source_height, __tier (the length is your video's own: it is measured, not sent) | synchronous 400 |
parameters, input, content, text (send the fields at the top level of the JSON body) | synchronous 400 |
image_url, image_urls, image, video_urls, videos, video (send one video in video_url) | synchronous 400 |
upscale_factor, target_fps, model (not offered on this API: it converts without upscaling, never adds frame interpolation, and the model is always Hyperion 2.5) | synchronous 400 |
webhook_url, webhook_mode, callback_url in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
prompt, creativity, realism, sharp, H264_output, negative_prompt, stream (not offered on this API) | synchronous 400 |
| A video the model cannot process, for example a damaged file | status: "ERROR" |
| A video the model refuses, for example under its content policy | status: "ERROR" |
Example error responses
A refused request returns error, a message that joins every problem found, and the same problems one by one in violations.
Missing video_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'video_url' is required",
"violations": [
"'video_url' is required"
]
}An output format this API does not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'output_format' must be one of: \"mp4\" (got \"prores\")",
"violations": [
"'output_format' must be one of: \"mp4\" (got \"prores\")"
]
}The safety checker turned off (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'enable_safety_checker' must be one of: true (got false); 'enable_safety_checker' must be true or left out: the safety checker is always on.",
"violations": [
"'enable_safety_checker' must be one of: true (got false)",
"'enable_safety_checker' must be true or left out: the safety checker is always on."
]
}A boolean sent as a string (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'enable_safety_checker' must be boolean (got string); 'enable_safety_checker' must be true or left out: the safety checker is always on.",
"violations": [
"'enable_safety_checker' must be boolean (got string)",
"'enable_safety_checker' must be true or left out: the safety checker is always on."
]
}An upscale_factor sent to a conversion (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'upscale_factor' must be one of: (got 2); 'upscale_factor' is not accepted: this API converts SDR to HDR and keeps your video's size.",
"violations": [
"'upscale_factor' must be one of: (got 2)",
"'upscale_factor' is not accepted: this API converts SDR to HDR and keeps your video's size."
]
}An option this API does not offer (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'target_fps' must be one of: (got 60); 'target_fps' is not supported on this API: it never adds frame interpolation. Leave it out.",
"violations": [
"'target_fps' must be one of: (got 60)",
"'target_fps' is not supported on this API: it never adds frame interpolation. Leave it out."
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the video from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYcURL example
curl 'https://gateway.pixazo.ai/v2/requests/status/topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "topaz-sdr-to-hdr-video_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "topaz-sdr-to-hdr-video",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-10-09T10:04:54.387Z",
"completed_at": "2026-10-09 10:06:21"
}Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — topaz-sdr-to-hdr-video for this endpoint. |
| output.media_url | array of strings | URL of the video (one MP4 file per request). |
| output.media_type | string | video/mp4. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/topaz-sdr-to-hdr-video/v1/convert. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.media_url.
How Billing Is Measured
Billing is measured per output frame, in whole billing units rounded up for each request: your video's length, rounded up to whole seconds, times its frame rate. Two rates apply: the up-to-1080p rate to a video that fits a landscape 1920 by 1080 frame as it plays, and the 4K rate to any other video, including a portrait one. The size, length and frame rate are measured when you submit; the amount is placed as a hold then and released in full if the request fails. The current rate is shown in the pricing panel on this page.
Topaz Hyperion 2.5 SDR to HDR API Pricing
Billed per output frame (your video's length in whole seconds times its frame rate), measured at submit and rounded up per request: one rate for a video that fits a landscape 1920x1080 frame, another for any other video up to 4K. The rows show 10 seconds at 30 fps.
| Resolution | Price (USD) |
|---|---|
| Up to 1080p, 30 fps / per 10 seconds | $2.52 |
| Up to 4K, 30 fps / per 10 seconds | $5.355 |
⚡ Performance
Live usage measured on Pixazo's gateway, split by model version. Generation time is how long a generation takes end-to-end (lower is better). Success rate is the percent of generations that complete (higher is better).
〰 Uptime
Percent of generations that succeeded over the selected period, per model version.