> For the complete documentation index, see [llms.txt](https://developer.topazlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.topazlabs.com/video-models/other-utilities/video-colorization.md).

# Video Colorization

Colorize black & white video

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Click to view</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FnkRNYTzpJDpH3xypx9iG%2FVideo_Colorization_slider.jpg?alt=media&#x26;token=071b322b-26c9-4cb0-b43b-3e1d4bdbd163">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FnkRNYTzpJDpH3xypx9iG%2FVideo_Colorization_slider.jpg?alt=media&#x26;token=071b322b-26c9-4cb0-b43b-3e1d4bdbd163</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FThe-Dream-That-Wouldnt-Down-1965_tvai_1_2_starlight_mini_7.1.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FThe-Dream-That-Wouldnt-Down-1965_tvai_1_2_starlight_mini_7.1_CLR.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FThe-Dream-That-Wouldnt-Down-1965_tvai_1_2_starlight_mini_7.1.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FThe-Dream-That-Wouldnt-Down-1965_tvai_1_2_starlight_mini_7.1_CLR.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Automatically colorize black and white footage with high-fidelity, temporally consistent results. This model applies context-aware color across frames to prevent flicker, using learned tone mapping to deliver natural, seamless color for archival video.

### Best Use Cases

* **Archival footage.** Colorize historical black-and-white video.
* **Documentaries.** Add color to archival inserts.
* **Family archives.** Bring old home movies to life.
* **Restoration pipelines.** Colorize after upscaling and denoising.
* **Stable color.** Frame-consistent results without flicker.

### Endpoint

`https://api.topazlabs.com/video/`

`https://api.topazlabs.com/video/express`

### Model Parameters

Model parameters go inside the filter object in `filters`.

| Parameter | Type     | Required / Default | Accepted values | Description |
| --------- | -------- | ------------------ | --------------- | ----------- |
| `model`   | `string` | Required           | `"color-1"`     | —           |

Video Colorization has no model-specific parameters.

For request parameters shared by every video model (source, output, destination, and notifications), see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Video Colorization** is priced per output frame. Credits = ceil(output frames ÷ frames per credit).

| Output resolution | Frames per credit |
| ----------------- | ----------------- |
| 1080p             | 518               |
| 4K                | 129               |

#### 1080p Output

| Duration | 24 fps | 30 fps | 60 fps |
| -------- | ------ | ------ | ------ |
| 5 s      | 1      | 1      | 1      |
| 10 s     | 1      | 1      | 2      |
| 30 s     | 2      | 2      | 4      |
| 1 min    | 3      | 4      | 7      |
| 5 min    | 14     | 18     | 35     |
| 10 min   | 28     | 35     | 70     |

#### 4K Output

| Duration | 24 fps | 30 fps | 60 fps |
| -------- | ------ | ------ | ------ |
| 5 s      | 1      | 2      | 3      |
| 10 s     | 2      | 3      | 5      |
| 30 s     | 6      | 7      | 14     |
| 1 min    | 12     | 14     | 28     |
| 5 min    | 56     | 70     | 140    |
| 10 min   | 112    | 140    | 280    |

{% hint style="info" %}
These are estimates. For a quote on a specific file, use our [Credit Calculator](https://developer.topazlabs.com/credit-calculator) or create the request with `POST /video/`, which returns an estimate before processing starts.
{% endhint %}

### Example Request

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST "https://api.topazlabs.com/video/express" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": { "container": "mp4" },
    "filters": [ { "model": "color-1" } ],
    "output": { "resolution": { "width": 1920, "height": 1080 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "color-1"
    }
  ],
  "output": {
    "resolution": {
      "width": 1920,
      "height": 1080
    }
  }
};

const response = await fetch("https://api.topazlabs.com/video/express", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(payload),
});

if (!response.ok) {
  throw new Error(`Request failed: ${response.status} ${await response.text()}`);
}

console.log(await response.json());
```

{% endtab %}

{% tab title="Python" %}

```python
import os
import requests

payload = {'source': {'container': 'mp4'},
 'filters': [{'model': 'color-1'}],
 'output': {'resolution': {'width': 1920, 'height': 1080}}}

response = requests.post(
    "https://api.topazlabs.com/video/express",
    headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
    json=payload,
)
response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

Video Colorization doesn't upscale.

### Helpful Resources

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><i class="fa-play">:play:</i></td><td><h4>Video Quickstart</h4></td><td>Quickly get started with our Video API.</td><td><a href="https://developer.topazlabs.com/getting-started/video-quickstart.md">Video Quickstart</a></td></tr><tr><td><i class="fa-file-brackets-curly">:file-brackets-curly:</i></td><td><h4>API Reference</h4></td><td>View our API reference to view the entire schema.</td><td><a href="https://developer.topazlabs.com/reference/">Reference</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Model Pricing</h4></td><td>Learn how we price our models.</td><td><a href="https://developer.topazlabs.com/getting-started/model-pricing.md">Model Pricing</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.topazlabs.com/video-models/other-utilities/video-colorization.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
