> 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/denoising/nyx.md).

# Nyx

High-quality denoising with natural texture preservation

<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%2FdwZRvpL20iBTaQ3lf3z7%2FNyx_slider.jpg?alt=media&#x26;token=3be05455-e241-4f0c-b36a-ef6135c4407e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FdwZRvpL20iBTaQ3lf3z7%2FNyx_slider.jpg?alt=media&#x26;token=3be05455-e241-4f0c-b36a-ef6135c4407e</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fred-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRed-Nyx-after.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fred-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRed-Nyx-after.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Nyx is a high-quality video denoising model designed to reduce noise and grain while preserving fine detail and natural texture. It is optimized for camera-based footage, especially content affected by sensor noise, low-light conditions, or heavy compression.

Nyx focuses exclusively on noise reduction without sharpening or creative modification, making it ideal for clean preprocessing or standalone denoising workflows.

### Best Use Cases

* **Low-light and high-ISO footage.** Clean sensor noise from night, indoor, and event video without smearing texture.
* **Compressed sources.** Reduce the grain and blockiness left by heavy compression before further enhancement.
* **Preprocessing for upscaling.** Denoise first so an upscaling model doesn't amplify noise into false detail.
* **Documentary and archival video.** Quiet grain on older digital captures while keeping the look of the original.
* **General camera footage.** The default denoiser for most sources that don't need XL's strength or HF's noise-pass export.

### Endpoint

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

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

### Model Parameters

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

Nyx uses the Precision filter parameter set. Every parameter below is optional except `model`; any value you don't send is estimated automatically.

| Parameter                    | Type      | Required / Default | Accepted values                                            | Description                                                                                                                                    |
| ---------------------------- | --------- | ------------------ | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`                      | `string`  | Required           | `"nyx-3"`                                                  | —                                                                                                                                              |
| `videoType`                  | `string`  | Optional           | `"Progressive"`, `"Interlaced"`, `"ProgressiveInterlaced"` | Frame/field type of the source.                                                                                                                |
| `auto`                       | `string`  | Optional           | `"Auto"`, `"Manual"`, `"Relative"`                         | Parameter mode. `Auto` estimates every value, `Relative` nudges the estimated values by the amounts you send, `Manual` uses your values as-is. |
| `fieldOrder`                 | `string`  | Optional           | `"TopFirst"`, `"BottomFirst"`, `"Auto"`                    | Field order for interlaced sources.                                                                                                            |
| `focusFixLevel`              | `string`  | Optional           | `"None"`, `"Normal"`, `"Strong"`                           | Downscales the input for stronger correction of blurred subjects.                                                                              |
| `compression`                | `decimal` | Optional           | `-1.0` to `1.0`                                            | Strength of compression artifact recovery.                                                                                                     |
| `details`                    | `decimal` | Optional           | `-1.0` to `1.0`                                            | Amount of detail reconstruction.                                                                                                               |
| `prenoise`                   | `decimal` | Optional           | `0.0` to `0.1`                                             | Adds noise to the input to reduce over-smoothing.                                                                                              |
| `noise`                      | `decimal` | Optional           | `-1.0` to `1.0`                                            | Amount of noise reduction.                                                                                                                     |
| `halo`                       | `decimal` | Optional           | `-1.0` to `1.0`                                            | Amount of halo reduction.                                                                                                                      |
| `preblur`                    | `decimal` | Optional           | `-1.0` to `1.0`                                            | Anti-aliasing and deblurring strength.                                                                                                         |
| `blur`                       | `decimal` | Optional           | `-1.0` to `1.0`                                            | Amount of sharpening applied.                                                                                                                  |
| `grain`                      | `decimal` | Optional           | `0.0` to `0.1`                                             | Adds grain after processing.                                                                                                                   |
| `grainSigma`                 | `decimal` | Optional           | `0.0` to `1.0`                                             | Grain granularity.                                                                                                                             |
| `grainSize`                  | `decimal` | Optional           | `0.0` to `5.0`                                             | Size of generated grain.                                                                                                                       |
| `grainType`                  | `string`  | Optional           | `"silver_rich"`, `"gaussian"`, `"grey"`                    | Type of grain.                                                                                                                                 |
| `recoverOriginalDetailValue` | `decimal` | Optional           | `0.0` to `1.0`                                             | Reintroduces source detail into the output.                                                                                                    |

For the shared video pipeline parameters (`source`, `output`, encoders and profiles), reference the Denoising intent page. The full set of accepted parameters is also available in our API Reference page.

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

### Pricing

**Estimated Credits at 30 fps**

| Input → Output | Step | Billed size | 10 s | 1 min | 5 min | 10 min |
| -------------- | ---- | ----------- | ---- | ----- | ----- | ------ |
| 1080p → 1080p  | 1×   | 1920×1080   | 2    | 8     | 37    | 73     |
| 540p → 1080p   | 2×   | 1920×1080   | 2    | 8     | 37    | 73     |
| 720p → 1080p   | 2×   | 2560×1440   | 3    | 13    | 65    | 129    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 2×   | 2560×1440   | 3    | 13    | 65    | 129    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Nyx's largest step is 2×. Scales up to 1.2 bill as 1×, and anything above 1.2 bills as 2×.

{% hint style="info" %}
See the 'Upscaling' section in [Video Pricing](https://developer.topazlabs.com/getting-started/model-pricing/video-models.md#upscaling) for a full breakdown with code examples, or use the [Credit Calculator](https://developer.topazlabs.com/credit-calculator) for a quote on a specific file.
{% 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": "nyx-3", "auto": "Relative", "noise": 0.3 } ],
    "output": { "resolution": { "width": 1920, "height": 1080 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "nyx-3",
      "auto": "Relative",
      "noise": 0.3
    }
  ],
  "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': 'nyx-3', 'auto': 'Relative', 'noise': 0.3}],
 '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

Nyx runs at 1× or 2×. To denoise and upscale further in one request, add an upscaling model as a second entry in `filters`.

### 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/denoising/nyx.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.
