> 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/upscaling-and-enhancement/generative/starlight-mini.md).

# Starlight Mini

Diffusion restoration for archival, degraded, and interlaced footage.

<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%2Faafy3V3Gk6RBKPgpJraZ%2FStarlight_Mini_(Ex_2)_slider.jpg?alt=media&#x26;token=fd4719f0-c78a-4c7e-a0bf-0c31191bd53e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Faafy3V3Gk6RBKPgpJraZ%2FStarlight_Mini_(Ex_2)_slider.jpg?alt=media&#x26;token=fd4719f0-c78a-4c7e-a0bf-0c31191bd53e</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fstarlight-crowd-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fstarlight-crowd-before_Precise_Starlight_Mini.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fstarlight-crowd-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fstarlight-crowd-before_Precise_Starlight_Mini.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Starlight Mini is the first local diffusion model for video enhancement, delivering the core strengths of Starlight technology, optimized for desktop workflows. It enables diffusion based restoration and enhancement without relying on cloud processing. Mini is currently the most powerful diffusion-based video enhancement available for local desktop use.

Starlight Mini is well suited for degraded and archival sources, including 8mm and 16mm film, MiniDV, and standard definition video with automatic deinterlacing. Its output emphasizes natural texture and motion consistency, helping reduce flicker, banding, and overly harsh detail.

### Best Use Cases

* **VHS and tape.** Restore very low-quality tape sources.
* **Early film transfers.** Recover detail in old film scans.
* **Low-resolution SD.** Bring SD archives up to modern resolutions.
* **Interlaced archival footage.** Restore older interlaced sources.
* **First pass before Precise 2.6.** Prepare very old footage for a final generative pass.

### 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                                     | `"slm-1"`       | —                                                                                     |
| `upscalingFactor` | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `1.0` to `8.0`  | Output resolution multiplier relative to the source. 1.0 keeps the source resolution. |

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

**Starlight Mini** is priced per output frame. Credits = ceil(output frames ÷ frames per credit).

| Output resolution | Frames per credit |
| ----------------- | ----------------- |
| 1080p             | 26.0417           |
| 4K                | 11.9179           |

#### 1080p Output

| Duration | 24 fps | 30 fps | 60 fps |
| -------- | ------ | ------ | ------ |
| 5 s      | 5      | 6      | 12     |
| 10 s     | 10     | 12     | 24     |
| 30 s     | 28     | 35     | 70     |
| 1 min    | 56     | 70     | 139    |
| 5 min    | 277    | 346    | 692    |
| 10 min   | 553    | 692    | 1383   |

#### 4K Output

| Duration | 24 fps | 30 fps | 60 fps |
| -------- | ------ | ------ | ------ |
| 5 s      | 11     | 13     | 26     |
| 10 s     | 21     | 26     | 51     |
| 30 s     | 61     | 76     | 152    |
| 1 min    | 121    | 152    | 303    |
| 5 min    | 605    | 756    | 1511   |
| 10 min   | 1209   | 1511   | 3021   |

{% 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": "slm-1", "upscalingFactor": 2.0 } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "slm-1",
      "upscalingFactor": 2.0
    }
  ],
  "output": {
    "resolution": {
      "width": 3840,
      "height": 2160
    }
  }
};

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': 'slm-1', 'upscalingFactor': 2.0}],
 'output': {'resolution': {'width': 3840, 'height': 2160}}}

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 %}

### 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/upscaling-and-enhancement/generative/starlight-mini.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.
