Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api-reference/endpoint/video/queue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@

Private models also return a `download_url` for the finished video. It is a short-lived delivery URL (a few retries are fine if a download drops); see the [Video Generation guide](/guides/media/video-generation#private-download-links) for details and optional `DELETE` for privacy.

### Seedance 2.0 & 2.5

Check warning on line 12 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L12

Did you really mean 'Seedance'?

For `seedance-2-0-*-basic` and `seedance-2-5-*-basic` models (text-to-video, image-to-video, reference-to-video, plus the Seedance 2.0 `-fast-*` variants), see the [Seedance 2.0 & 2.5 Guide](/guides/media/seedance-2-0) for the four-workflow model (Reference / Edit / Extend / Stitch), source-matched `aspect_ratio` / `duration` values, user-settable `bitrate_mode`, family-specific multimodal limits, public API media policy, and pricing details.

Check warning on line 14 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L14

Did you really mean 'Seedance'?

Check warning on line 14 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L14

Did you really mean 'multimodal'?

### Public Seedance media policy

Check warning on line 16 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L16

Did you really mean 'Seedance'?

Public Seedance models do not use consent attestation (`consents.seedance` / `needs_consent`). Media with detectable persons may be rejected upstream. Use the Venice app or Studio for the full Seedance feature set. See the [Seedance guide](/guides/media/seedance-2-0) for details.

Check warning on line 18 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L18

Did you really mean 'Seedance'?

Check warning on line 18 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L18

Did you really mean 'Seedance'?

### Video upscaling
### Video enhancement (Topaz)

For the `topaz-video-upscale` model, use `upscale_factor` (1, 2, or 4) instead of `resolution`, and provide a `video_url`. Duration and FPS are detected automatically from the video file. See the [Video Upscaling Guide](/guides/media/video-upscaling) for full details and examples.
For the Topaz enhancement models (`topaz-video-precision`, `topaz-video-starlight`, `topaz-video-starlight-fast`, `topaz-video-astra`, `topaz-video-hyperion`, `topaz-video-interpolate`, `topaz-video-denoise`, `topaz-video-deblur`, `topaz-video-colorize`), provide a `video_url`; duration and FPS are detected automatically from the file. Upscaling models take `upscale_factor` (1, 2, or 4) instead of `resolution`. Each model also exposes its own settings — `enhancement_model`, sliders like `compression`/`noise`/`creativity`, `target_fps`, `slowdown_factor`, `output_format`, and `h264_output` — validated per model. See the [Video Enhancement Guide](/guides/media/video-enhancement) for the full settings reference and examples.

Check warning on line 22 in api-reference/endpoint/video/queue.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

api-reference/endpoint/video/queue.mdx#L22

Did you really mean 'Upscaling'?

For the legacy `topaz-video-upscale` model, see the [Video Upscaling Guide](/guides/media/video-upscaling).

-------
3 changes: 2 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
"guides/media/video-generation",
"guides/media/seedance-2-0",
"guides/media/reference-to-video",
"guides/media/video-upscaling"
"guides/media/video-upscaling",
"guides/media/video-enhancement"
]
},
{
Expand Down
239 changes: 239 additions & 0 deletions guides/media/video-enhancement.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
---
title: "Video Enhancement (Topaz)"
description: "Upscale, restore, denoise, deblur, interpolate, colorize, and convert SDR to HDR on the Venice API with the Topaz enhancement model suite — full settings reference and examples."

Check warning on line 3 in guides/media/video-enhancement.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

guides/media/video-enhancement.mdx#L3

Did you really mean 'denoise'?

Check warning on line 3 in guides/media/video-enhancement.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

guides/media/video-enhancement.mdx#L3

Did you really mean 'deblur'?
'og:title': "Video Enhancement Guide | Venice API Docs"
'og:description': "Upscale, restore, denoise, deblur, interpolate, colorize, and convert SDR to HDR using the Topaz enhancement models on the Venice API"

Check warning on line 5 in guides/media/video-enhancement.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

guides/media/video-enhancement.mdx#L5

Did you really mean 'denoise'?

Check warning on line 5 in guides/media/video-enhancement.mdx

View check run for this annotation

Mintlify / Mintlify Validation (veniceai) - vale-spellcheck

guides/media/video-enhancement.mdx#L5

Did you really mean 'deblur'?
---

The Topaz video enhancement suite on Venice covers every enhancement job — faithful upscaling, generative restoration, creative reimagining, denoising, deblurring, frame interpolation, SDR-to-HDR conversion, and colorization. All models share the same async queue flow: submit a source video to `/video/queue`, poll `/video/retrieve`, then call `/video/complete`.

The server detects the input video's duration, frame rate, and dimensions from the file — you don't provide them, and billing is calculated from the actual output.

## Models

| Model | ID | What it does |
|---|---|---|
| **Precision** | `topaz-video-precision` | Faithful, non-generative upscaling. Best for clean, natural upscales of real-world footage. |
| **Starlight** | `topaz-video-starlight` | Generative diffusion restoration — rebuilds detail the source no longer has. Best for AI-generated and heavily compressed footage. |
| **Starlight Fast** | `topaz-video-starlight-fast` | Half-price, fastest diffusion pass. |
| **Astra** | `topaz-video-astra` | Creative upscaling that invents new detail, typically delivering 4K. Optional guidance prompt. |
| **Hyperion** | `topaz-video-hyperion` | SDR-to-HDR conversion (HDR10, 10-bit). Keeps source resolution and frame rate. |
| **Interpolate** | `topaz-video-interpolate` | Frame interpolation up to 120 fps, plus slow motion. Keeps source resolution. |
| **Denoise** | `topaz-video-denoise` | Dedicated noise/grain reduction at source resolution, with optional upscaling on top. |
| **Deblur** | `topaz-video-deblur` | Motion deblur at source resolution. |
| **Colorize** | `topaz-video-colorize` | Brings natural color to black-and-white footage (output is at least 1080p). |

## Quick start

<CodeGroup>
```bash cURL
curl https://api.venice.ai/api/v1/video/queue \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "topaz-video-precision",
"video_url": "https://example.com/input-video.mp4",
"upscale_factor": 2
}'
```

```python Python
import requests

response = requests.post(
"https://api.venice.ai/api/v1/video/queue",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "topaz-video-precision",
"video_url": "https://example.com/input-video.mp4",
"upscale_factor": 2,
},
)

queue_id = response.json()["queue_id"]
```

```javascript Node.js
const response = await fetch("https://api.venice.ai/api/v1/video/queue", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "topaz-video-precision",
video_url: "https://example.com/input-video.mp4",
upscale_factor: 2,
}),
});

const { queue_id } = await response.json();
```
</CodeGroup>

Poll `/video/retrieve` with the `queue_id` until `status` is `completed`, then call `/video/complete`. See [Queue](/api-reference/endpoint/video/queue), [Retrieve](/api-reference/endpoint/video/retrieve), and [Complete](/api-reference/endpoint/video/complete).

## Settings reference

Every setting is optional — omitting it uses the model's default. Only the settings a model supports are accepted; anything else is rejected with a validation error. Discover each model's supported settings programmatically under `constraints.topaz` in [`GET /models`](/api-reference/endpoint/models).

### `upscale_factor`

Upscale multiplier for the upscaling models (Precision, Starlight, Starlight Fast, Astra, Denoise). Replaces `resolution`.

| Value | Effect |
|---|---|
| `1` | Enhance at the source resolution (no upscale) |
| `2` (default) | Double width and height |
| `4` | Quadruple width and height |

<Warning>
Astra 2 snaps to its own output resolution (typically 4K) regardless of the requested factor, and billing follows the delivered resolution. Hyperion, Interpolate, Deblur, and Colorize keep the source resolution and reject `upscale_factor`.
</Warning>

### `enhancement_model`

The provider-side enhancement model. Available values per Venice model:

| Venice model | `enhancement_model` options (default in bold) |
|---|---|
| `topaz-video-precision` | **Proteus**, Proteus Natural, Iris, Iris Low Quality, Dione DV, Dione TV, Dione Robust, Dione Dehalo, Dione Robust Dehalo, Artemis High/Medium/Low Quality, Artemis Strong/Medium Halo, Artemis Aliasing & Moire, Gaia HQ, Gaia CG, Gaia 2, Rhea, Theia Fine Tune Detail, Theia Fine Tune Fidelity |
| `topaz-video-starlight` | **Starlight Precise 2.6**, Starlight HQ, Starlight Mini, Starlight Sharp |
| `topaz-video-interpolate` | **Apollo**, Chronos, Aion |
| `topaz-video-denoise` | **Nyx**, Nyx Fast, Nyx XL, Nyx HF |

Pricing follows the selected model where the provider's rates differ: Gaia 2 and Nyx Fast bill at half price; Aion bills at ~2.7x; Proteus Natural is cheaper at 4K.

<Note>
Nyx Fast and Nyx HF are denoise-only — they reject `upscale_factor` greater than 1.
</Note>

### Sliders (0.0–1.0 unless noted)

| Parameter | Models | Effect |
|---|---|---|
| `compression` | Precision, Denoise | Compression artifact removal |
| `noise` | Precision, Denoise | Noise reduction |
| `halo` | Precision, Denoise | Halo reduction around edges |
| `grain` (0–0.1) | Precision | Adds film grain |
| `recover_detail` | Precision | Higher values preserve more original detail |
| `softness` (1–5) | Starlight — **Starlight Precise 2.6 only** | 1 is sharpest, 5 is softest |
| `creativity` | Astra | How much new detail is invented (0 = faithful, 1 = maximum) |
| `realism` | Astra | Biases invented detail toward photorealism |
| `sharp` | Astra | Output sharpness (0.5 is neutral passthrough) |

### `target_fps`

Target frame rate for frame interpolation, available on Precision, Starlight, Starlight Fast, Astra (16–60), and Interpolate (16–120, default 60). On the upscaling endpoints, output at 48 fps or higher doubles the price. On Interpolate, the price scales linearly with the output frame rate.

### `slowdown_factor`

Interpolate only. Slow-motion factor `1` (default), `2`, `4`, or `8` — the output is proportionally longer and billed accordingly (a 2x slowdown doubles the billed duration).

### `output_format`

Hyperion only. `mp4` (default) delivers 10-bit H.265 HDR10; `prores` delivers 10-bit ProRes 422 HQ in a `.mov` for grading and finishing pipelines (much larger files).

### `h264_output`

Available on Precision, Starlight, Starlight Fast, Astra, Interpolate, Denoise, Deblur, and Colorize. Output H.264 instead of the default H.265 — use when your player or pipeline doesn't support H.265.

<Warning>
H.264 output is limited to 4K. Requests whose output would exceed 4K (for example a 1080p source at `upscale_factor` 4) are rejected with a validation error — keep the default H.265 for those.
</Warning>

### `prompt` (Astra only)

An optional text prompt guiding the detail Astra 2 invents. When set, the input video is limited to 450 frames (e.g. 15s at 30 fps).

```json
{
"model": "topaz-video-astra",
"video_url": "https://example.com/clip.mp4",
"prompt": "cinematic wildlife footage, crisp feather detail",
"creativity": 0.8
}
```

## Pricing

Enhancement models bill per second of output video, tiered by output resolution. Get an exact quote from the [Video Quote API](/api-reference/endpoint/video/quote) before generating — quotes account for the detected source metadata and the price-affecting settings (`enhancement_model`, `target_fps`, `slowdown_factor`).

| Model | ≤720p | 1080p | 4K |
|---|---|---|---|
| Precision | $0.0125/s | $0.025/s | $0.075/s |
| Starlight | $0.15/s | $0.15/s | $0.325/s |
| Starlight Fast | $0.075/s | $0.075/s | $0.1625/s |
| Astra | $0.375/s | $0.375/s | $0.625/s |
| Hyperion | $0.30/s | $0.30/s | $0.6375/s |
| Interpolate (at 60 fps) | $0.0375/s | $0.0375/s | $0.125/s |
| Denoise | $0.025/s | $0.025/s | $0.075/s |
| Deblur | $0.0125/s | $0.0125/s | $0.0375/s |
| Colorize | $0.0125/s | $0.0125/s | $0.0375/s |

Rates above are the base model rates. Gaia 2 and Nyx Fast bill at half; Aion at ~2.7x; Proteus Natural is cheaper at 4K. Output at 48 fps or higher doubles the price on the upscaling endpoints; Interpolate scales linearly with the output frame rate.

## Supported inputs

- **Formats**: MP4, MOV, WebM
- **Input methods**: HTTPS URL or `data:video/...;base64,...` data URL
- **Max duration**: 300 seconds (5 minutes)
- **Output**: H.265 MP4 by default (H.264 with `h264_output`, ProRes for Hyperion with `output_format`)

## Examples

### Restore a compressed archive clip (Starlight)

```bash
curl https://api.venice.ai/api/v1/video/queue \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "topaz-video-starlight",
"video_url": "https://example.com/archive.mp4",
"upscale_factor": 2,
"enhancement_model": "Starlight Precise 2.6",
"softness": 2
}'
```

### Denoise high-ISO footage (Denoise)

```bash
curl https://api.venice.ai/api/v1/video/queue \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "topaz-video-denoise",
"video_url": "https://example.com/high-iso.mp4",
"enhancement_model": "Nyx XL",
"noise": 0.8
}'
```

### Convert SDR to HDR for grading (Hyperion, ProRes)

```bash
curl https://api.venice.ai/api/v1/video/queue \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "topaz-video-hyperion",
"video_url": "https://example.com/flat-sdr.mp4",
"output_format": "prores"
}'
```

### Slow motion (Interpolate)

```bash
curl https://api.venice.ai/api/v1/video/queue \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "topaz-video-interpolate",
"video_url": "https://example.com/action.mp4",
"target_fps": 120,
"slowdown_factor": 2
}'
```
4 changes: 4 additions & 0 deletions guides/media/video-upscaling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: "Enhance video resolution and quality with the Topaz Video Upscale
'og:description': "Enhance video resolution and quality using the Topaz Video Upscale model via the Venice API"
---

<Tip>
For the full Topaz enhancement suite — generative restoration (Starlight), creative upscaling (Astra), SDR-to-HDR (Hyperion), frame interpolation, denoising, deblurring, and colorization — see the [Video Enhancement Guide](/guides/media/video-enhancement).
</Tip>

Video upscaling lets you enhance existing videos to higher resolutions while improving visual quality. The **Topaz Video Upscale** model uses AI-powered upscaling to increase resolution by 2x or 4x, or apply quality enhancement at the original resolution (1x).

## How it works
Expand Down
2 changes: 1 addition & 1 deletion models/video.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: "Venice video models for text-to-video, image-to-video, and Topaz u

**Image to Video:** Animate static images into video clips

**Video Upscaling:** Enhance existing videos to higher resolutions using AI-powered upscaling. See the [Video Upscaling Guide](/guides/media/video-upscaling) for details.
**Video Enhancement:** Upscale, restore, denoise, deblur, interpolate, colorize, and convert SDR to HDR with the Topaz enhancement suite (`topaz-video-precision`, `topaz-video-starlight`, `topaz-video-astra`, and more). See the [Video Enhancement Guide](/guides/media/video-enhancement) for the full model list and settings reference.

<Note>
Video generation and upscaling use an async queue system. See the [Video Queue API](/api-reference/endpoint/video/queue) to start generation and [Video Retrieve API](/api-reference/endpoint/video/retrieve) to fetch results.
Expand Down
Loading
Loading