topazlabs-upscale-starlight-2-5-video
Endpoint
/ai/queue instead for long-running jobs, so that you don’t have long running http requests.
Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | yes | — | "topazlabs-upscale-starlight-2-5-video" |
input_video | string (URI) | yes | — | URL of the video to upscale. |
resolution | string | no | "4k" | Target output resolution: "1080p", "2k", or "4k". |
target_fps | integer | no | 24 | Target frame rate (1–60 fps). |
response_format | string | no | "url" | "url" returns a hosted URL. "b64_json" returns base64-encoded video bytes inline. |
target_namespace | string | no | current user | Namespace to save results and bill to. Can be an organization name. |
Resolution and Pricing
| Resolution | Cost per Second |
|---|---|
| 1080p | $0.0374 |
| 2K | $0.1494 |
| 4K | $0.1494 |
Examples
Upscale to 4K (default)
Upscale to 1080p at 60 fps
Response (response_format: "url")
Response (response_format: "b64_json")
Using with /ai/queue
Recommended for longer videos. Returns immediately, processes in the background.Enqueue
Poll
count of 0 means all generations are complete.
Cancel
Errors
| Error | Cause | Fix |
|---|---|---|
Field required | Missing input_video | Provide a video URL |
Invalid resolution | Unsupported resolution value | Use "1080p", "2k", or "4k" |
target_fps must be between 1 and 60 | FPS out of range | Use a value between 1 and 60 |
num_generations must be an integer between 1 and 4 | Invalid count (via /ai/queue) | Use 1–4 |