> This is part 1 of 2 of the full documentation (pages 1–100 of 190).
> The content is paginated: fetch every part to see all of it.
> Next part: https://developer.topazlabs.com/llms-full.txt/1
> Page index: https://developer.topazlabs.com/llms.txt

# 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
This site has an agentic ask interface you may use to query the documentation dynamically 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/index.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.

---

# Overview

Everything you need to integrate with Topaz Labs models. From first API call to production.

<button type="button" class="button primary" data-action="search" data-icon="magnifying-glass">Search…</button>

<a href="/getting-started/model-selection" class="button secondary" data-icon="gear">Model Selection</a><a href="/getting-started/api-key" class="button secondary" data-icon="key">Get API Key</a><a href="https://developer.topazlabs.com/reference/" class="button secondary" data-icon="brackets-curly">API Reference</a>

### Popular Models

Get started with one of our top upscaling models.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Video</a> <a class="button primary medium">New</a></td><td><h4><strong>Starlight Precise 2.6</strong></h4></td><td>Our highest-quality video model.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/generative/starlight-precise-2.6">Starlight Precise 2.6</a></td></tr><tr><td><a class="button secondary medium">Video</a> <a class="button primary medium">New</a></td><td><h4><strong>Starlight Fast 3</strong></h4></td><td>Generative quality at production speed.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/generative/starlight-fast-3">Starlight Fast 3</a></td></tr><tr><td><a class="button secondary medium">Video</a> <a class="button primary medium">New</a></td><td><h4><strong>Hyperion 2.5</strong></h4></td><td>Turn SDR into stunning HDR.</td><td></td><td><a href="/video-models/other-utilities/hyperion-2.5">Hyperion 2.5</a></td></tr><tr><td><a class="button secondary medium">Video</a></td><td><h4><strong>Proteus</strong></h4></td><td>The trusted workhorse for any footage.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/precision/proteus">Proteus</a></td></tr></tbody></table>

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Image</a> <a class="button primary medium">New</a></td><td><h4><strong>Wonder 4</strong></h4></td><td>One pass. Every fix. Sharper, cleaner, bigger.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/generative/wonder-4">Wonder 4</a></td></tr><tr><td><a class="button secondary medium">Image</a> <a class="button primary medium">New</a></td><td><h4><strong>Bloom 2</strong></h4></td><td>Transform AI-generated artwork, illustrations, and CG with new creative detail.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/creative/bloom-2">Bloom 2</a></td></tr><tr><td><a class="button secondary medium">Image</a></td><td><h4><strong>Denoise Max</strong></h4></td><td>Clean shots from the darkest, noisiest scenes.</td><td></td><td><a href="/image-models/denoising/denoise-max">Denoise Max</a></td></tr><tr><td><a class="button secondary medium">Image</a></td><td><h4><strong>Standard 2</strong></h4></td><td>Faithful upscaling, pixel for pixel.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/precision/standard-2">Standard 2</a></td></tr></tbody></table>

### Developer Journey

Follow the lifecycle or jump to what you need.

{% stepper %}
{% step %}

#### Getting Started

<a href="https://account.topazlabs.com/" class="button secondary" data-icon="user">Account Creation</a><a href="/getting-started/api-key" class="button secondary" data-icon="key">API Key Setup</a>
{% endstep %}

{% step %}

#### Model Selection

<a href="/getting-started/model-selection" class="button secondary" data-icon="gear">Model Selection</a><a href="/getting-started/model-pricing" class="button secondary" data-icon="tag">Model Pricing</a>
{% endstep %}

{% step %}

#### Building & Testing

<a href="https://playground.topazlabs.com" class="button secondary" data-icon="codepen">Model Playground</a><a href="https://developer.topazlabs.com/credit-calculator" class="button secondary" data-icon="square-root-variable">Credit Calculator</a><a href="/getting-started/request-parameters" class="button secondary" data-icon="list">Request Parameters</a><a href="https://developer.topazlabs.com/reference/" class="button secondary" data-icon="brackets-curly">API Reference</a>
{% endstep %}

{% step %}

#### Support & Community

<a href="/getting-started/faqs" class="button secondary" data-icon="circle-question">FAQs</a><a href="https://discord.gg/pUqhyZvRHD" class="button secondary" data-icon="discord">Developer Discord</a><a href="https://community.topazlabs.com/c/api/135" class="button secondary" data-icon="discourse">Community Forum</a><a href="https://status.topazlabs.com" class="button secondary" data-icon="signal">Status Page</a><a href="mailto:support@topazlabs.com" class="button secondary" data-icon="envelope">Contact Support</a><a href="mailto:enterprise@topazlabs.com" class="button secondary" data-icon="handshake">Contact Enterprise</a>
{% endstep %}
{% endstepper %}

### Keep Learning

Check out some of our other 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-stars">:stars:</i></td><td><h4>What's New</h4></td><td>Check out our latest release.</td><td><a href="/whats-new">What's New?</a></td></tr><tr><td><i class="fa-play">:play:</i></td><td><h4>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image Quickstart</a></td></tr><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="/getting-started/video-quickstart">Video Quickstart</a></td></tr></tbody></table>


# What's New?

Check out our latest release

### **Wonder 4**

<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://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FrNI7hu6WeqBBcIiMrCGn%2FWonder4_ex1-texture_slider.jpg?alt=media&amp;token=dcbfd95f-bafb-4b98-a056-8302e13e69af">Wonder4_ex1-texture_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-texture.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-output.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-texture.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-output.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Fu1ynI20dyDUh6nH5LQcP%2FWonder4_ex5-fur_slider.jpg?alt=media&amp;token=98581f32-df16-45b1-a010-e6b6eae122d6">Wonder4_ex5-fur_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-fur.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-output.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-fur.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-output.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

**Wonder 4** is our most advanced all-in-one model for enhancement and upscaling, designed to automatically improve image quality in one step without manual adjustments. From low-resolution photos to high-resolution images, Wonder 4 intelligently identifies and corrects noise, blur, compression artifacts, image damage, and facial details, while preserving natural textures.

Wonder 4 uses a new mixture-of-experts architecture trained to intelligently identify and correct multiple image problems at once. Unlike traditional models that apply the same corrections across an entire image, Wonder 4 analyzes each region independently and applies the enhancements it needs. This intelligent approach delivers superior results in a single pass, without chaining multiple models.

What's new in Wonder 4:

* **More fixes in one pass.** Wonder 4 handles upscaling, noise, blur, compression artifacts, image damage and faces together in a single step.
* **Region-aware processing.** A new mixture-of-experts architecture analyzes each region of the image separately and applies only the corrections that region needs.
* **Higher quality.** Results improve on Wonder 3.5 and are more cohesive than chaining several specialized models, while keeping natural textures and detail.
* **No settings.** Wonder 3.5 offered Low, Medium and High strength. Wonder 4 gets there automatically.

**Bottom line:** Wonder 4 does everything Wonder 3.5 did, plus region-by-region repair in one pass. It's the new default for image enhancement.

{% hint style="warning" %}
Wonder 4 replaces Wonder 3.5, which now falls under our "Legacy" models. For more information and to access Wonder 3.5, visit our [Model Deprecations](/resources/model-deprecations) page.
{% endhint %}

#### When to Choose Another Model

Since Wonder 4 is our best all-around image upscaling model, handling mild cases of issues like noise and blur, we recommend it as the general-purpose option for users who want to submit requests and get reliable outputs without spending time choosing between models. However, we still recommend [Denoise Max](/image-models/denoising/denoise-max) for cases of extreme noise and [Super Focus 3](/image-models/sharpening/super-focus-3) for cases of extreme blur.

{% hint style="success" %}
Visit the [Wonder 4](/image-models/upscaling-and-enhancement/generative/wonder-4) page for this model's endpoint, parameters, and more information.
{% endhint %}

### **Image HDR**

<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://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FJHaeVgPNRfEJJAfuW9nl%2FImageHDR_pexels-samime-eroglu-852630836-34190394_slider.jpg?alt=media&amp;token=3e8947ed-9af0-459f-90b5-cf4d4d33eb71">ImageHDR_pexels-samime-eroglu-852630836-34190394_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FGobJ5aN9Kh8hLBwrskTz%2FImageHDR_pexels-pixabay-60628_slider.jpg?alt=media&amp;token=f103937c-89f9-49c3-8251-b7532655c84d">ImageHDR_pexels-pixabay-60628_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

{% hint style="info" %}
HDR enhancements are only visible on HDR-capable displays. On standard SDR screens, the image will appear unchanged.
{% endhint %}

**Image HDR** automatically transforms standard dynamic range (SDR) images into HDR images with brighter highlights, expanded dynamic range, and more lifelike contrast. Designed for modern HDR-capable displays, the model enhances the visual impact of everyday photos without changing their original content.

Using AI, Image HDR predicts how an SDR photograph would appear in HDR and generates a gain map to expand its dynamic range. Unlike traditional image adjustments, this non-destructive approach preserves the original photograph while adding HDR information for greater brightness and tonal depth. The entire process is automatic, with no parameters or manual adjustments.

Key capabilities of Image HDR:

* **Automatic SDR-to-HDR conversion:** Expands the dynamic range of standard photographs in a single step, with no manual adjustments.
* **Non-destructive enhancement:** Uses an AI-generated gain map to add HDR information without altering the original image content.
* **Enhanced HDR appearance:** Delivers brighter highlights, greater tonal range, and more lifelike contrast on HDR-capable displays.
* **JPEG HDR output:** Creates JPEG HDR images with embedded gain maps, supporting the ISO 21496-1 standard for compatibility with Google Ultra HDR and Apple Adaptive HDR.

{% hint style="success" %}
Visit the Image HDR page for this model's endpoint, parameters, and more information.
{% endhint %}

### **Starlight Fast 3**

<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://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Ffpn2awhh2fJ7MKhuBnD5%2Fvideo19-seedance1.5pro-slf3_slider.jpg?alt=media&amp;token=3435e3dd-9da1-40c1-a40e-f8091f7548f9">video19-seedance1.5pro-slf3_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fvideo19-seedance1.5pro-slf3-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fvideo19-seedance1.5pro-slf3-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%2Fvideo19-seedance1.5pro-slf3-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fvideo19-seedance1.5pro-slf3-after.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FqR8SYHySr9CT11rls6Dk%2Fvideo38-veo3.1-slf3_slider.jpg?alt=media&amp;token=ce294f3a-095f-498b-bfbe-68f036a04674">video38-veo3.1-slf3_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fvideo38-veo3.1-slf3-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fvideo38-veo3.1-slf3-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%2Fvideo38-veo3.1-slf3-before.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fvideo38-veo3.1-slf3-after.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

{% hint style="success" %}
Visit the [Starlight Fast 3](/video-models/upscaling-and-enhancement/generative/starlight-fast-3) page for this model's endpoint, parameters, and more information.
{% endhint %}

**Starlight Fast 3** is the next generation of our Starlight Fast line. It’s a diffusion video enhancement model built for quick iteration and deadline-driven work, for both GenAI and archival footage.

It renders up to **4× faster than Starlight Precise 2.6** with comparable 4K quality. At 1080p output it processes up to 7 frames per second, so a 10-second clip finishes in under 40 seconds. It also uses **scene splitting**, which detects cuts within a clip automatically to keep results stable and consistent across scene changes.

What’s new in Starlight Fast 3:

* Up to 4× faster than Starlight Precise 2.6
* Comparable 4K output quality to Starlight Precise 2.6
* Significantly improved skin, text, and fine detail over Starlight Fast 2
* Scene splitting for better temporal stability at cuts

{% hint style="warning" %}
Starlight Fast 3 replaces Starlight Fast 2, which now falls under our "Legacy" models. For more information and to access Starlight Fast 2, visit our [Model Deprecations](/resources/model-deprecations) page.
{% endhint %}

#### How to Choose Between Starlight Models

**Start with Starlight Precise 2.6** (`slp-2.6`) when quality matters most. It's our highest-quality generative video model and produces substantially better results than our faster options. The tradeoff is speed: it runs about 4× slower than Starlight Fast 3.

**Use Starlight Fast 3** (`slf-3`) when you need generative results at volume or on a deadline. It's up to 4× faster than Precise 2.6 and costs the same per frame, with a modest step down in quality.

**Use Starlight Mini** (`slm-1`) for very old, low-quality footage. It's built specifically for degraded archival content, such as early film transfers, VHS, and low-resolution SD, and brings out detail other models can't. Starlight Mini has a slight, inherent softness that suits many archival sources. For the best results on this kind of footage, run Starlight Mini first to restore the source, then run Starlight Precise 2.6 on the result.

{% hint style="info" %}
**Starlight Fast 2** (`slf-2`) is still available at half the price of Starlight Fast 3. Starlight Fast 3 is substantially faster and higher quality, so we recommend it for all new integrations.
{% endhint %}

{% hint style="success" %}
Reference our [Upscaling & Enhancement](/video-models/upscaling-and-enhancement) page for more info on our Starlight models.
{% endhint %}

### Keep Learning

Check out some of our other 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-tag">:tag:</i></td><td><h4>Model Pricing</h4></td><td>Learn how we price our models.</td><td><a href="/getting-started/model-pricing">Model Pricing</a></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td><a href="https://developer.topazlabs.com/credit-calculator">https://developer.topazlabs.com/credit-calculator</a></td></tr></tbody></table>


# Popular Models

Check out our top-performing models

The fastest way to great results. These are the models developers reach for first. Each one handles a wide range of sources on its own. Pick the one that fits your goal and you're one request away from production-quality output.

### Video Models

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Video</a> <a class="button primary medium">New</a></td><td><h4><strong>Starlight Precise 2.6</strong></h4></td><td>Our highest-quality video model.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/generative/starlight-precise-2.6">Starlight Precise 2.6</a></td></tr><tr><td><a class="button secondary medium">Video</a> <a class="button primary medium">New</a></td><td><h4><strong>Starlight Fast 3</strong></h4></td><td>Generative quality at production speed.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/generative/starlight-fast-3">Starlight Fast 3</a></td></tr><tr><td><a class="button secondary medium">Video</a> <a class="button primary medium">New</a></td><td><h4><strong>Hyperion 2.5</strong></h4></td><td>Turn SDR into stunning HDR.</td><td></td><td><a href="/video-models/other-utilities/hyperion-2.5">Hyperion 2.5</a></td></tr><tr><td><a class="button secondary medium">Video</a></td><td><h4><strong>Proteus</strong></h4></td><td>The trusted workhorse for any footage.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/precision/proteus">Proteus</a></td></tr></tbody></table>

### Image Models

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Image</a> <a class="button primary medium">New</a></td><td><h4><strong>Wonder 4</strong></h4></td><td>One pass. Every fix. Sharper, cleaner, bigger.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/generative/wonder-4">Wonder 4</a></td></tr><tr><td><a class="button secondary medium">Image</a> <a class="button primary medium">New</a></td><td><h4><strong>Bloom 2</strong></h4></td><td>Transform AI-generated artwork, illustrations, and CG with new creative detail.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/creative/bloom-2">Bloom 2</a></td></tr><tr><td><a class="button secondary medium">Image</a></td><td><h4><strong>Denoise Max</strong></h4></td><td>Clean shots from the darkest, noisiest scenes.</td><td></td><td><a href="/image-models/denoising/denoise-max">Denoise Max</a></td></tr><tr><td><a class="button secondary medium">Image</a></td><td><h4><strong>Standard 2</strong></h4></td><td>Faithful upscaling, pixel for pixel.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/precision/standard-2">Standard 2</a></td></tr></tbody></table>

***

### Video Models

#### Starlight Precise 2.6 <a class="button secondary medium">Video</a>

**Our highest-quality video model.** Starlight Precise 2.6 uses diffusion to rebuild footage frame by frame, restoring realistic faces, skin, texture, and text that other models can't recover. It's the model to reach for when quality matters more than anything else.

* Best-in-class restoration for GenAI, archival, and heavily degraded video
* Natural faces and skin tones with stable, consistent motion
* Clearer text and finer texture detail

**Start here if** you need the best possible result.

<a href="/video-models/upscaling-and-enhancement/generative/starlight-precise-2.6" class="button primary">View Starlight Precise 2.6</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

#### Starlight Fast 3 <a class="button secondary medium">Video</a>

**Generative quality at production speed.** Starlight Fast 3 brings diffusion upscaling to high-volume pipelines. It's our fastest generative video model, up to about 4× faster than Starlight Precise 2.6, so you can deliver Starlight-class results on tight timelines and large libraries.

* Our fastest diffusion upscaler
* Built for batch processing and quick turnaround
* A big step up in detail from traditional upscaling

**Start here if** you want generative results at scale.

<a href="/video-models/upscaling-and-enhancement/generative/starlight-fast-3" class="button primary">View Starlight Fast 3</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

#### Hyperion 2.5 <a class="button secondary medium">Video</a>

**Turn SDR into stunning HDR.** Hyperion 2.5 converts standard dynamic range footage into true HDR, expanding luminance range, bit depth, and contrast so your content shines on modern HDR displays and gives colorists more room to work.

* Real HDR from existing SDR libraries
* Professional output formats for grading and VFX workflows
* Breathes new life into older content for HDR platforms

**Start here if** you're delivering HDR or need more latitude in the grade.

<a href="/video-models/other-utilities/hyperion-2.5" class="button primary">View Hyperion 2.5</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

#### Proteus <a class="button secondary medium">Video</a>

**The trusted workhorse.** Proteus upscales, denoises, and sharpens video in a single pass, and it's the go-to starting point for video on the API. It's fast, predictable, and fully controllable: let it tune itself automatically, or dial in every setting for your pipeline.

* Reliable results on almost any camera footage
* Automatic parameter estimation, with manual control when you want it
* Combines upscaling, noise reduction, and sharpening in one filter

**Start here if** you're not sure which video model to use.

<a href="/video-models/upscaling-and-enhancement/precision/proteus" class="button primary">View Proteus</a> <a href="https://playground.topazlabs.com" class="button secondary">Try it in the Playground</a>

### Image Models

#### Wonder 4 <a class="button secondary medium">Image</a>

**One pass. Every fix.** Wonder 4 upscales your image while it removes noise, recovers blur, and repairs compression, deciding on its own what each part of the image needs. Instead of chaining three or four models, you send one request and get back a sharper, cleaner, larger image with natural, believable detail.

* Finer detail and more realism than any Wonder model before it
* Biggest gains on low-resolution, compressed, and heavily degraded photos
* Crisper text, charts, and graphics
* Strong across portraits, landscapes, wildlife, and complex textures

**Start here if** you're not sure which image model to use.

<a href="/image-models/upscaling-and-enhancement/generative/wonder-4" class="button primary">View Wonder 4</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

#### Bloom 2 <a class="button secondary medium">Image</a>

**Creative detail for GenAI images.** Bloom 2 is our creative upscaler for native GenAI content: AI artwork, illustrations, and CG renders. It enhances quality while introducing new detail, texture, and visual elements, with the range to subtly refine the source or substantially reimagine it.

* Adds rich new detail and texture to AI artwork and illustrations
* Improves skin and facial detail in GenAI portraits
* Upscales CG renders with added realism
* Preserves source colors while adding detail

**Start here if** you want creative upscaling for GenAI or stylized images.

<a href="/image-models/upscaling-and-enhancement/creative/bloom-2" class="button primary">View Bloom 2</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

#### Denoise Max <a class="button secondary medium">Image</a>

**Clean images from impossible light.** Denoise Max is our most advanced denoising model, built on the same generative foundation as Wonder. It strips out heavy noise and grain, sharpens the areas that went soft, and leaves already-sharp detail alone, with far fewer artifacts than traditional noise reduction.

* Rescues high-ISO, low-light, and underexposed shots
* Sharpens soft regions without over-processing sharp ones
* Natural texture instead of the smeared, plastic look of older denoisers

**Start here if** noise is the main problem with your images.

<a href="/image-models/denoising/denoise-max" class="button primary">View Denoise Max</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

#### Standard 2 <a class="button secondary medium">Image</a>

**Bigger, and exactly the same.** Standard 2 is our precision upscaler: it increases resolution and cleans up the image without inventing a single detail that wasn't in the source. What you send is what you get back, just larger and clearer.

* Faithful to the source, pixel for pixel
* Ideal for product photography, print reproduction, and archival masters
* Clean results on graphics and imagery that will be compared side by side with the original

**Start here if** the output has to stay true to the input.

<a href="/image-models/upscaling-and-enhancement/precision/standard-2" class="button primary">View Standard 2</a> <a href="https://playground.topazlabs.com/" class="button secondary">Try it in the Playground</a>

***

### Keep Learning

Check out some of our other 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-tag">:tag:</i></td><td><h4>Model Pricing</h4></td><td>Learn how we price our models.</td><td><a href="/getting-started/model-pricing">Model Pricing</a></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td><a href="https://developer.topazlabs.com/credit-calculator">https://developer.topazlabs.com/credit-calculator</a></td></tr></tbody></table>


# API Key Setup

Learn how to set up your first API key

Every request is authenticated with an API key sent in the `X-API-Key` header.

In order to get access to the API, you'll need to [log into](http://topazlabs.com/account) your Topaz Labs account and create your unique API key. If you don't have an account, please follow the link [here](https://topazlabs.com/wp-login.php?action=register) to register.

Once you have an account, follow the below steps:

1. Log into your Topaz Labs account from our [website](https://topazlabs.com/my-account/)
2. Navigate to the **API** tab section on your account page
3. Click "Create API Key", then enter a "Key name" and other prompted information
4. Click "Create API Key" to confirm your inputted information
5. Click "Copy API Key" to copy it to your clipboard and store it in a safe place

{% hint style="warning" %}
You may only view your API key on creation, so please be sure to copy the key as it will no longer be visible to you once you exit the page. If you lose your key, you may log into your account portal to manage your existing keys and generate new ones.
{% endhint %}

### Storing Your API Key

```bash
export TOPAZ_API_KEY="PASTE_YOUR_API_KEY_HERE"
```

### Next Steps

<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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image Quickstart</a></td></tr><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="/getting-started/video-quickstart">Video Quickstart</a></td></tr></tbody></table>


# Image Quickstart

Get started with our Image API

Before we proceed, you need to create an [API key](https://account.topazlabs.com/manage-api).

This key will be used to authenticate your requests to the Topaz Labs API.

<details>

<summary>How do I get my API key?</summary>

In order to get access to the API, you'll need to [log into](http://topazlabs.com/account) your Topaz Labs account and create your unique API key. If you don't have an account, please follow the link [here](https://topazlabs.com/wp-login.php?action=register) to register.

Once you have an account, follow the below steps:

1. Log into your Topaz Labs account from our [website](https://topazlabs.com/my-account/)
2. Navigate to the **API** tab section on your account page
3. Click "Create API Key", then enter a "Key name" and other prompted information
4. Click "Create API Key" to confirm your inputted information
5. Click "Copy API Key" to copy it to your clipboard and store it in a safe place

{% hint style="warning" %}
You may only view your API key on creation, so please be sure to copy the key as it will no longer be visible to you once you exit the page. If you lose your key, you may log into your account portal to manage your existing keys and generate new ones.
{% endhint %}

</details>

Now, proceed with the below steps.

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

```javascript
npm install form-data
```

{% endtab %}

{% tab title="Python" %}

```python
pip install requests
```

{% endtab %}
{% endtabs %}

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

```javascript
export TOPAZ_API_KEY="PASTE_YOUR_API_KEY_HERE"
```

{% endtab %}

{% tab title="Python" %}

```python
export TOPAZ_API_KEY="PASTE_YOUR_API_KEY_HERE"
```

{% endtab %}
{% endtabs %}

Now you can call the [Enhance Generative endpoint](https://developer.topazlabs.com/reference/image/enhance/enhance-generative):

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

```javascript
import fs from 'fs';
import FormData from 'form-data';

const API_KEY = process.env.TOPAZ_API_KEY;
const HEADERS = { 'X-API-KEY': API_KEY };
const IMAGE_BASE = 'https://api.topazlabs.com/image/v1';

// Submit the job
const form = new FormData();
form.append('model', 'Wonder 3.5');
form.append('output_format', 'jpeg');
form.append('image', fs.createReadStream('photo.jpg'));

const response = await fetch(`${IMAGE_BASE}/enhance-gen/async`, {
  method: 'POST',
  headers: { ...HEADERS, ...form.getHeaders() },
  body: form,
});
const { process_id } = await response.json();

// Poll for completion
let status;
do {
  await new Promise(resolve => setTimeout(resolve, 2000));
  const statusRes = await fetch(`${IMAGE_BASE}/status/${process_id}`, {
    headers: HEADERS,
  });
  ({ status } = await statusRes.json());
  console.log(`Status: ${status}`);
  if (status === 'Failed' || status === 'Cancelled') {
    throw new Error(`Job ended with status: ${status}`);
  }
} while (status !== 'Completed');

// Download the result
const downloadRes = await fetch(`${IMAGE_BASE}/download/${process_id}`, {
  headers: HEADERS,
});
const { download_url } = await downloadRes.json();
console.log(`Download your image: ${download_url}`);
```

{% endtab %}

{% tab title="Python" %}

```python
import os
import time
import requests

API_KEY = os.environ["TOPAZ_API_KEY"]
HEADERS = {"X-API-KEY": API_KEY}
IMAGE_BASE = "https://api.topazlabs.com/image/v1"

# Submit the job
response = requests.post(
    f"{IMAGE_BASE}/enhance-gen/async",
    headers=HEADERS,
    data={
        "model": "Wonder 3.5",
        "output_format": "jpeg"
    },
    files={"image": open("photo.jpg", "rb")}
)
process_id = response.json()["process_id"]

# Poll for completion
while True:
    status = requests.get(
        f"{IMAGE_BASE}/status/{process_id}",
        headers=HEADERS
    ).json()["status"]

    print(f"Status: {status}")
    if status == "Completed":
        break
    elif status in ("Failed", "Cancelled"):
        raise Exception(f"Job ended with status: {status}")
    time.sleep(2)

# Download the result
download_url = requests.get(
    f"{IMAGE_BASE}/download/{process_id}",
    headers=HEADERS
).json()["download_url"]

print(f"Download your image: {download_url}")
```

{% endtab %}

{% tab title="cURL" %}

```bash
IMAGE_BASE="https://api.topazlabs.com/image/v1"

# Submit the job
response=$(curl --silent --fail-with-body \
  --request POST "$IMAGE_BASE/enhance-gen/async" \
  --header "X-API-KEY: $TOPAZ_API_KEY" \
  --form "model=Wonder 3.5" \
  --form "output_format=jpeg" \
  --form "image=@photo.jpg")

process_id=$(printf '%s' "$response" | jq -r '.process_id')

# Poll for completion
while true; do
  status=$(curl --silent --fail-with-body \
    --header "X-API-KEY: $TOPAZ_API_KEY" \
    "$IMAGE_BASE/status/$process_id" | jq -r '.status')

  echo "Status: $status"
  if [ "$status" = "Completed" ]; then
    break
  elif [ "$status" = "Failed" ] || [ "$status" = "Cancelled" ]; then
    echo "Job ended with status: $status" >&2
    exit 1
  fi
  sleep 2
done

# Download the result
download_url=$(curl --silent --fail-with-body \
  --header "X-API-KEY: $TOPAZ_API_KEY" \
  "$IMAGE_BASE/download/$process_id" | jq -r '.download_url')

echo "Download your image: $download_url"
```

{% endtab %}
{% endtabs %}

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Image | Generative</a></td><td><h4>Wonder 4</h4></td><td>Upscale degraded or compressed photos with realistic detail, precise text, and clean graphics.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/generative/wonder-4">Wonder 4</a></td></tr><tr><td><a class="button secondary medium">Image | Creative</a></td><td><h4>Bloom 2</h4></td><td>Transform AI-generated artwork, illustrations, and CG with new creative detail.</td><td></td><td><a href="/image-models/upscaling-and-enhancement/creative/bloom-2">Bloom 2</a></td></tr></tbody></table>

Once you find a model that you want to use in our "Models" tab, you can grab the URL from the model's dedicated page. Individual model pages also provide some important information about the model including use cases and examples of how you can call it.

Check out our [Model Playground](https://playground.topazlabs.com/) to tinker with these models and let us know your feedback and questions on our [Developer Discord](https://discord.gg/pUqhyZvRHD).

<details>

<summary>How do I make an API call from the Model Playground?</summary>

<figure><img src="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FOkn9w1ictjQN1DOGOys7%2FScreen%20Recording%20Jul%2015%202025%20from%20Topaz%20Labs.gif?alt=media&amp;token=de2207ed-75b8-4862-9386-a5ef447fe0d7" alt=""><figcaption></figcaption></figure>

It's now easier more than ever to create and send your first API request. Once you have a Topaz Labs account and you have created your first API key, navigate over to our [Model Playground](https://playground.topazlabs.com/) to better understand how to build requests. Please see the walkthrough above for an example of an image being upscaled with our Enhance Synchronous endpoint on the Image API.

</details>

### More Information

<details>

<summary>API Restrictions</summary>

* The API has access rate limits depending on the current load on the servers. If you receive a HTTP 429 response, please try again (soon). We recommend using an exponential backoff for the requests to avoid immediately hitting the limit again.
* The API only responds to HTTPS-secured communications. Any requests sent via HTTP return an HTTP 301 redirect to the corresponding HTTPS resources.
* The API enforces a request size limit of 500MB. If a request exceeds this limit, the server responds with an HTTP 413. Please ensure that requests stay within the size constraint to avoid this error.

</details>

Please reach out to <help@topazlabs.com> with any questions.

### Next Steps

<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-cube">:cube:</i></td><td><h4>Model Selection</h4></td><td>Find the best model for your use case.</td><td><a href="/getting-started/model-selection">Model Selection</a></td></tr></tbody></table>


# Video Quickstart

Get started with our Video API

Before we proceed, you need to create an [API key](https://account.topazlabs.com/manage-api).

This key will be used to authenticate your requests to the Topaz Labs API.

<details>

<summary>How do I get my API key?</summary>

In order to get access to the API, you'll need to [log into](http://topazlabs.com/account) your Topaz Labs account and create your unique API key. If you don't have an account, please follow the link [here](https://topazlabs.com/wp-login.php?action=register) to register.

Once you have an account, follow the below steps:

1. Log into your Topaz Labs account from our [website](https://topazlabs.com/my-account/)
2. Navigate to the **API** tab section on your account page
3. Click "Create API Key", then enter a "Key name" and other prompted information
4. Click "Create API Key" to confirm your inputted information
5. Click "Copy API Key" to copy it to your clipboard and store it in a safe place

{% hint style="warning" %}
You may only view your API key on creation, so please be sure to copy the key as it will no longer be visible to you once you exit the page. If you lose your key, you may log into your account portal to manage your existing keys and generate new ones.
{% endhint %}

</details>

Now, proceed with the below steps.

{% stepper %}
{% step %}

### Create Video Request

Create a video request—just include some details about the source video, output parameters, and desired enhancements.

{% hint style="info" %}
Visit out [API Reference](https://developer.topazlabs.com/reference/) page for up-to-date functionality. This endpoint is free to use.
{% endhint %}

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

```bash
curl --request POST \
     --url https://api.topazlabs.com/video/ \
     --header 'X-API-Key: Your-API-Key' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
     {
          "source": {
               "resolution": {
                    "width": 800,
                    "height": 448
               },
               "container": "mp4",
               "size": 477010,
               "duration": 4,
               "frameRate": 24,
               "frameCount": 97
          },
          "output": {
               "resolution": {
                    "width": 800,
                    "height": 448
               },
               "audioCodec": "AAC",
               "audioTransfer": "Copy",
               "frameRate": 24,
               "dynamicCompressionLevel": "High",
               "container": "mp4"
          },
          "filters": [ {
               "model": "prob-4",
               "auto": "Auto"
               } ]
     }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch('https://api.topazlabs.com/video/', {
  method: 'POST',
  headers: {
    'X-API-Key': 'Your-API-Key',
    accept: 'application/json',
    'content-type': 'application/json',
  },
  body: JSON.stringify({
    source: {
      resolution: { width: 800, height: 448 },
      container: 'mp4',
      size: 477010,
      duration: 4,
      frameRate: 24,
      frameCount: 97,
    },
    output: {
      resolution: { width: 800, height: 448 },
      audioCodec: 'AAC',
      audioTransfer: 'Copy',
      frameRate: 24,
      dynamicCompressionLevel: 'High',
      container: 'mp4',
    },
    filters: [{
      model: 'prob-4',
      auto: 'Auto',
    }],
  }),
});

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

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://api.topazlabs.com/video/",
    headers={
        "X-API-Key": "Your-API-Key",
        "accept": "application/json"
    },
    json={
        "source": {
            "resolution": {"width": 800, "height": 448},
            "container": "mp4",
            "size": 477010,
            "duration": 4,
            "frameRate": 24,
            "frameCount": 97
        },
        "output": {
            "resolution": {"width": 800, "height": 448},
            "audioCodec": "AAC",
            "audioTransfer": "Copy",
            "frameRate": 24,
            "dynamicCompressionLevel": "High",
            "container": "mp4"
        },
        "filters": [{
            "model": "prob-4",
            "auto": "Auto"
        }]
    }
)

print(response.json())
```

{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Accept & Upload Video Request

After submitting the video request, you can choose to continue by calling this endpoint.

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

```bash
curl --request PATCH \
     --url https://api.topazlabs.com/video/[your-requestID]/accept \
     --header 'X-API-Key: Your-API-Key' \
     --header 'accept: application/json'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch(
  'https://api.topazlabs.com/video/[your-requestID]/accept',
  {
    method: 'PATCH',
    headers: {
      'X-API-Key': 'Your-API-Key',
      accept: 'application/json',
    },
  },
);

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

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.patch(
    "https://api.topazlabs.com/video/[your-requestID]/accept",
    headers={
        "X-API-Key": "Your-API-Key",
        "accept": "application/json"
    }
)

print(response.json())
```

{% endtab %}
{% endtabs %}

Once this endpoint is called, you will receive a set of URL(s). You may use the following code snippet to upload the video to that link from your local device.

{% hint style="info" %}
In this example, we will upload the entire video file to a single URL due to its small file size.
{% endhint %}

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

```bash
S3_UPLOAD_URL=[https://...]

curl --verbose --request PUT \
     --upload-file "Your-Video-File" \
     --header "Content-Type: video/mp4" \
     "$S3_UPLOAD_URL"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';

const response = await fetch('https://...', {
  method: 'PUT',
  headers: { 'Content-Type': 'video/mp4' },
  body: fs.createReadStream('Your-Video-File'),
  duplex: 'half',
});

console.log(`eTag: ${response.headers.get('etag')}`);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

with open("Your-Video-File", "rb") as video:
    response = requests.put(
        "https://...",
        headers={"Content-Type": "video/mp4"},
        data=video
    )

print(f"eTag: {response.headers.get('ETag')}")
```

{% endtab %}
{% endtabs %}

Once uploaded, you'll receive some information about your upload, including your *eTag* number. This will be useful for the next step.
{% endstep %}

{% step %}

### Complete Video Upload

After you have finished uploading your video segments, you may use the following request to confirm that all of your video segments have been received. Once this endpoint is called, you video will begin processing with its enhancements.

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

```bash
curl --request PATCH \
     --url https://api.topazlabs.com/video/[your-requestID]/complete-upload \
     --header 'X-API-Key: Your-API-Key' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{
       "uploadResults": [
         {
           "partNum": 1,
           "eTag": "your-eTag"
         }
       ]
     }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch(
  'https://api.topazlabs.com/video/[your-requestID]/complete-upload',
  {
    method: 'PATCH',
    headers: {
      'X-API-Key': 'Your-API-Key',
      accept: 'application/json',
      'content-type': 'application/json',
    },
    body: JSON.stringify({
      uploadResults: [{
        partNum: 1,
        eTag: 'your-eTag',
      }],
    }),
  },
);

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

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.patch(
    "https://api.topazlabs.com/video/[your-requestID]/complete-upload",
    headers={
        "X-API-Key": "Your-API-Key",
        "accept": "application/json"
    },
    json={
        "uploadResults": [{
            "partNum": 1,
            "eTag": "your-eTag"
        }]
    }
)

print(response.json())
```

{% endtab %}
{% endtabs %}

You should receive a response confirming that your request is queued for processing once you have called the endpoint.
{% endstep %}

{% step %}

### Get Video Status

You may use the following request to view the status of your video request

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

```bash
curl --request GET \
     --url https://api.topazlabs.com/video/[your-requestID]/status \
     --header 'X-API-Key: Your-API-Key' \
     --header 'accept: application/json'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch(
  'https://api.topazlabs.com/video/[your-requestID]/status',
  {
    headers: {
      'X-API-Key': 'Your-API-Key',
      accept: 'application/json',
    },
  },
);

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

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get(
    "https://api.topazlabs.com/video/[your-requestID]/status",
    headers={
        "X-API-Key": "Your-API-Key",
        "accept": "application/json"
    }
)

print(response.json())
```

{% endtab %}
{% endtabs %}

Once your video has finished processing, you will receive a link to download your video as a response to this endpoint.
{% endstep %}
{% endstepper %}

## Complete Programmatic Example

The examples below run the same complete workflow programmatically: create the request, accept it, upload the source video, complete the upload, poll until processing finishes, and download the result. They use a single upload URL for this small example. The cURL example also requires `jq`.

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

```bash
VIDEO_BASE="https://api.topazlabs.com/video"
INPUT_FILE="input.mp4"
OUTPUT_FILE="output.mp4"

# Create the request
request=$(curl --silent --fail-with-body \
  --request POST "$VIDEO_BASE/" \
  --header "X-API-Key: $TOPAZ_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "source": {
      "resolution": {
        "width": 800,
        "height": 448
      },
      "container": "mp4",
      "size": 477010,
      "duration": 4,
      "frameRate": 24,
      "frameCount": 97
    },
    "filters": [{
      "model": "prob-4",
      "auto": "Auto"
    }],
    "output": {
      "resolution": {
        "width": 1600,
        "height": 896
      },
      "audioTransfer": "Copy",
      "audioCodec": "AAC",
      "frameRate": 24,
      "dynamicCompressionLevel": "High",
      "container": "mp4"
    }
  }')

request_id=$(printf '%s' "$request" | jq -r '.requestId')

# Accept the request and get the upload URL
accepted=$(curl --silent --fail-with-body \
  --request PATCH "$VIDEO_BASE/$request_id/accept" \
  --header "X-API-Key: $TOPAZ_API_KEY")
upload_url=$(printf '%s' "$accepted" | jq -r '.urls[0]')

# Upload the source video
etag=$(curl --silent --show-error --fail-with-body \
  --request PUT \
  --upload-file "$INPUT_FILE" \
  --header "Content-Type: video/mp4" \
  --dump-header - \
  --output /dev/null \
  "$upload_url" |
  awk 'tolower($1) == "etag:" { gsub("\r", "", $2); print $2 }')

# Complete the upload
complete_body=$(jq -n --arg etag "$etag" \
  '{uploadResults: [{partNum: 1, eTag: $etag}]}')
curl --silent --show-error --fail-with-body \
  --request PATCH "$VIDEO_BASE/$request_id/complete-upload/" \
  --header "X-API-Key: $TOPAZ_API_KEY" \
  --header "Content-Type: application/json" \
  --data "$complete_body"

# Poll until processing finishes
while true; do
  status_response=$(curl --silent --fail-with-body \
    --header "X-API-Key: $TOPAZ_API_KEY" \
    "$VIDEO_BASE/$request_id/status")
  status=$(printf '%s' "$status_response" | jq -r '.status | ascii_downcase')
  echo "Status: $status"

  case "$status" in
    complete)
      download_url=$(printf '%s' "$status_response" | jq -r '.download.url')
      break
      ;;
    failed|canceled|cancelled)
      printf '%s\n' "$status_response" >&2
      exit 1
      ;;
  esac

  sleep 5
done

# Download the processed video
curl --silent --show-error --fail-with-body \
  --location "$download_url" \
  --output "$OUTPUT_FILE"

echo "Saved $OUTPUT_FILE"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'node:fs';
import { Readable } from 'node:stream';
import { pipeline } from 'node:stream/promises';

const API_KEY = process.env.TOPAZ_API_KEY;
const VIDEO_BASE = 'https://api.topazlabs.com/video';
const INPUT_FILE = 'input.mp4';
const OUTPUT_FILE = 'output.mp4';
const HEADERS = { 'X-API-Key': API_KEY };

async function jsonOrThrow(response) {
  if (!response.ok) {
    throw new Error(`${response.status}: ${await response.text()}`);
  }
  return response.json();
}

// Create the request
const request = await jsonOrThrow(await fetch(`${VIDEO_BASE}/`, {
  method: 'POST',
  headers: {
    ...HEADERS,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    source: {
      resolution: {
        width: 800,
        height: 448,
      },
      container: 'mp4',
      size: 477010,
      duration: 4,
      frameRate: 24,
      frameCount: 97,
    },
    filters: [{
      model: 'prob-4',
      auto: 'Auto',
    }],
    output: {
      resolution: {
        width: 1600,
        height: 896,
      },
      audioTransfer: 'Copy',
      audioCodec: 'AAC',
      frameRate: 24,
      dynamicCompressionLevel: 'High',
      container: 'mp4',
    },
  }),
}));

const requestId = request.requestId;

// Accept the request and get the upload URL
const accepted = await jsonOrThrow(await fetch(
  `${VIDEO_BASE}/${requestId}/accept`,
  {
    method: 'PATCH',
    headers: HEADERS,
  },
));
const uploadUrl = accepted.urls[0];

// Upload the source video
const uploadResponse = await fetch(uploadUrl, {
  method: 'PUT',
  headers: { 'Content-Type': 'video/mp4' },
  body: fs.createReadStream(INPUT_FILE),
  duplex: 'half',
});
if (!uploadResponse.ok) {
  throw new Error(`Upload failed: ${uploadResponse.status}`);
}
const eTag = uploadResponse.headers.get('etag');
if (!eTag) {
  throw new Error('Upload response did not include an eTag');
}

// Complete the upload
const completeResponse = await fetch(
  `${VIDEO_BASE}/${requestId}/complete-upload/`,
  {
    method: 'PATCH',
    headers: {
      ...HEADERS,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      uploadResults: [{
        partNum: 1,
        eTag,
      }],
    }),
  },
);
if (!completeResponse.ok) {
  throw new Error(
    `${completeResponse.status}: ${await completeResponse.text()}`,
  );
}

// Poll until processing finishes
let downloadUrl;
while (!downloadUrl) {
  await new Promise(resolve => setTimeout(resolve, 5000));
  const result = await jsonOrThrow(await fetch(
    `${VIDEO_BASE}/${requestId}/status`,
    { headers: HEADERS },
  ));
  const status = result.status.toLowerCase();
  console.log(`Status: ${status}`);

  if (status === 'complete') {
    downloadUrl = result.download.url;
  } else if (['failed', 'canceled', 'cancelled'].includes(status)) {
    throw new Error(`Processing ${status}: ${JSON.stringify(result)}`);
  }
}

// Download the processed video
const downloadResponse = await fetch(downloadUrl);
if (!downloadResponse.ok || !downloadResponse.body) {
  throw new Error(`Download failed: ${downloadResponse.status}`);
}
await pipeline(
  Readable.fromWeb(downloadResponse.body),
  fs.createWriteStream(OUTPUT_FILE),
);

console.log(`Saved ${OUTPUT_FILE}`);
```

{% endtab %}

{% tab title="Python" %}

```python
import os
import time
import requests

API_KEY = os.environ["TOPAZ_API_KEY"]
VIDEO_BASE = "https://api.topazlabs.com/video"
INPUT_FILE = "input.mp4"
OUTPUT_FILE = "output.mp4"
HEADERS = {"X-API-Key": API_KEY}

# Create the request
response = requests.post(
    f"{VIDEO_BASE}/",
    headers=HEADERS,
    json={
        "source": {
            "resolution": {
                "width": 800,
                "height": 448
            },
            "container": "mp4",
            "size": 477010,
            "duration": 4,
            "frameRate": 24,
            "frameCount": 97
        },
        "filters": [{
            "model": "prob-4",
            "auto": "Auto"
        }],
        "output": {
            "resolution": {
                "width": 1600,
                "height": 896
            },
            "audioTransfer": "Copy",
            "audioCodec": "AAC",
            "frameRate": 24,
            "dynamicCompressionLevel": "High",
            "container": "mp4"
        }
    }
)
response.raise_for_status()
request = response.json()
request_id = request["requestId"]

# Accept the request and get the upload URL
accept_response = requests.patch(
    f"{VIDEO_BASE}/{request_id}/accept",
    headers=HEADERS
)
accept_response.raise_for_status()
upload_url = accept_response.json()["urls"][0]

# Upload the source video
with open(INPUT_FILE, "rb") as video:
    upload_response = requests.put(
        upload_url,
        headers={"Content-Type": "video/mp4"},
        data=video
    )
upload_response.raise_for_status()
e_tag = upload_response.headers["ETag"]

# Complete the upload
complete_response = requests.patch(
    f"{VIDEO_BASE}/{request_id}/complete-upload/",
    headers=HEADERS,
    json={
        "uploadResults": [{
            "partNum": 1,
            "eTag": e_tag
        }]
    }
)
complete_response.raise_for_status()

# Poll until processing finishes
while True:
    time.sleep(5)
    status_response = requests.get(
        f"{VIDEO_BASE}/{request_id}/status",
        headers=HEADERS
    )
    status_response.raise_for_status()
    result = status_response.json()
    status = result["status"].lower()
    print(f"Status: {status}")

    if status == "complete":
        download_url = result["download"]["url"]
        break
    if status in ("failed", "canceled", "cancelled"):
        raise RuntimeError(f"Processing {status}: {result}")

# Download the processed video
with requests.get(download_url, stream=True) as download_response:
    download_response.raise_for_status()
    with open(OUTPUT_FILE, "wb") as output:
        for chunk in download_response.iter_content(chunk_size=1024 * 1024):
            output.write(chunk)

print(f"Saved {OUTPUT_FILE}")
```

{% endtab %}
{% endtabs %}

Congratulations! You have just completed your first Video API request! 🎉

We have now made popular video models such as Starlight Precise 2.6 and Astra 2 available as ready-to-use APIs so that you can easily integrate them into your applications.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Video | Generative</a></td><td><h4>Starlight Precise 2.6</h4></td><td>Upscale AI-generated and archival video to 4K with realistic faces, textures, and text.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/generative/starlight-precise-2.6">Starlight Precise 2.6</a></td></tr><tr><td><a class="button secondary medium">Video | Creative</a></td><td><h4>Astra 2</h4></td><td>Transform AI-generated and stylized video with bold new detail and prompt-guided direction.</td><td></td><td><a href="/video-models/upscaling-and-enhancement/creative/astra-2">Astra 2</a></td></tr></tbody></table>

Once you find a model that you want to use in our "Models" tab, you can grab the URL from the model's dedicated page. Individual model pages also provide some important information about the model including use cases and examples of how you can call it.

Check out our [Model Playground](https://playground.topazlabs.com/) to tinker with these models and let us know your feedback and questions on our [Developer Discord](https://discord.gg/pUqhyZvRHD).

<details>

<summary>How do I make an API call from the API Playground?</summary>

<figure><img src="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FOkn9w1ictjQN1DOGOys7%2FScreen%20Recording%20Jul%2015%202025%20from%20Topaz%20Labs.gif?alt=media&amp;token=de2207ed-75b8-4862-9386-a5ef447fe0d7" alt=""><figcaption></figcaption></figure>

It's now easier more than ever to create and send your first API request. Once you have a Topaz Labs account and you have created your first API key, navigate over to our [API Playground](https://playground.topazlabs.com/) to better understand how to build requests. Please see the walkthrough above for an example of an image being upscaled with our Enhance Synchronous endpoint on the Image API.

</details>

### More Information

<details>

<summary>API Restrictions</summary>

* The API has access rate limits depending on the current load on the servers. If you receive a HTTP 429 response, please try again (soon). We recommend using an exponential backoff for the requests to avoid immediately hitting the limit again.
* The API only responds to HTTPS-secured communications. Any requests sent via HTTP return an HTTP 301 redirect to the corresponding HTTPS resources.
* The API enforces a request size limit of 500MB. If a request exceeds this limit, the server responds with an HTTP 413. Please ensure that requests stay within the size constraint to avoid this error.

</details>

Please reach out to <help@topazlabs.com> with any questions.

### Next Steps

<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-cube">:cube:</i></td><td><h4>Model Selection</h4></td><td>Find the best model for your use case.</td><td><a href="/getting-started/model-selection">Model Selection</a></td></tr></tbody></table>


# Model Selection

Select the best model for your use case

Models are organized by what they do. In the sidebar, locate **Image Models** or **Video Models** and choose the family that matches your goal, such as Upscaling, Denoising, or Sharpening. Each family page lists every model in it, with a short description of when to use each one.

{% hint style="success" %}
**Not sure where to start?** Use **Wonder 4** for images and **Starlight Precise 2.6** for video. These are our top generative upscaling models for image and video. Both handle a wide range of sources well, and you can switch to a more specialized model if the result calls for it. See [Popular Models](/popular-models) for our top picks.
{% endhint %}

### Image Models

<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><strong>Upscaling &#x26; Enhancement</strong></td><td>Increase resolution and recover detail.</td><td>Start with <strong>Wonder 4</strong>, or <strong>Standard 2</strong> for more faithful-to-the-original upscaling.</td><td><a href="/image-models/upscaling-and-enhancement">Upscaling &amp; Enhancement</a></td></tr><tr><td><strong>Denoising</strong></td><td>Remove noise and grain.</td><td>Start with <strong>Denoise Max</strong>.</td><td><a href="/image-models/denoising">Denoising</a></td></tr><tr><td><strong>Sharpening</strong></td><td>Fix blur and soft focus.</td><td>Start with <strong>Super Focus 3.</strong></td><td><a href="/image-models/sharpening">Sharpening</a></td></tr><tr><td><strong>Removal &#x26; Cleanup</strong></td><td>Remove backgrounds, dust, and scratches.</td><td>See the family page.</td><td><a href="/image-models/removal-and-cleanup">Removal &amp; Cleanup</a></td></tr><tr><td><strong>Color, Lighting &#x26; HDR</strong></td><td>Correct exposure, white balance, and color.</td><td>Start with <strong>Adjust Lighting 2</strong>.</td><td><a href="/image-models/color-and-lighting">Color, Lighting, &amp; HDR</a></td></tr></tbody></table>

### Video Models

<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><strong>Upscaling &#x26; Enhancement</strong></td><td>Increase resolution and restore footage.</td><td>Start with <strong>Starlight Precise 2.6</strong>, or <strong>Proteus</strong> for more faithful-to-the-original upscaling.</td><td><a href="/video-models/upscaling-and-enhancement">Upscaling &amp; Enhancement</a></td></tr><tr><td><strong>Denoising</strong></td><td>Remove noise and grain.</td><td>Start with <strong>Nyx</strong>.</td><td><a href="/video-models/denoising">Denoising</a></td></tr><tr><td><strong>Frame Interpolation</strong></td><td>Create slow motion and change frame rates.</td><td>Start with <strong>Apollo</strong>.</td><td><a href="/video-models/frame-interpolation">Frame Interpolation</a></td></tr><tr><td><strong>Video Utilities &#x26; HDR</strong></td><td>Motion deblur and other specialized fixes.</td><td>See the family page.</td><td><a href="/video-models/other-utilities">Video Utilities &amp; HDR</a></td></tr></tbody></table>

### Combining Models

You can run more than one model on the same file. For images, send the output of one request as the input to the next, for example **Denoise Max** followed by **Wonder 4** for a very noisy photo that also needs upscaling. For video, add several models to the `filters` array of a single request, for example **Proteus** followed by **Apollo** for a video that needs upscaling, where you'd also like to adjust the fps value.

#### Image Example: Denoise Max + Wonder 4

Run **Denoise Max** first, then pass the `download_url` from `GET /image/v1/download/{process_id}` as `source_url` in the **Wonder 4** request.

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

```bash
# 1. Denoise the image with Denoise Max
curl -X POST "https://api.topazlabs.com/image/v1/denoise-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@noisy-photo.jpg" \
  -F "model=Denoise Max" \
  -F "strength=0.8" \
  -F "output_format=png"

# Poll GET /image/v1/status/{process_id} until Completed,
# then fetch download_url from GET /image/v1/download/{process_id}.

# 2. Upscale the denoised output with Wonder 4 using source_url
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "source_url=$DENOISED_DOWNLOAD_URL" \
  -F "model=Wonder 4" \
  -F "output_width=1280"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const HEADERS = { 'X-API-Key': process.env.TOPAZ_API_KEY };
const IMAGE_BASE = 'https://api.topazlabs.com/image/v1';

// 1. Denoise the image with Denoise Max
const denoiseForm = new FormData();
denoiseForm.append('image', fs.createReadStream('noisy-photo.jpg'));
denoiseForm.append('model', 'Denoise Max');
denoiseForm.append('strength', '0.8');
denoiseForm.append('output_format', 'png');

const denoiseRes = await fetch(`${IMAGE_BASE}/denoise-gen/async`, {
  method: 'POST',
  headers: { ...HEADERS, ...denoiseForm.getHeaders() },
  body: denoiseForm,
});
console.log(await denoiseRes.json());

// Poll GET /image/v1/status/{process_id} until Completed,
// then fetch download_url from GET /image/v1/download/{process_id}.

// 2. Upscale the denoised output with Wonder 4 using source_url
const upscaleForm = new FormData();
upscaleForm.append('source_url', denoisedDownloadUrl);
upscaleForm.append('model', 'Wonder 4');
upscaleForm.append('output_width', '1280');

const upscaleRes = await fetch(`${IMAGE_BASE}/enhance-gen/async`, {
  method: 'POST',
  headers: { ...HEADERS, ...upscaleForm.getHeaders() },
  body: upscaleForm,
});
console.log(await upscaleRes.json());
```

{% endtab %}

{% tab title="Python" %}

```python
import os
import requests

HEADERS = {"X-API-Key": os.environ["TOPAZ_API_KEY"]}
IMAGE_BASE = "https://api.topazlabs.com/image/v1"

# 1. Denoise the image with Denoise Max
with open("noisy-photo.jpg", "rb") as image:
    denoise_res = requests.post(
        f"{IMAGE_BASE}/denoise-gen/async",
        headers=HEADERS,
        files={"image": image},
        data={
            "model": "Denoise Max",
            "strength": "0.8",
            "output_format": "png",
        },
    )
denoise_res.raise_for_status()
print(denoise_res.json())

# Poll GET /image/v1/status/{process_id} until Completed,
# then fetch download_url from GET /image/v1/download/{process_id}.

# 2. Upscale the denoised output with Wonder 4 using source_url
upscale_res = requests.post(
    f"{IMAGE_BASE}/enhance-gen/async",
    headers=HEADERS,
    files={
        "source_url": (None, denoised_download_url),
        "model": (None, "Wonder 4"),
        "output_width": (None, "1280"),
    },
)
upscale_res.raise_for_status()
print(upscale_res.json())
```

{% endtab %}
{% endtabs %}

#### Video Example: Proteus + Apollo

Include both filter objects in the `filters` array of a single request. They run in order: **Proteus** (`prob-4`) upscales the video to 4K, and **Apollo** (`apo-8`) interpolates the frame rate to 60 fps.

{% 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": "prob-4", "auto": "Auto" },
      { "model": "apo-8", "fps": 60 }
    ],
    "output": {
      "resolution": { "width": 3840, "height": 2160 },
      "frameRate": 60
    }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  source: {
    container: 'mp4',
  },
  filters: [
    { model: 'prob-4', auto: 'Auto' },
    { model: 'apo-8', fps: 60 },
  ],
  output: {
    resolution: { width: 3840, height: 2160 },
    frameRate: 60,
  },
};

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": "prob-4", "auto": "Auto"},
        {"model": "apo-8", "fps": 60},
    ],
    "output": {
        "resolution": {"width": 3840, "height": 2160},
        "frameRate": 60,
    },
}

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

#### Video Example: Starlight Precise 2.6 + Hyperion 2.5

Include both filter objects in the `filters` array of a single request. They run in order: **Starlight Precise 2.6** (`slp-2.6`) upscales the video to 4K, and **Hyperion 2.5** (`hyp-2.5`) converts the upscaled result from SDR to HDR. Hyperion 2.5 outputs 10-bit ProRes, so set `output.container` to `mov`.

{% 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": "slp-2.6", "sharpness": 3.0 },
      { "model": "hyp-2.5" }
    ],
    "output": {
      "resolution": { "width": 3840, "height": 2160 },
      "container": "mov"
    }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  source: {
    container: 'mp4',
  },
  filters: [
    { model: 'slp-2.6', sharpness: 3.0 },
    { model: 'hyp-2.5' },
  ],
  output: {
    resolution: { width: 3840, height: 2160 },
    container: 'mov',
  },
};

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": "slp-2.6", "sharpness": 3.0},
        {"model": "hyp-2.5"},
    ],
    "output": {
        "resolution": {"width": 3840, "height": 2160},
        "container": "mov",
    },
}

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

To compare models on your own files before you integrate, use the [Model Playground](https://playground.topazlabs.com).

### Next Steps

<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-tag">:tag:</i></td><td><h4>Model Pricing</h4></td><td>Learn how we price our models.</td><td><a href="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Model Pricing

Learn how we price our models

Every API job is paid for with credits. Each model family has a **base rate**, and most models in a family share it, so once you know a job's output size, you know its cost. These pages list the base rates, the tiers that change them, and the few models priced differently. For a full cost table for a specific model, open its family page and select the model.

{% hint style="info" %}
For an exact estimate on your own files, use the [Credit Calculator](https://developer.topazlabs.com/credit-calculator). Video requests created with `POST /video/` also return a credit estimate before you upload.
{% endhint %}

<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-image">:image:</i></td><td><h4>Image Model Pricing</h4></td><td>Pricing by output megapixels, tier, and model family.</td><td><a href="/getting-started/model-pricing/image-models">Image Models</a></td></tr><tr><td><i class="fa-video">:video:</i></td><td><h4>Video Model Pricing</h4></td><td>Pricing by output frames, duration, resolution, and model family.</td><td><a href="/getting-started/model-pricing/video-models">Video Models</a></td></tr></tbody></table>

### Model-Specific Pricing

Each model page has a **Model Pricing** section with credit costs for common output sizes. To find it, open the model's intent on the sidebar and select the model.

For how credits are billed, refunded, and topped up, see the Billing & Credits in our [FAQs](/getting-started/faqs) page.

### Next Steps

<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-circle-question">:circle-question:</i></td><td><h4>FAQs</h4></td><td>Get your questions answered.</td><td><a href="/getting-started/faqs">FAQs</a></td></tr></tbody></table>


# Image Models

Learn how image models are priced

Image jobs are priced by **output megapixels**. Each rate is the number of output megapixels one credit covers:

`credits = ceil(output megapixels ÷ MP per credit)`

For example, at 24 MP per credit a 4K output (8.3 MP) costs 1 credit, and an 8K output (33.2 MP) costs 2.

{% hint style="info" %}
For more pricing information, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}


# Video Models

Learn how video models are priced

Video models are priced in one of two major ways, depending on the model.

## Per Output Frame

Many of our models are priced by the **number of output frames**, with one rate for 1080p output and one for 4K:

```
credit rate per frame = 1 ÷ frames per credit for the output resolution
credits = ceil(output frames × credit rate per frame)
```

**Example:** a 10-second clip at 30 fps is 300 frames at the Generative rate

```
credits for 1080p output = ceil(300 × 1/26.0417) = 12
credits for 4K output    = ceil(300 × 1/11.9179) = 26
```

Models under this pricing schema include [Generative Upscaling](/video-models/upscaling-and-enhancement/generative), [Creative Upscaling](/video-models/upscaling-and-enhancement/creative), and many other models.

## Per Generated Gigapixel and Frame Count

### Frame interpolation

Frame interpolation models are priced by **output frame count, output/input fps ratio, and slow motion factor**. For the [Chronos](/video-models/frame-interpolation/chronos) models and for requests where there is no slow motion factor (`slowmo = 1`) and the fps ratio (`output fps / input fps`) is 2 or less, the credit cost is per generated gigapixel. For requests where slow motion factor is greater than 1 or the fps ratio is greater than 2, credit cost is based on the model's multiplier.

| Model        | Per generated GP (slowmo = 1, fps ratio ≤ 2) | Per input GP (slowmo > 1 or fps ratio > 2) |
| ------------ | -------------------------------------------- | ------------------------------------------ |
| Chronos Fast | 1                                            | Always per generated GP                    |
| Chronos      | 2                                            | Always per generated GP                    |
| Apollo Fast  | 1                                            | 8                                          |
| Apollo       | 2                                            | 2                                          |
| Aion         | 6                                            | 48                                         |

#### Chronos or Per Generated Gigapixel

```
output frame count = fps ratio * slowmo * input frame count
generated frames = abs(output frame count - input frame count)
GP = generated frames * input width * input height / 1024³
credits = ceil(multiplier * GP + data)
```

**Example:** converting a 10-second 1080p 24fps video to 30fps

```
output frame count = 30/24 * 1 * 240
generated frames = abs(300 - 240)
GP = 60 * 1920 * 1080 / 1024³
credits = ceil(2 * 0.116 + 0.048) = 1
```

#### With slow motion or fps ratio greater than 2

```
GP = input frame count * input width * input height / 1024³
credits = ceil(model multiplier * GP + data)
```

**Example:** converting a 10-second 1080p 24fps video to 60fps with 2x slow motion using [Apollo](/video-models/frame-interpolation/apollo)

```
GP = 240 * 1920 * 1080 / 1024³
credits = ceil(8 * 0.463 + 0.19) = 4
```

### Upscaling

Precision upscaling, denoise, and HDR video models are priced at 2 credits per gigapixel and varies by **frame count and output/input resolution ratio**. The input dimensions are multiplied by a fixed scale step (1×, 2× or 4×) that's rounded up from the ratio between the input video's resolution and the desired output resolution. For [denoise](/video-models/denoising) and [HDR](broken://pages/pynlBq3VnAH5Jtzxa90F) models that do not perform upscaling, 1x scale step is used.

**1. Find the Scale Step**

```
scale = max(output width / input width, output height / input height)
```

| Actual scale       | Billed scale step |
| ------------------ | ----------------- |
| 1.2 or less        | 1×                |
| Over 1.2 up to 2.4 | 2×                |
| Over 2.4           | 4×                |

**2. Calculate Gigapixels and Credits**

```
GP      = (input width * step) * (input height * step) * frame count / 1024³
credits = ceil(2 * GP + data)
```

**Example:** a 10-second, 30 fps clip upscaled from 720p to 1080p

```
scale   = max(1920/1280, 1080/720) = 1.5  →  step 2
GP      = (1280 * 2) * (720 * 2) * 300 / 1024³ ≈ 1.03
credits = ceil(2 * 1.03) = 3
```

**Estimated Credits at 30 fps**

| Input → Output | Step | 10 s | 1 min | 5 min | 10 min |
| -------------- | ---- | ---- | ----- | ----- | ------ |
| 480p → 1080p   | 4×   | 4    | 20    | 97    | 194    |
| 720p → 1080p   | 2×   | 3    | 13    | 65    | 129    |
| 720p → 4K      | 4×   | 9    | 52    | 258   | 515    |
| 1080p → 4K     | 2×   | 5    | 29    | 145   | 290    |

### Data cost

For these models that are priced based on generated GP and frame count, there is also a data cost of 1 credit per GiB of output file size, which is dependent on the bitrate and frame count. The raw fractional cost is added to the processing cost calculations above, before the ceiling function, and is usually a small portion of the overall cost.

Example data costs for a 30fps video using H265:

| Output resolution | Output setting           | 10 s  | 1 min | 5 min | 10 min |
| ----------------- | ------------------------ | ----- | ----- | ----- | ------ |
| 1080p             | Constant 16m             | 0.019 | 0.112 | 0.56  | 1.12   |
| 1080p             | Low dynamic compression  | 0.032 | 0.191 | 0.96  | 1.91   |
| 1080p             | High dynamic compression | 0.048 | 0.287 | 1.43  | 2.87   |
| 4K                | Constant 80m             | 0.093 | 0.559 | 2.79  | 5.59   |
| 4K                | Low dynamic compression  | 0.128 | 0.765 | 3.82  | 7.65   |
| 4K                | High dynamic compression | 0.191 | 1.147 | 5.74  | 11.47  |

## Combining Video Models

When a request has more than one model in `filters`, each model is priced on its own output, and its output properties (frame count, resolution, etc) are used as inputs in the calculations for subsequent models.

**Example:** upscaling a 10-second 720p 24fps video to 1080p with [Proteus](/video-models/upscaling-and-enhancement/precision/proteus) (`prob-4`), then converting to 30fps with [Apollo](/video-models/frame-interpolation/apollo) (`apo-8`)

```
# 1. Proteus (prob-4): 720p → 1080p (240 frames)
scale           = max(1920/1280, 1080/720) = 1.5  →  step 2
GP_proteus      = (1280 * 2) * (720 * 2) * 240 / 1024³ ≈ 0.824

# 2. Apollo (apo-8): 24fps → 30fps at 1080p (240 frames from Proteus)
output frame count = 30/24 * 1 * 240 = 300
generated frames   = abs(300 - 240) = 60
GP_apollo          = 60 * 1920 * 1080 / 1024³ ≈ 0.116

# Total
credits = ceil(2 * 0.824 + 2 * 0.116 + data 0.08) = ceil(1.96) = 2
```


# FAQs

Get your questions answered

Common questions about using the Topaz Labs API. If you can't find the answer here, join our [Developer Discord](https://discord.gg/pUqhyZvRHD), ask on the [Community Forum](https://discord.gg/pUqhyZvRHD), or contact <support@topazlabs.com>.

***

### Getting Started

<details>

<summary>How do I get an API key?</summary>

[Log in](https://account.topazlabs.com), navigate to the "API" tab, enter a name for the key, and click **Create**. Copy it immediately: the key is only shown once. If you lose it, create a new one and delete the old one from the same page. If the page won't load or returns an error, try the direct link above rather than the account dashboard.

</details>

<details>

<summary>Do I need a subscription to use the API?</summary>

No. API usage is paid with credits, not an app subscription. A free Topaz account with credits on it can use every API endpoint. However, our API subscription tiers include many benefits including lower credit costs, automatic top-ups, and more. Reference our [website](https://topazlabs.com/api/) for more about our API plans.

</details>

<details>

<summary>Does my Topaz Studio, Topaz Image Web, or Pro subscription include API access?</summary>

Yes. Anyone can create an account and use our API, as long as they have credits to fund their requests. App subscriptions (Studio, Image Web Pro, and the desktop apps) typically include cloud credits, which can be used to make API calls as well. However, other benefits such as Pro's "unlimited rendering" and "8 concurrent jobs" apply to the web app only. If you bought an app plan by mistake while trying to buy API credits, contact support for a refund.

</details>

<details>

<summary>Is there a free tier or sandbox for testing?</summary>

Not currently. The [Model Playground](https://playground.topazlabs.com/) lets you try models interactively, and any credits on your account (including a small one-time pack) can be used for API testing. If you're evaluating for a production integration, mention it when you contact support and we'll assist you.

</details>

<details>

<summary>Is there a CLI, or can I script the desktop apps?</summary>

No. We do not offer CLI access, and the desktop apps don't expose a scripting interface. The API is the supported path for automation, batch processing, and server-side or headless (including Linux) workflows.

</details>

<details>

<summary>Where can I find sample code?</summary>

The [Image Quickstart](/getting-started/image-quickstart) and [Video Quickstart](/getting-started/video-quickstart) walk through a complete request. Each model page has a copy-and-paste example request.

</details>

***

### Billing & Credits

<details>

<summary>How is API usage priced?</summary>

There's no flat per-image or per-second price. Image jobs are billed by output megapixels; video jobs are billed by output resolution, duration, and frame rate; and the rate depends on the model family. The [Credit Calculator](https://developer.topazlabs.com/credit-calculator) reflects the same billing logic as the API and is the recommended way to estimate cost before you submit. More information about our model rates are on the [Model Pricing](/getting-started/model-pricing) page.

</details>

<details>

<summary>Why does the API cost more than the same job in the web app?</summary>

The API and the apps use different pricing. App subscriptions include unlimited cloud rendering for a flat monthly fee; the API bills each job by its output. Running the same model with the same settings in both will not cost the same, and the credit count shown in an app is not the API price.

</details>

<details>

<summary>What's the difference between API credits and cloud credits?</summary>

They're the same underlying credit and both can pay for API jobs. The difference is the plan that delivers them:

|                              | API subscription                   | Cloud Credits (monthly)                      | One-time credit pack   |
| ---------------------------- | ---------------------------------- | -------------------------------------------- | ---------------------- |
| Billed                       | Monthly                            | Monthly                                      | Once                   |
| Auto top-up when you run out | Yes                                | No                                           | No                     |
| Unused credits               | Roll over while the plan is active | Expire at the end of the billing cycle       | Never expire           |
| Best for                     | Production API workloads           | App users who also call the API occasionally | Testing and low volume |

</details>

<details>

<summary>Which plan should I buy for API usage?</summary>

For anything beyond testing, buy an **API subscription** from [our website](#getting-started). It's the only plan with automatic top-ups, which is what prevents your integration from stopping when the balance hits zero. One-time credit packs work for evaluation. Make sure you purchase from the API page; the "Buy credits" button inside the web app sells Cloud Credits, which look similar but don't top up automatically.

</details>

<details>

<summary>How does auto top-up work?</summary>

When an API subscription's balance reaches zero, we automatically add credits equal to 25% of your monthly plan and charge your card at your plan's per-credit rate. On a 3,000-credit plan, that's 750 credits for $49.75. It repeats as often as needed. Auto top-up is only available on API subscriptions, and it stops working if a payment fails. For issues with auto top-up, contact support.

</details>

<details>

<summary>Do unused credits roll over? Is there a maximum balance?</summary>

On an API subscription, unused credits roll over each month and don't expire while the plan is active. Your balance is capped at 5× your monthly credit volume (a 3,000-credit plan can hold up to 15,000). If you cancel, you keep the balance.

</details>

<details>

<summary>Can I change my plan tier?</summary>

Yes, but not in place. Cancel the current API subscription, then purchase the new tier. Credits already on the account stay with you. If the cancellation is still "pending" and blocks the new purchase, contact support for assistance. Upgrades mid-cycle are prorated.

</details>

<details>

<summary>Are failed jobs charged?</summary>

No. Credits are reserved when a job starts and committed only when it completes. If a job fails, times out, or is cancelled before processing, the reservation is rolled back automatically. If you see a failed job in your ledger that wasn't refunded, send support the process ID or request ID. Take a look at our [API Reference](https://developer.topazlabs.com/reference/) page for more info on how our Image API and Video API each handle failed jobs.

</details>

<details>

<summary>Am I charged if I never download the result?</summary>

Yes. Credits are committed when processing completes, whether or not you fetch the output. If your client crashes mid-job, check `GET /status` (image) or `GET /video/history` (video) for the existing job before resubmitting, and use the cancel endpoint to release credits for a job you no longer need. Output is retained for 7 days, so you can still download it.

</details>

<details>

<summary>What happens if I cancel a job in progress?</summary>

Cancelling before processing starts refunds everything. Cancelling mid-processing charges 1.1 × the completed percentage and refunds the rest (cancel at 50% → 55% charged). For video, `GET /video/{requestId}/cancel-estimate` previews the exact split.

</details>

<details>

<summary>Can I check my credit balance from code?</summary>

Yes. `GET https://api.topazlabs.com/account/v1/credits/balance` with your normal `X-API-Key` header returns the balance. No separate token is needed. You can also see it under **Credits** in your account dashboard.

</details>

<details>

<summary>Where can I see request logs?</summary>

The **API Keys** page in your account shows a transaction log with each job's status and credit usage. It doesn't include request payloads or error details. For debugging a specific failure, poll the job's status endpoint for its `message` / `errorCode`, and include the `process_id` or `requestId` when you contact support.

</details>

<details>

<summary>Do you offer discounts or volume pricing?</summary>

Self-serve plans are fixed. Enterprise plans start at 20,000 credits per month ($1,000/month, one-year commitment) with volume pricing, higher limits, and custom terms; contact <enterprise@topazlabs.com>. If you're between the top self-serve tier and Enterprise, ask support about intermediate options.

</details>

<details>

<summary>My API subscription says "on hold" or auto top-up stopped working</summary>

This almost always means a payment failed (declined card, insufficient funds). Update the payment method in your account, and the subscription and auto top-up resume. If you're out of credits and blocked in the meantime, contact support.

</details>

<details>

<summary>Can I get an alert when credits run low?</summary>

Not yet. Auto top-up on an API subscription prevents interruptions, and you can poll the balance endpoint from your own monitoring.

</details>

***

### Access & Authentication

<details>

<summary>Can I share an API key across my team?</summary>

API keys belong to the account that created them, and jobs draw from that account's credits. You can create multiple named keys on one account and give each team member their own, so you can rotate or revoke them individually. Separate accounts have separate credit balances.

</details>

<details>

<summary>Do you support models hosted on Replicate, fal, or other platforms?</summary>

Topaz models published on third-party platforms are run by those platforms. For issues with their integrations (parameters, pricing, failures), contact that platform's support. Topaz support covers the Topaz API only.

</details>

<details>

<summary>Do you have endpoints or proxies in China?</summary>

No. All requests go to `api.topazlabs.com` directly. If you're seeing connectivity problems from a specific region, send support the endpoint, timestamps, and any errors.

</details>

***

### Jobs and Limits

***

#### Jobs

<details>

<summary>My job has been "Processing" far longer than the ETA. Is something wrong?</summary>

ETAs are estimates and don't include queue time. During high load, jobs can sit at 0% or in post-processing well past the estimate before completing normally. Don't resubmit the same job; that creates a second charge. If a job exceeds the model's processing time limit it fails and is refunded automatically. If a job appears stuck for more than a couple of hours, send support the `process_id` or `requestId`.

</details>

<details>

<summary>Should I poll or use webhooks?</summary>

Either. Polling the status endpoint every few seconds is fine. For production, pass `webhook_url` (image) or `notifications.webhookUrl` (video) and we'll `POST` to you on completion or failure, with retries. For failure responses, see [Error Handling](/getting-started/errors).

</details>

<details>

<summary>Is there a status page?</summary>

Yes, our status page is available at [https://status.topazlabs.com](https://status.topazlabs.com/).

</details>

<details>

<summary>Why does my API output look different from the desktop app?</summary>

The models are the same, but the apps apply extra steps the API doesn't: automatic parameter estimation, pre-downsampling, and multi-model pipelines ("Autopilot" in the apps may run denoise, upscale, and sharpen; the API runs the one model you request). To get closer to app results, chain the equivalent models in sequence and set parameters explicitly. Model names also differ between the apps and the API; use the names on the model pages.

</details>

<details>

<summary>What input and output formats are supported?</summary>

Image: JPEG, PNG, and TIFF in; JPEG, PNG, or TIFF out (PNG only for matting and transparent upscale). 16-bit TIFF is processed at 16-bit and preserved on output; embedded ICC profiles are preserved. ProRes, EXR, and other professional output formats are set through `output.videoEncoder` / `output.container` on video requests; some generative video models accept MP4/H.264 input only.

</details>

<details>

<summary>My requests return HTTP 403 with a Cloudflare error (1010, "browser_signature_banned")</summary>

The request was blocked by our web application firewall before reaching the API, usually because the client's fingerprint matches patterns we block. Fix it in this order:

1. Set a descriptive `User-Agent` header that identifies your application (for example `MyApp/1.0 (contact@example.com)`). Default library agents like Python's `urllib` or `python-requests` are frequently blocked.
2. Check the path. The Image API base is `https://api.topazlabs.com/image/v1/` and the Video API is `https://api.topazlabs.com/video/`; a request to a non-existent path (e.g. `/image/v1/process`) can also trigger a block.
3. If it persists, send support the Cloudflare **Ray ID** from the response, your egress IP, and the User-Agent you're sending. We can add an exception for identified traffic.

</details>

<details>

<summary>Is a retried request safe, or will it charge me twice?</summary>

Submissions are not idempotent. If a `POST` succeeded on our side but the response never reached you, retrying it creates a second job and a second charge. Before resubmitting after a client-side timeout, check `GET /status` (image) or `GET /video/history` (video) for a job created in the last few minutes. Status and download calls are safe to retry freely.

</details>

#### Limits

<details>

<summary>What are the file size and resolution limits?</summary>

Image: most models accept up to 256 MP input and output, and `output_width` / `output_height` can each be up to 32,000 px. Uploads over the file-size limit return `413`. Video: source files under 100 GB, uploaded as a single URL at or under 500 MB or as 500 MB multi-part segments above that. Maximum video output resolution and bitrate depend on the encoder you choose (for example H.264 caps at 4096×4096, H.265 at 8192×8192). Full parameter and encoder limits are in [Request Parameters](/getting-started/request-parameters).

</details>

<details>

<summary>How long can a job run before it times out?</summary>

Each model family has a processing time limit: roughly 90 minutes for GAN image models, 20 minutes for generative image models, 4 hours for GAN video models, and 17 hours for generative video models (Starlight, Astra, Nyx High Fidelity). A job that exceeds its limit fails with `TIMEOUT_PROCESSING` and is refunded. For very long videos, split the source into shorter segments.

</details>

<details>

<summary>How long are my files and download links available?</summary>

Source and output files are kept for 7 days after processing, then deleted. Image download URLs from `GET /download/{process_id}` expire 1 hour after they're issued; call the endpoint again for a fresh one. Video download URLs last 7 days by default (`expiresIn` in the status response). You can delete video media sooner with `DELETE /video/{requestId}/media`.

</details>

<details>

<summary>Is there a rate limit or concurrency limit?</summary>

There is no fixed requests-per-second limit on self-serve plans. You can submit multiple jobs in parallel across image and video, and they run concurrently; throughput depends on current system load and your credit balance. Enterprise plans include guaranteed capacity. If you do hit a limit you'll receive `429 Too Many Requests`; back off and retry.

</details>

### Data, Security, and Compliance

<details>

<summary>How long do you keep my files?</summary>

Uploaded inputs and processed outputs are deleted 7 days after processing. Delete sooner with `DELETE /video/{requestId}/media` (video) or by letting the retention window expire (image). Download links are private, signed URLs; they aren't publicly listed.

</details>

<details>

<summary>Is my data used to train models?</summary>

No. API inputs and outputs are used only to provide the service. This is covered in our MSA/DPA, available on request from <enterprise@topazlabs.com>.

</details>

<details>

<summary>Where is my data processed and stored?</summary>

In the United States, for all models and both APIs. We don't currently offer EU or other region-specific processing, including on Enterprise plans.

</details>

<details>

<summary>Can I offer Topaz processing to my own customers inside my product?</summary>

Yes. Integrating the API into your platform and billing your users through your own system is a standard use case; your users don't need Topaz accounts or keys. Attribute the models (for example "Powered by Topaz Labs"), and don't imply partnership, endorsement, or co-ownership. For a DPA, no-retention mode, sub-processor list, or custom terms, contact <enterprise@topazlabs.com>.

</details>

<details>

<summary>Are outputs C2PA-compliant?</summary>

Yes. All API model outputs carry C2PA content credentials.

</details>

***

### Still Have a Question?

Email <support@topazlabs.com> with your `process_id` or `requestId`, the endpoint and parameters you sent, the full error response, and the timestamp. For pricing above the self-serve tiers, contact <enterprise@topazlabs.com>.

### Next Steps

<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-brackets-curly">:brackets-curly:</i></td><td><h4>Request Parameters</h4></td><td>Learn how we structure API requests.</td><td><a href="/getting-started/request-parameters">Request Parameters</a></td></tr></tbody></table>


# Error Handling

Understand API errors and failures

Every error response includes a message describing the problem. Image API errors come back as HTTP status codes; Video API errors add an `errorCode` field (for example `INVALID_INPUT`) and, for jobs that fail after acceptance, the same `errorCode` appears in the status response. Service-side failures are always refunded.

<details>

<summary>400 Bad Request / INVALID_INPUT</summary>

The request itself is malformed, so nothing was processed or charged. On the Image API this usually means an invalid `output_height` / `output_width`, a malformed `process_id`, or a bad estimate input. On the Video API the `errors[]` array lists the exact fields: common causes are an unsupported `videoEncoder` / `videoProfile` pair, an output resolution or bitrate over the encoder's cap, a `source.external` URL we can't reach, a missing required filter parameter (such as `rollingShutterCorrection` with `stab-1`), or trying to cancel a request that's already finished. Fix the request before retrying; the same request will fail the same way.

</details>

<details>

<summary>401 Unauthorized / UNAUTHORIZED</summary>

The `X-API-Key` header is missing, invalid, or belongs to a revoked key. Check that you're sending the header on every request (including status and download calls), that the key is copied exactly, and that it hasn't been deleted in your account. Not retryable until the key is fixed.

</details>

<details>

<summary>402 Payment Required / INSUFFICIENT_CREDITS</summary>

Your account doesn't have enough credits to reserve for this job. Image jobs reserve credits at submission; video jobs reserve them at `PATCH /video/{requestId}/accept`. Add credits or enable auto top-up, then resubmit. Don't put `402` in a retry loop; it will fail until the balance changes. If a video job fails with `INSUFFICIENT_CREDITS` after acceptance, the credits ran out between estimate and reservation; add credits and resubmit.

</details>

<details>

<summary>403 Forbidden / FORBIDDEN</summary>

There are two different 403s, and the response body tells them apart.

**A Cloudflare error page (error 1010, "browser\_signature\_banned").** The request was blocked by our web application firewall before reaching the API, usually because the client's fingerprint matches patterns we block. Fix it in this order:

1. Set a descriptive `User-Agent` header that identifies your application (for example `MyApp/1.0 (contact@example.com)`). Default library agents like Python's `urllib` or `python-requests` are frequently blocked.
2. Check the path. The Image API base is `https://api.topazlabs.com/image/v1/` and the Video API is `https://api.topazlabs.com/video/`; a request to a non-existent path (e.g. `/image/v1/process`) can also trigger a block.
3. If it persists, send support the Cloudflare **Ray ID** from the response, your egress IP, and the User-Agent you're sending. We can add an exception for identified traffic.

**A JSON error from the API.** Your key is valid but doesn't have access to this endpoint, model, or request. On the Video API this also happens when the `requestId` belongs to a different account. Check which key you're using and whether the model requires an enterprise plan.

</details>

<details>

<summary>404 Not Found</summary>

No job exists with that `process_id` or `requestId`. Check that you're using the ID returned from the submission and that it belongs to the same account as the key. Image status history only covers the last 7 days, so older jobs also return 404. On the Video API a 404 carries `errorCode: INVALID_INPUT`.

</details>

<details>

<summary>409 Conflict (Image API)</summary>

You called an endpoint at the wrong point in the job's lifecycle: most often `GET /download/{process_id}` before the job reached `Completed`, or `cancel` on a job that already finished. For downloads, poll `GET /status/{process_id}` until it reports `Completed`, then retry. For cancels, the job can't be cancelled and the full charge applies.

</details>

<details>

<summary>412 Precondition Failed (Image API)</summary>

The account has no active API subscription. API access requires an API plan; desktop, web, or Pro subscriptions don't include it. Subscribe or reactivate a lapsed plan, then retry.

</details>

<details>

<summary>413 Request Entity Too Large</summary>

Image: the uploaded file exceeds the upload size limit. Downscale or compress the input, or upload once and reuse the `source_id` for subsequent jobs. Video: the JSON request body exceeds 3,000 bytes and the response has no body at all. The usual cause is long presigned URLs in `source.external` or `destination.external`; shorten them (fewer query parameters, shorter expiry tokens) or reduce the number of filters.

</details>

<details>

<summary>415 Unsupported Media Type (Image API)</summary>

The file couldn't be decoded as JPEG, PNG, or TIFF. Check that the file is actually one of those formats (not HEIC, WebP, or a renamed file), that it isn't truncated, and that you're sending it as `multipart/form-data` in the `image` field rather than as a raw body or base64 string.

</details>

<details>

<summary>422 Unprocessable Entity (Image API)</summary>

The image decoded but has invalid dimensions, typically a zero width or height. This usually indicates a corrupt file or a failed export from your pipeline. Re-export the image and resubmit.

</details>

<details>

<summary>425 Too Early (Image API)</summary>

A credit purchase or top-up is still settling, so credits can't be reserved yet. Wait a few seconds and retry; this one is safe to retry with backoff.

</details>

<details>

<summary>429 Too Many Requests</summary>

You've exceeded the request rate limit. Back off and retry with exponential backoff and jitter, honoring the `Retry-After` header when present. Spread submissions out rather than bursting them, and prefer webhooks over tight polling loops. If you consistently need more throughput, contact us about an enterprise plan.

</details>

<details>

<summary>500 Internal Server Error / SERVER_ERROR</summary>

Something failed on our side. Retry with exponential backoff; most 500s are transient. If a video job fails with `SERVER_ERROR` after acceptance, the credits are refunded automatically. If the error persists for more than a few minutes, contact support with the timestamp, endpoint, and `process_id` / `requestId`.

</details>

<details>

<summary>503 Service Unavailable / SERVER_MAINTENANCE (Video API)</summary>

Cloud video rendering is temporarily disabled for maintenance. `GET /video/status` reports `isAvailable` and a message. Check it before retrying rather than polling the submit endpoint. Jobs that were in flight when maintenance started are refunded.

</details>

<details>

<summary>My video job failed with CREDIT_DIFFERENCE</summary>

After analyzing the uploaded source, the re-estimated cost differed significantly from the estimate we gave you at `POST /video/`, so the job was stopped and fully refunded rather than charging you an amount you didn't agree to. This almost always means the `source` metadata you sent (duration, frame count, frame rate, resolution) didn't match the file. Read the real values from the file (for example with `ffprobe`) and resubmit.

</details>

<details>

<summary>My video job failed with TIMEOUT_UPLOAD_SOURCE, TIMEOUT_QUEUE, or TIMEOUT_PROCESSING</summary>

Three different timeouts, all refunded.

* **`TIMEOUT_UPLOAD_SOURCE`.** You accepted the request but didn't finish uploading the source in time. Resubmit and upload promptly after accepting; for large files use the multi-part upload URLs.
* **`TIMEOUT_QUEUE`.** The request waited in the queue past the limit, usually during a load spike. Resubmit.
* **`TIMEOUT_PROCESSING`.** Processing exceeded the model's time limit. Resubmit, or split long sources into shorter segments.

</details>

<details>

<summary>My video job failed with PROCESSING_FAILURE or HARDWARE_FAILURE</summary>

`PROCESSING_FAILURE` means the model couldn't process this particular source; `HARDWARE_FAILURE` means the GPU or infrastructure failed mid-job. Both are refunded. Retry once. If `PROCESSING_FAILURE` recurs on the same file, the source is likely the cause (unusual codec, variable frame rate, corrupt frames); try re-encoding it to a standard H.264 MP4 and, if that doesn't help, send support the `requestId`.

</details>

<details>

<summary>My video job failed with INVALID_INPUT after it was accepted</summary>

The source file couldn't be processed as described: it may be corrupt, in a different container than `source.container` claims, or its metadata may not match what you sent. Verify the file plays locally, correct the `source` block, and resubmit. Nothing is charged.

</details>

<details>

<summary>My video job failed with UNKNOWN, FORBIDDEN, or UNAUTHORIZED</summary>

`UNKNOWN` is an unclassified failure; it's refunded, and support can look up the cause from the `requestId`. `FORBIDDEN` / `UNAUTHORIZED` on an already-accepted job mean authorization changed mid-request, for example the key was deleted or the account's plan lapsed. Check your key and subscription, then resubmit.

</details>

<details>

<summary>Will I be refunded for a failed job?</summary>

Yes, when the failure is on our side: timeouts, processing or hardware failures, server errors, maintenance, and `CREDIT_DIFFERENCE` are all refunded in full, usually within 24 hours. Requests rejected synchronously with a `4xx` are never charged. If you cancel a job in progress you're charged for the work done (1.1 × progress %) and refunded the rest; video requests can preview the split with `GET /video/{requestId}/cancel-estimate`.

</details>


# Request Parameters

Find the request-level parameters for image and video endpoints

Every API request has two layers of parameters:

* **Request-level parameters** describe the input, output, and notifications. They are shared by every model on an endpoint.
* **Model-specific parameters** tune how a specific model processes your file. They are listed on each model page under **Model Parameters**.

<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-image">:image:</i></td><td><h4>Image Request Parameters</h4></td><td>Parameters shared by image endpoints, including input, output format, size, and notifications.</td><td><a href="/getting-started/request-parameters/image">Image</a></td></tr><tr><td><i class="fa-video">:video:</i></td><td><h4>Video Request Parameters</h4></td><td>Parameters shared by video endpoints, including source, filters, output, destination, and notifications.</td><td><a href="/getting-started/request-parameters/video">Video</a></td></tr></tbody></table>

### Join Our Communities

<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-discourse">:discourse:</i></td><td><h4>Community Forum</h4></td><td>Questions, releases, and beta access.</td><td><a href="https://community.topazlabs.com/c/api/135">https://community.topazlabs.com/c/api/135</a></td></tr><tr><td><i class="fa-discord">:discord:</i></td><td><h4>Developer Discord</h4></td><td>Questions, releases, and beta access.</td><td><a href="https://discord.gg/pUqhyZvRHD">https://discord.gg/pUqhyZvRHD</a></td></tr></tbody></table>


# Image

Find the request-level parameters for all image endpoints

All image processing endpoints are `POST` requests to `https://api.topazlabs.com/image/v1/...` with a `multipart/form-data` body. Every endpoint accepts the common parameters. Three endpoints also accept output size parameters.

| Endpoint             | Common Parameters | Output Size Parameters | Output Formats                |
| -------------------- | ----------------- | ---------------------- | ----------------------------- |
| `/enhance/async`     | ✓                 | ✓                      | `jpeg`, `png`, `tiff`         |
| `/enhance-gen/async` | ✓                 | ✓                      | `jpeg`, `png`, `tiff`         |
| `/sharpen/async`     | ✓                 | —                      | `jpeg`, `png`, `tiff`         |
| `/sharpen-gen/async` | ✓                 | —                      | `jpeg`, `png`, `tiff`         |
| `/denoise/async`     | ✓                 | —                      | `jpeg`, `png`, `tiff`         |
| `/denoise-gen/async` | ✓                 | —                      | `jpeg`, `png`, `tiff`         |
| `/restore-gen/async` | ✓                 | —                      | `jpeg`, `png`, `tiff`         |
| `/lighting/async`    | ✓                 | —                      | `jpeg`, `png`, `tiff`         |
| `/matting/async`     | ✓                 | —                      | `png` only                    |
| `/tool/async`        | ✓                 | ✓                      | `png` only (`png` input only) |

## Common Parameters

Accepted by every image endpoint. Provide the source image with exactly one of `image`, `source_id`, or `source_url`; send only one per request.

| Parameter       | Type     | Required / Default                                        | Accepted values                     | Description                                                                                                                                                                                             |
| --------------- | -------- | --------------------------------------------------------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `image`         | `file`   | Optional                                                  | `jpeg`, `jpg`, `png`, `tiff`, `tif` | The image file to process. Required unless you send `source_id` or `source_url`.                                                                                                                        |
| `source_id`     | `string` | Optional                                                  | —                                   | ID of an image you've already uploaded, returned as `source_id` by a previous request. Reuse it to run another model on the same image without uploading it again.                                      |
| `source_url`    | `string` | Optional                                                  | —                                   | Publicly reachable URL of the source image.                                                                                                                                                             |
| `model`         | `string` | <p>Optional<br>Default: <code>endpoint default</code></p> | —                                   | The model to run. Each endpoint has a default model, used when `model` is omitted. Accepted values for each endpoint are listed on the family pages, and each model page shows its exact `model` value. |
| `output_format` | `string` | <p>Optional<br>Default: <code>jpeg</code></p>             | `jpeg`, `jpg`, `png`, `tiff`, `tif` | Format of the output image. `/matting/async` and `/tool/async` always return `png`.                                                                                                                     |
| `webhook_url`   | `string` | Optional                                                  | —                                   | URL we `POST` a JSON notification to whenever the job's status changes or completes.                                                                                                                    |

## Output Size Parameters

Accepted by `/enhance/async`, `/enhance-gen/async`, and `/tool/async`. If you set only one dimension, the other scales to keep the aspect ratio. If you set neither, the model's default scale is used.

| Parameter       | Type      | Required / Default                             | Accepted values | Description                                                                                                                        |
| --------------- | --------- | ---------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `output_width`  | `integer` | Optional                                       | `1` to `32000`  | Output width in pixels.                                                                                                            |
| `output_height` | `integer` | Optional                                       | `1` to `32000`  | Output height in pixels.                                                                                                           |
| `crop_to_fill`  | `boolean` | <p>Optional<br>Default: <code>false</code></p> | —               | When both dimensions are set and their aspect ratio differs from the source, crop the output to fill them instead of letterboxing. |

## Model Parameters

Model-specific settings are sent as additional form fields in the same request, in camelCase, for example `-F "sharpenStrength=0.5"`. They're listed on each model's page. Any setting you don't send uses the model's default.

## Example

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 3.5" \
  -F "output_width=3840" \
  -F "output_format=png" \
  -F "webhook_url=https://example.com/topaz-webhook"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'node:fs';
import FormData from 'form-data';

const form = new FormData();
form.append('image', fs.createReadStream('photo.jpg'));
form.append('model', 'Wonder 3.5');
form.append('output_width', '3840');
form.append('output_format', 'png');
form.append('webhook_url', 'https://example.com/topaz-webhook');

const response = await fetch(
  'https://api.topazlabs.com/image/v1/enhance-gen/async',
  {
    method: 'POST',
    headers: {
      'X-API-Key': process.env.TOPAZ_API_KEY,
      ...form.getHeaders(),
    },
    body: form,
  },
);

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

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

{% endtab %}

{% tab title="Python" %}

```python
import os
import requests

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        data={
            "model": "Wonder 3.5",
            "output_width": 3840,
            "output_format": "png",
            "webhook_url": "https://example.com/topaz-webhook"
        },
        files={"image": image}
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

The response returns `process_id`, `source_id`, and `eta` (also sent as the `X-Process-ID`, `X-Source-ID`, and `X-ETA` headers). Poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.


# Video

Find the request-level parameters for all video endpoints

Every video model, on every video endpoint, takes the same request parameters. Create a request with either endpoint:

| Endpoint                                       | Use When                                                                                                                                                                                                                                       |
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `POST https://api.topazlabs.com/video/`        | You can supply full source metadata and want a credit estimate before uploading. Follow with `PATCH /video/{requestId}/accept` and `PATCH /video/{requestId}/complete-upload/`.                                                                |
| `POST https://api.topazlabs.com/video/express` | You only know the container. Returns upload URLs right away, with no accept or complete-upload steps. **Note that this endpoint is only available for GAN models (i.e. most creative and generative upscaling models will not be supported).** |

Requests are JSON with four top-level objects: `source`, `filters`, `output`, and the optional `destination` and `notifications`. The models you put in `filters` decide a few `output` rules; see [Upscaling vs. Frame Interpolation](#upscaling-vs.-frame-interpolation).

## `source`

Describes the input video. On `POST /video/` every field except `md5Hash` and `external` is required so we can estimate the cost. On `POST /video/express` only `container` is required.

| Parameter           | Type      | Required / Default  | Accepted values                                                                                                                                    | Description                                                                                                                                                                                                                                   |
| ------------------- | --------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `source.container`  | `string`  | Required            | `3gp`, `avi`, `dv`, `flv`, `m1v`, `m2t`, `m2ts`, `m2v`, `m4v`, `mkv`, `mov`, `mp4`, `mpeg`, `mpg`, `mts`, `mxf`, `ser`, `ts`, `vob`, `webm`, `wmv` | Container of the source file. Case-insensitive.                                                                                                                                                                                               |
| `source.size`       | `integer` | Required on /video/ | —                                                                                                                                                  | File size in bytes. Must be under 100 GB.                                                                                                                                                                                                     |
| `source.duration`   | `number`  | Required on /video/ | —                                                                                                                                                  | Duration in seconds.                                                                                                                                                                                                                          |
| `source.frameCount` | `integer` | Required on /video/ | —                                                                                                                                                  | Total number of frames.                                                                                                                                                                                                                       |
| `source.frameRate`  | `number`  | Required on /video/ | —                                                                                                                                                  | Frame rate in frames per second.                                                                                                                                                                                                              |
| `source.resolution` | `object`  | Required on /video/ | —                                                                                                                                                  | Source `width` and `height` in pixels.                                                                                                                                                                                                        |
| `source.md5Hash`    | `string`  | Optional            | —                                                                                                                                                  | MD5 hash of the source file, used to verify the upload.                                                                                                                                                                                       |
| `source.external`   | `object`  | Optional            | —                                                                                                                                                  | Read the source from your own S3 storage instead of uploading it, using a presigned URL or AWS AssumeRole. `provider` is required inside this object. See the [API Reference](https://developer.topazlabs.com/reference/) for the full shape. |

## `filters`

| Parameter | Type    | Required / Default | Accepted values | Description                                                                                                                                                                                                                                                                                                                                   |
| --------- | ------- | ------------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `filters` | `array` | Required           | —               | One or more filter objects, applied in order. Each object needs a `model` value plus that model's settings, which are listed on each model's page under **Model Parameters**. Chain filters to combine operations, for example a denoise model followed by an upscaling model, or an upscaling model followed by a frame interpolation model. |

## `output`

| Parameter                        | Type      | Required / Default                                               | Accepted values                        | Description                                                                                                                                                                                           |
| -------------------------------- | --------- | ---------------------------------------------------------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `output.resolution`              | `object`  | Required                                                         | —                                      | Output `width` and `height` in pixels. Rounded up to a multiple of 4. Forced to the source resolution when no upscaling model is in `filters`.                                                        |
| `output.frameRate`               | `number`  | Required on /video/                                              | —                                      | Output frame rate. Forced to the source frame rate when no frame interpolation model is in `filters`. On `/video/express`, required only when a frame interpolation filter doesn't set its own `fps`. |
| `output.audioTransfer`           | `string`  | <p>Required on /video/<br>Express default: <code>None</code></p> | `Copy`, `Convert`, `None`              | How to handle the source audio track.                                                                                                                                                                 |
| `output.audioCodec`              | `string`  | Optional                                                         | `AAC`, `AC3`, `PCM`                    | Audio codec for the output. Required when `audioTransfer` isn't `None`.                                                                                                                               |
| `output.audioBitrate`            | `string`  | Optional                                                         | —                                      | Audio bitrate for the output.                                                                                                                                                                         |
| `output.videoEncoder`            | `string`  | <p>Optional<br>Default: <code>H265</code></p>                    | `H265`, `H264`, `AV1`, `ProRes`, `VP9` | Video encoder for the output. See [Supported Encoders and Profiles](#supported-encoders-and-profiles).                                                                                                |
| `output.videoProfile`            | `string`  | <p>Optional<br>Default: <code>encoder default</code></p>         | —                                      | Profile for the chosen encoder. See [Supported Encoders and Profiles](#supported-encoders-and-profiles).                                                                                              |
| `output.videoBitrate`            | `string`  | Optional                                                         | —                                      | Target video bitrate. Required for `VP9`. Can't be combined with `dynamicCompressionLevel`.                                                                                                           |
| `output.dynamicCompressionLevel` | `string`  | <p>Optional<br>Default: <code>High</code></p>                    | `Low`, `Mid`, `High`                   | Quality-based bitrate control, used when `videoBitrate` isn't set. `AV1`, `H264`, and `H265` only.                                                                                                    |
| `output.cropToFit`               | `boolean` | Optional                                                         | —                                      | Crop the output to fill `output.resolution` instead of letterboxing when the aspect ratios differ.                                                                                                    |
| `output.container`               | `string`  | <p>Optional<br>Default: <code>mp4</code></p>                     | `mp4`, `mov`, `mkv`                    | Output container. `ProRes` always outputs `mov`; `AV1` and `VP9` always output `mp4`.                                                                                                                 |

## `destination` and `notifications`

| Parameter                  | Type     | Required / Default | Accepted values | Description                                                                        |
| -------------------------- | -------- | ------------------ | --------------- | ---------------------------------------------------------------------------------- |
| `destination.external`     | `object` | Optional           | —               | Write the output directly to your own S3 storage. Same shape as `source.external`. |
| `notifications.webhookUrl` | `string` | Optional           | —               | URL we `POST` a JSON notification to when the request completes or fails.          |

## Upscaling vs. Frame Interpolation

The request parameters are the same for every model. What changes is which `output` values the API honors, based on the models in `filters`:

| Models in `filters`                   | `output.resolution`             | `output.frameRate`                                          |
| ------------------------------------- | ------------------------------- | ----------------------------------------------------------- |
| Upscaling or enhancement only         | Used as the output size         | Forced to the source frame rate                             |
| Frame interpolation only              | Forced to the source resolution | Used as the output frame rate, unless the filter sets `fps` |
| Both (upscale, then interpolate)      | Used as the output size         | Used as the output frame rate, unless the filter sets `fps` |
| Neither (for example, denoising only) | Forced to the source resolution | Forced to the source frame rate                             |

Upscaling, denoising, SDR-to-HDR, and utility models all use the upscaling rules.

## Supported Encoders and Profiles

| Encoder (videoEncoder) | Profiles (videoProfile)                          | Containers          | Max Resolution | Max Bitrate |
| ---------------------- | ------------------------------------------------ | ------------------- | -------------- | ----------- |
| `H265`                 | `Main10` (default), `Main`                       | `mp4`, `mov`, `mkv` | 8192 × 8192    | 2000 Mbps   |
| `H264`                 | `High`                                           | `mp4`, `mov`, `mkv` | 4096 × 4096    | 2000 Mbps   |
| `AV1`                  | `8-bit` (default), `10-bit`                      | `mp4`               | 16384 × 8704   | 800 Mbps    |
| `ProRes`               | `422 HQ` (default), `422`, `422 LT`, `422 Proxy` | `mov`               | 16386 × 16386  | Uncapped    |
| `VP9`                  | `Good` (default), `Best`                         | `mp4`               | 8192 × 8192    | 2000 Mbps   |

Max resolution applies in either orientation. Requesting a resolution or bitrate above the encoder's limit returns `400 INVALID_INPUT`.

## Example

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

```bash
curl --request POST "https://api.topazlabs.com/video/" \
  --header "X-API-Key: $TOPAZ_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "source": {
      "container": "mp4",
      "size": 104857600,
      "duration": 30,
      "frameCount": 720,
      "frameRate": 24,
      "resolution": { "width": 1920, "height": 1080 }
    },
    "filters": [
      { "model": "prob-4" }
    ],
    "output": {
      "resolution": { "width": 3840, "height": 2160 },
      "frameRate": 24,
      "audioTransfer": "Copy",
      "audioCodec": "AAC",
      "videoEncoder": "H265",
      "videoProfile": "Main10",
      "container": "mp4"
    },
    "notifications": {
      "webhookUrl": "https://example.com/topaz-webhook"
    }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch('https://api.topazlabs.com/video/', {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    source: {
      container: 'mp4',
      size: 104857600,
      duration: 30,
      frameCount: 720,
      frameRate: 24,
      resolution: { width: 1920, height: 1080 },
    },
    filters: [
      { model: 'prob-4' },
    ],
    output: {
      resolution: { width: 3840, height: 2160 },
      frameRate: 24,
      audioTransfer: 'Copy',
      audioCodec: 'AAC',
      videoEncoder: 'H265',
      videoProfile: 'Main10',
      container: 'mp4',
    },
    notifications: {
      webhookUrl: 'https://example.com/topaz-webhook',
    },
  }),
});

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

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

{% endtab %}

{% tab title="Python" %}

```python
import os
import requests

response = requests.post(
    "https://api.topazlabs.com/video/",
    headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
    json={
        "source": {
            "container": "mp4",
            "size": 104857600,
            "duration": 30,
            "frameCount": 720,
            "frameRate": 24,
            "resolution": {"width": 1920, "height": 1080}
        },
        "filters": [
            {"model": "prob-4"}
        ],
        "output": {
            "resolution": {"width": 3840, "height": 2160},
            "frameRate": 24,
            "audioTransfer": "Copy",
            "audioCodec": "AAC",
            "videoEncoder": "H265",
            "videoProfile": "Main10",
            "container": "mp4"
        },
        "notifications": {
            "webhookUrl": "https://example.com/topaz-webhook"
        }
    }
)

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

For the full schema, see the [API Reference](https://developer.topazlabs.com/reference/).


# Upscaling & Enhancement

Precision, Generative, and Creative Upscaling for Images

### Best Models

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><p><a class="button secondary medium">Precision</a></p><p><strong>Standard 2</strong></p></td><td>Faithful, general-purpose upscaling for most images.</td><td><a href="/image-models/upscaling-and-enhancement/precision/standard-2">Standard 2</a></td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2F0qy01jhROd0Q37BvOU8N%2FStandard%202%20Slider.jpg?alt=media&amp;token=855d13d0-2c80-46e9-b5c9-f41c0d475c87">Standard 2 Slider.jpg</a></td></tr><tr><td><p><a class="button secondary medium">Generative</a></p><p><strong>Wonder 4</strong></p></td><td>Our most advanced generative upscaler. Fixes noise, blur, and compression in one pass.</td><td><a href="/image-models/upscaling-and-enhancement/generative/wonder-4">Wonder 4</a></td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Fu1ynI20dyDUh6nH5LQcP%2FWonder4_ex5-fur_slider.jpg?alt=media&amp;token=98581f32-df16-45b1-a010-e6b6eae122d6">Wonder4_ex5-fur_slider.jpg</a></td></tr><tr><td><p><a class="button secondary medium">Creative</a></p><p><strong>Bloom 2</strong></p></td><td>Our most advanced creative upscaler for GenAI images.</td><td><a href="/image-models/upscaling-and-enhancement/creative/bloom-2">Bloom 2</a></td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FxLiZNGWd3alt7DQwpy78%2FBloom2_Generated_Image_December_16_2025_-_10_17AM_slider.jpg?alt=media&amp;token=4f699d32-bb2c-46a2-a884-84907201833c">Bloom2_Generated_Image_December_16_2025_-_10_17AM_slider.jpg</a></td></tr></tbody></table>

### Upscaling Tiers

These are our three tiers of upscaling, ordered from most precise to most generated detail. Here's more information on how to choose the best tier for your needs:

* [**Precision Upscaling**](/image-models/upscaling-and-enhancement/precision) **—** Faithful to the source. Upscales and cleans without adding detail; best for print, graphics, and text. **Standard 2** is our recommended general-purpose model for this tier.
* [**Generative Upscaling**](/image-models/upscaling-and-enhancement/generative) **—** Recovers natural detail and fixes noise, blur, and compression in one pass; best for most photos. **Wonder 4** is our recommended general-purpose model for this tier.
* [**Creative Upscaling**](/image-models/upscaling-and-enhancement/creative) **—** Reimagines the image with bold new detail and optional prompts; best for GenAI and stylized images. **Bloom 2** is our recommended general-purpose model for this tier.

### Endpoints

| Endpoint                                               | Models                                                                                                |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
| `https://api.topazlabs.com/image/v1/enhance/async`     | Standard 2, High Fidelity 3, Low Resolution 2, Art & CGI, Text & Shapes                               |
| `https://api.topazlabs.com/image/v1/enhance-gen/async` | Wonder 4, Recover 3, Redefine, Standard Max, Detail Faces, Bloom 2, Bloom 1 Realism, Bloom 1 Creative |
| `https://api.topazlabs.com/image/v1/restore-gen/async` | Recover Faces, Face Recovery 3                                                                        |
| `https://api.topazlabs.com/image/v1/tool/async`        | Transparent Image Upscale (PNG in, PNG out)                                                           |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and set the output size with `output_width` and/or `output_height`. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 3.5" \
  -F "output_width=3840" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder 3.5");
form.append("output_width", "3840");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder 3.5",
            "output_width": "3840",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`) are the same for every image endpoint and are listed on the Request Parameters page. `/enhance/async`, `/enhance-gen/async`, and `/tool/async` also accept `output_width`, `output_height`, and `crop_to_fill` to set the output size. Model settings are listed on each model's page.

### Limitations

Most models accept up to 256 MP input and output, with each output side up to 32,000 pixels. Recover 3 and Standard Max accept up to 24 MP input. Transparent Image Upscale accepts and returns PNG only.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image 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/">https://developer.topazlabs.com/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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Precision Upscaling

Precision Upscaling for Images

* **Clean upscales of good sources.** You need a bigger version of a reasonably good image with no recovered or generated detail.
* **Fidelity over recovery.** Print reproduction, archival masters, forensic or scientific imagery, or any pipeline where "the model invented that" is unacceptable.
* **Graphics, product shots, and close inspection.** Anything that will be compared pixel for pixel against the original.
* **Specialized sources.** Very small images (Low Resolution 2), illustrations and renders (Art & CGI), text and logos (Text & Shapes), transparent PNGs (Transparent Image Upscale), and small or degraded faces (Recover Faces / Face Recovery 3).

{% hint style="success" %}
We recommend using **Standard 2** for precision upscaling.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></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><strong>Standard 2</strong></td><td>Faithful, general-purpose upscaling for most images.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYDLk41ND0n3B5ZXTohfH%2FStandard_2_slider.jpg?alt=media&#x26;token=b1a25216-c164-4a53-8dad-b934e95c0ab2">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYDLk41ND0n3B5ZXTohfH%2FStandard_2_slider.jpg?alt=media&#x26;token=b1a25216-c164-4a53-8dad-b934e95c0ab2</a></td><td><a href="/image-models/upscaling-and-enhancement/precision/standard-2">Standard 2</a></td></tr><tr><td><strong>High Fidelity 3</strong></td><td>Maximum detail retention for high-resolution, professional photos.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F9o9FiUMFgmBA7y85d4MI%2Fharvey_slider.jpg?alt=media&#x26;token=c445cd1f-3ae1-47f0-b7a0-6408867d2123">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F9o9FiUMFgmBA7y85d4MI%2Fharvey_slider.jpg?alt=media&#x26;token=c445cd1f-3ae1-47f0-b7a0-6408867d2123</a></td><td><a href="/image-models/upscaling-and-enhancement/precision/high-fidelity-3">High Fidelity 3</a></td></tr><tr><td><strong>Transparent Image Upscale</strong></td><td>Upscales PNGs while preserving the alpha channel.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FFdkCsneXQrcJOJuuqMeP%2FTransparent_Image_Upscale_slider.jpg?alt=media&#x26;token=1cb2b430-a194-425c-b4fa-33449c2068a0">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FFdkCsneXQrcJOJuuqMeP%2FTransparent_Image_Upscale_slider.jpg?alt=media&#x26;token=1cb2b430-a194-425c-b4fa-33449c2068a0</a></td><td><a href="/image-models/upscaling-and-enhancement/precision/transparent-image-upscale">Transparent Image Upscale</a></td></tr><tr><td><strong>Face Recovery 3</strong></td><td>Advanced restoration for badly degraded faces.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPOlLmEXscToalB3nhCen%2Frecovery3_indian_man_portrait_slider.jpg?alt=media&#x26;token=a3f99414-cc37-4c41-9b58-60e0d5c84bc3">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPOlLmEXscToalB3nhCen%2Frecovery3_indian_man_portrait_slider.jpg?alt=media&#x26;token=a3f99414-cc37-4c41-9b58-60e0d5c84bc3</a></td><td><a href="/image-models/upscaling-and-enhancement/precision/face-recovery-3">Face Recovery 3</a></td></tr><tr><td><strong>Detail Faces</strong></td><td>Adds realistic detail to faces in AI-generated images.</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FiYp97mkbF2junbvthulg%2FDetail%20Faces%20Slider.jpg?alt=media&amp;token=d648f4a7-cbb9-42da-a46a-e7d30ddf83c2">Detail Faces Slider.jpg</a></td><td><a href="/image-models/upscaling-and-enhancement/precision/detail-faces">Detail Faces</a></td></tr></tbody></table>

{% hint style="warning" %}
Standard 1, Text & Shapes, Art & CGI, Low Resolution 1, Low Resolution 2, High Fidelity 1, High Fidelity 2, Face Recovery 1, and Face Recovery 2 are legacy models and are no longer recommended. Wonder 3.5 replaces Text & Shapes, Art & CGI, Low Resolution 1, and Low Resolution 2. Face Recovery 3 replaced Face Recovery 1 and Face Recovery 2. High Fidelity 3 replaces High Fidelity 2. These models will be retired no sooner than December 9, 2026. See [Model Deprecations](/resources/model-deprecations) for dates and migration steps.
{% endhint %}

### Endpoints

| Endpoint                                               | Models                               |
| ------------------------------------------------------ | ------------------------------------ |
| `https://api.topazlabs.com/image/v1/enhance/async`     | Standard 2, High Fidelity 3          |
| `https://api.topazlabs.com/image/v1/enhance-gen/async` | Detail Faces                         |
| `https://api.topazlabs.com/image/v1/restore-gen/async` | Face Recovery 3                      |
| `https://api.topazlabs.com/image/v1/tool/async`        | Transparent Image Upscale (PNG only) |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and set the output size with `output_width` and/or `output_height`. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Standard V2" \
  -F "output_width=3840" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Standard V2");
form.append("output_width", "3840");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Standard V2",
            "output_width": "3840",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`) are the same for every image endpoint and are listed on the [Request Parameters](/getting-started/request-parameters) page. `/enhance/async`, `/enhance-gen/async`, and `/tool/async` also accept `output_width`, `output_height`, and `crop_to_fill` to set the output size. Model settings are listed on each model's page.

### Limitations

Most models accept up to 256 MP input and output, with each output side up to 32,000 pixels. Transparent Image Upscale accepts and returns PNG only.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image 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/">https://developer.topazlabs.com/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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Standard 2

General-purpose model balancing detail, sharpness, and noise reduction.

<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%2FYDLk41ND0n3B5ZXTohfH%2FStandard_2_slider.jpg?alt=media&#x26;token=b1a25216-c164-4a53-8dad-b934e95c0ab2">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYDLk41ND0n3B5ZXTohfH%2FStandard_2_slider.jpg?alt=media&#x26;token=b1a25216-c164-4a53-8dad-b934e95c0ab2</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FBird.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FBird%20Standard%202%204x.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FBird.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FBird%20Standard%202%204x.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Standard 2 is the general-purpose image upscaling model recommended for most photos and graphics. It delivers clean, reliable enlargement across a wide range of image types while maintaining true-to-input detail and structure.

### Best Use Cases

* **Everyday photo upscaling.** A dependable default for photos from phones, cameras, and the web.
* **Product and e-commerce images.** Clean, faithful enlargements for listings, catalogs, and marketing assets.
* **Print preparation.** Upscale images to print resolution without changing their character.
* **Mixed batches.** A safe single model for pipelines that process many image types.
* **Graphics with photographic content.** Banners, thumbnails, and composites that mix photos and design.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter                | Type      | Required / Default                           | Accepted values | Description                                                                                        |
| ------------------------ | --------- | -------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------- |
| `model`                  | `string`  | Required                                     | `"Standard V2"` | —                                                                                                  |
| `deblur_strength`        | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly blur is reduced.                                                                      |
| `decompression_strength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly compression artifacts are removed.                                                    |
| `denoise_strength`       | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                                     |
| `opacity`                | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with a standard upscale of the original. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Standard 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Standard V2" \
  -F "denoise_strength=0.5" \
  -F "deblur_strength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Standard V2");
form.append("denoise_strength", "0.5");
form.append("deblur_strength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Standard V2",
            "denoise_strength": "0.5",
            "deblur_strength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Standard 1

Deprecated. Replaced by Standard 2.

{% hint style="warning" %}
**Standard 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Standard 2 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Standard 1** is an earlier version of our upscaling models. It is deprecated and no longer recommended for new integrations.

Use **Standard 2** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

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

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Standard 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Standard"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Standard");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Standard"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Standard 2

1. Keep the `/image/v1/enhance/async` endpoint and set `model` to `Standard V2`.
2. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# High Fidelity 3

Improved fidelity upscaling for high-resolution images and professional photos

<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%2F9o9FiUMFgmBA7y85d4MI%2Fharvey_slider.jpg?alt=media&#x26;token=c445cd1f-3ae1-47f0-b7a0-6408867d2123">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F9o9FiUMFgmBA7y85d4MI%2Fharvey_slider.jpg?alt=media&#x26;token=c445cd1f-3ae1-47f0-b7a0-6408867d2123</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/harvey_before.webp&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/harvey_after.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/harvey_before.webp&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/harvey_after.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2F3oaafaU8wFSHItlRhj6z%2Fcoffee_shop_slider.jpg?alt=media&#x26;token=088a28e1-4f44-46b4-84bb-854063c770a5">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F3oaafaU8wFSHItlRhj6z%2Fcoffee_shop_slider.jpg?alt=media&#x26;token=088a28e1-4f44-46b4-84bb-854063c770a5</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/coffee_shop_before.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/coffee_shop_after.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/coffee_shop_before.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/coffee_shop_after.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

High Fidelity 3 is a precision upscaling model designed to deliver the best results on high-resolution sources. This model improves on High Fidelity 2 with enhanced resolution scaling and minimal detail loss or artifacting. It focuses on preserving original image structure and realism, reducing the plasticky appearance and excess artifacts seen in earlier models while maintaining a clean, natural output.

High Fidelity 3 performs best on medium to high and high quality images, including modern photos, RAW images, and smartphone photography, and supports a wide range of content such as portraits, landscapes, wildlife, and images with graphics.

### Best Use Cases

* **Professional photography.** Enlarge camera originals for print, licensing, and large-format display.
* **Portraits and landscapes.** Keep skin, foliage, and fine texture natural at higher resolution.
* **Stock and archive libraries.** Upscale high-quality catalogs without changing their look.
* **Images with graphics or text.** Preserve clean edges on photos that include logos or overlays.
* **Final-step upscaling.** Enlarge images that have already been edited and color graded.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter          | Type      | Required / Default                             | Accepted values              | Description                                                                                        |
| ------------------ | --------- | ---------------------------------------------- | ---------------------------- | -------------------------------------------------------------------------------------------------- |
| `model`            | `string`  | Required                                       | `"Upscale High Fidelity V3"` | —                                                                                                  |
| `opacity`          | `decimal` | <p>Optional<br>Default: <code>1.0</code></p>   | `0.0` to `1.0`               | Blends the result with a standard upscale of the original. Lower values keep more of the original. |
| `recoveryStrength` | `decimal` | <p>Optional<br>Default: <code>0.333</code></p> | `0.0` to `1.0`               | How strongly fine detail is recovered.                                                             |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**High Fidelity 3** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Upscale High Fidelity V3" \
  -F "recoveryStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Upscale High Fidelity V3");
form.append("recoveryStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Upscale High Fidelity V3",
            "recoveryStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# High Fidelity 2

Fidelity upscaling for high-resolution images and professional photos

{% hint style="warning" %}
**High Fidelity 2 is deprecated** and will be retired no sooner than January 1, 2027. Use High Fidelity 3 instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

<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%2FuRG1s252U7MdGBsFAGSi%2FHigh_Fidelity_2_(Ex_1)_slider.jpg?alt=media&#x26;token=d12342c6-3b12-46f5-906d-7bd3ae5df4c3">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuRG1s252U7MdGBsFAGSi%2FHigh_Fidelity_2_(Ex_1)_slider.jpg?alt=media&#x26;token=d12342c6-3b12-46f5-906d-7bd3ae5df4c3</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FHigh%20Fidelity%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FHigh%20Fidelity%20v2%2002.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FHigh%20Fidelity%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FHigh%20Fidelity%20v2%2002.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2F3xxN4tLs7gw6RlQMnWyq%2FHigh_Fidelity_2_(Ex_2)_slider.jpg?alt=media&#x26;token=f9215441-0093-49cb-b4d5-6a4664d85146">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F3xxN4tLs7gw6RlQMnWyq%2FHigh_Fidelity_2_(Ex_2)_slider.jpg?alt=media&#x26;token=f9215441-0093-49cb-b4d5-6a4664d85146</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-70080.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FHigh%20Fid%204xpexels-pixabay-70080-gigapixel-high%20fidelity%20v2-4x.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-70080.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FHigh%20Fid%204xpexels-pixabay-70080-gigapixel-high%20fidelity%20v2-4x.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

High Fidelity 2 is a precision upscaling model designed for images that are already high resolution and well captured. It focuses on enlarging images while preserving fine detail, natural texture, and structural accuracy, avoiding aggressive reconstruction or over-sharpening.

This model is best used when the source image quality is strong and the goal is clean, accurate enlargement rather than detail recovery.

### Best Use Cases

* **High-resolution photos.** Enlarge well-captured images with minimal change.
* **Professional photography.** Upscale camera originals for print.
* **Fine-detail preservation.** Keep existing texture intact.
* **Stock libraries.** Upscale high-quality catalogs.
* **Final-step upscaling.** Enlarge edited images.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter               | Type      | Required / Default                           | Accepted values      | Description                                                                                        |
| ----------------------- | --------- | -------------------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------- |
| `model`                 | `string`  | Required                                     | `"High Fidelity V2"` | —                                                                                                  |
| `deblurStrength`        | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`       | How strongly blur is reduced.                                                                      |
| `decompressionStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`       | How strongly compression artifacts are removed.                                                    |
| `denoiseStrength`       | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`       | How strongly noise is removed.                                                                     |
| `opacity`               | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`       | Blends the result with a standard upscale of the original. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**High Fidelity 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=High Fidelity V2" \
  -F "denoiseStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "High Fidelity V2");
form.append("denoiseStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "High Fidelity V2",
            "denoiseStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to High Fidelity 3

1. Keep the `/image/v1/enhance/async` endpoint and set `model` to `Upscale High Fidelity V3`.
2. Replace `deblurStrength`, `decompressionStrength`, and `denoiseStrength` with `recoveryStrength`. `opacity` carries over.
3. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# High Fidelity 1

Deprecated. Replaced by High Fidelity 3.

{% hint style="warning" %}
**High Fidelity 1 is deprecated** and will be retired no sooner than January 1, 2027. Use High Fidelity 3 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**High Fidelity 1** is an earlier version of our upscaling models. It is deprecated and no longer recommended for new integrations.

Use **High Fidelity 3** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values   | Description |
| --------- | -------- | ------------------ | ----------------- | ----------- |
| `model`   | `string` | Required           | `"High Fidelity"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**High Fidelity 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=High Fidelity"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "High Fidelity");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "High Fidelity"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to High Fidelity 3

1. Keep the `/image/v1/enhance/async` endpoint and set `model` to `Upscale High Fidelity V3`.
2. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Low Resolution 2

Recovery-focused upscaling for low resolution or heavily compressed sources

{% hint style="warning" %}
**Low Resolution 2 is deprecated** and will be retired no sooner than December 9, 2026. Use Wonder 3.5 instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

<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%2FArGXnhjkFqv15vpJ0ks4%2FLow_Resolution_2_slider.jpg?alt=media&#x26;token=e8b65d4f-8f81-4ced-a8dc-863be98b87f8">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FArGXnhjkFqv15vpJ0ks4%2FLow_Resolution_2_slider.jpg?alt=media&#x26;token=e8b65d4f-8f81-4ced-a8dc-863be98b87f8</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-ivars-773583%201.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGrass%20Field%20Low%20Res%204xpexels-ivars-773583%201-gigapixel-low%20resolution%20v2-4x.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-ivars-773583%201.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGrass%20Field%20Low%20Res%204xpexels-ivars-773583%201-gigapixel-low%20resolution%20v2-4x.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Low Resolution 2 is optimized for images that start with limited detail, heavy compression, or small dimensions. It focuses on intelligent reconstruction to recover usable detail from challenging sources without modifying the source characteristics.

### Best Use Cases

* **Thumbnails and small web images.** Enlarge tiny images into usable sizes.
* **Heavily compressed JPEGs.** Clean up blockiness while upscaling.
* **User-generated content.** Improve low-quality uploads from social and messaging apps.
* **Screenshots and frame grabs.** Upscale captures that started at low resolution.
* **Legacy assets.** Bring older, small-format images up to modern sizes.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter               | Type      | Required / Default                           | Accepted values       | Description                                                                                        |
| ----------------------- | --------- | -------------------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------- |
| `model`                 | `string`  | Required                                     | `"Low Resolution V2"` | —                                                                                                  |
| `deblurStrength`        | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`        | How strongly blur is reduced.                                                                      |
| `decompressionStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`        | How strongly compression artifacts are removed.                                                    |
| `denoiseStrength`       | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`        | How strongly noise is removed.                                                                     |
| `opacity`               | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`        | Blends the result with a standard upscale of the original. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Low Resolution 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Low Resolution V2" \
  -F "decompressionStrength=0.7" \
  -F "denoiseStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Low Resolution V2");
form.append("decompressionStrength", "0.7");
form.append("denoiseStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Low Resolution V2",
            "decompressionStrength": "0.7",
            "denoiseStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Transparent Image Upscale

Preserve Alpha Transparency

<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%2FFdkCsneXQrcJOJuuqMeP%2FTransparent_Image_Upscale_slider.jpg?alt=media&#x26;token=1cb2b430-a194-425c-b4fa-33449c2068a0">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FFdkCsneXQrcJOJuuqMeP%2FTransparent_Image_Upscale_slider.jpg?alt=media&#x26;token=1cb2b430-a194-425c-b4fa-33449c2068a0</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F78c798f8-9440-42e9-90e0-8f997dfc806f.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FTransparent%20Upscale%204x.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F78c798f8-9440-42e9-90e0-8f997dfc806f.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FTransparent%20Upscale%204x.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

A specialized upscaling model designed specifically for images with transparency, including logos, icons, titles, and graphic overlays. This model enhances resolution while preserving alpha channel integrity, ensuring that edges, cutouts, and semi-transparent regions remain clean and artifact-free without affecting the background.

### Best Use Cases

* **Logos and icons.** Upscale transparent brand assets without halos.
* **Lower thirds and titles.** Prepare broadcast and video graphics for higher resolutions.
* **Product cutouts.** Enlarge isolated products while keeping clean transparent edges.
* **UI elements.** Upscale interface assets and stickers for high-DPI screens.
* **Composited graphics.** Any overlay that needs a clean alpha channel at a larger size.

### Endpoint

`https://api.topazlabs.com/image/v1/tool/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values          | Description |
| --------- | -------- | ------------------ | ------------------------ | ----------- |
| `model`   | `string` | Required           | `"Transparency Upscale"` | —           |

Transparent Image Upscale has no model-specific parameters.

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Transparent Image Upscale** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/tool/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@logo.png" \
  -F "model=Transparency Upscale"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("logo.png"));
form.append("model", "Transparency Upscale");

const response = await fetch("https://api.topazlabs.com/image/v1/tool/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("logo.png", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/tool/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Transparency Upscale"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts PNG input only and returns PNG output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Detail Faces

Improve realism in AI-generated faces

<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%2FZMTUuspa6bSZ5ZcRvAW1%2FDetail_(Faces)_slider.jpg?alt=media&#x26;token=13930899-ca61-426b-9a15-9272b4852474">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZMTUuspa6bSZ5ZcRvAW1%2FDetail_(Faces)_slider.jpg?alt=media&#x26;token=13930899-ca61-426b-9a15-9272b4852474</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-alexandrecanteiro-33406874%201.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fdf0dac7c-b1b4-45af-b821-2d7f1025df54.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-alexandrecanteiro-33406874%201.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fdf0dac7c-b1b4-45af-b821-2d7f1025df54.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Detail Faces** improves facial detail and realism in AI-generated images. It adds natural detail to skin, hair, and eyes and reduces the plastic, uncanny look common in generated faces.

It works best on large images where faces in the input are at least 512 × 512 pixels. For small or degraded faces, use Recover Faces or Face Recovery 3.

### Best Use Cases

* **AI-generated portraits.** Replace plastic skin with natural texture.
* **Marketing and ad creative.** Make generated people look more lifelike.
* **Character and avatar art.** Add detail to eyes, hair, and skin.
* **Clothing and fine texture.** Improve clarity in fabric and accessories around the subject.
* **Post-Bloom refinement.** Refine faces after a creative upscale.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter        | Type      | Required / Default | Accepted values | Description                        |
| ---------------- | --------- | ------------------ | --------------- | ---------------------------------- |
| `model`          | `string`  | Required           | `"Detail"`      | —                                  |
| `detailStrength` | `decimal` | Optional           | `0.0` to `10.0` | How much detail is added to faces. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Detail Faces** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Detail" \
  -F "detailStrength=5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Detail");
form.append("detailStrength", "5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Detail",
            "detailStrength": "5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

Works best when faces in the input are at least 512 × 512 pixels.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Art & CGI

Precision upscaling for artwork, drawings, illustrations, and computer graphics.

{% hint style="warning" %}
**Art & CGI** is a legacy model and may be deprecated in the future. It has been replaced by **Wonder 3.5**. For more information, reference our [Model Deprecations](/resources/model-deprecations) page.
{% endhint %}

<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%2Fht7XW9ICamesjNNfoqhx%2FArt__CGI_(Ex_1)_slider.jpg?alt=media&#x26;token=bcc675a0-b1c4-4717-8143-dd1980549680">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fht7XW9ICamesjNNfoqhx%2FArt__CGI_(Ex_1)_slider.jpg?alt=media&#x26;token=bcc675a0-b1c4-4717-8143-dd1980549680</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F948688_9486882.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArt948688_9486882-gigapixel-cgi-4x.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F948688_9486882.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArt948688_9486882-gigapixel-cgi-4x.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FuEuX24LDXRhq5sgEdLGZ%2FArt__CGI_(Ex_2)_slider.jpg?alt=media&#x26;token=0bd821d5-8d8a-403e-99b9-d8942ad85a1d">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuEuX24LDXRhq5sgEdLGZ%2FArt__CGI_(Ex_2)_slider.jpg?alt=media&#x26;token=0bd821d5-8d8a-403e-99b9-d8942ad85a1d</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-steve-28918449.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArtpexels-steve-28918449-gigapixel-cgi-4x.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-steve-28918449.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArtpexels-steve-28918449-gigapixel-cgi-4x.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Art & CGI is tailored for non-photographic imagery such as illustrations, digital art, renders, and stylized graphics. It preserves clean edges, flat color regions, and intentional line work without introducing photographic texture.

### Best Use Cases

* **Illustrations and digital art.** Enlarge artwork while keeping lines and color fills clean.
* **3D and CGI renders.** Upscale renders without adding photographic grain.
* **Game and animation assets.** Prepare textures, concept art, and stills for higher resolutions.
* **Comics and line art.** Keep inked lines crisp at larger sizes.
* **Stylized marketing graphics.** Upscale brand illustrations for print and large displays.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"CGI"`         | —                                                                                                  |
| `deblurStrength`  | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly blur is reduced.                                                                      |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                                     |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with a standard upscale of the original. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Art & CGI** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=CGI" \
  -F "deblurStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "CGI");
form.append("deblurStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "CGI",
            "deblurStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Text & Shapes

Clean upscaling for graphics and typography

{% hint style="warning" %}
**Text & Shapes** is a legacy model and may be deprecated in the future. It has been replaced by **Wonder 3.5**. For more information, reference our [Model Deprecations](/resources/model-deprecations) page.
{% endhint %}

<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%2Fdxb5mvYD3pEZ48F9HGML%2FPreserve_Text_slider.jpg?alt=media&#x26;token=595ca78f-6995-47d9-a6dd-eb80f8eae810">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdxb5mvYD3pEZ48F9HGML%2FPreserve_Text_slider.jpg?alt=media&#x26;token=595ca78f-6995-47d9-a6dd-eb80f8eae810</a></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdxb5mvYD3pEZ48F9HGML%2FPreserve_Text_slider.jpg?alt=media&#x26;token=595ca78f-6995-47d9-a6dd-eb80f8eae810">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdxb5mvYD3pEZ48F9HGML%2FPreserve_Text_slider.jpg?alt=media&#x26;token=595ca78f-6995-47d9-a6dd-eb80f8eae810</a></td></tr></tbody></table>

### Model Overview

Text & Shapes is designed for images dominated by typography, logos, UI elements, and geometric shapes. It prioritizes edge clarity and shape accuracy during upscaling.

### Best Use Cases

* **Logos and brand marks.** Enlarge logos without soft or wobbly edges.
* **Screenshots and UI.** Upscale interface captures while keeping text readable.
* **Documents and scans.** Improve legibility of text-heavy images.
* **Charts and diagrams.** Keep lines, labels, and shapes crisp.
* **Signage and graphic design.** Prepare text-based artwork for large formats.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter               | Type      | Required / Default                           | Accepted values | Description                                                                                        |
| ----------------------- | --------- | -------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------- |
| `model`                 | `string`  | Required                                     | `"Text Refine"` | —                                                                                                  |
| `deblurStrength`        | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly blur is reduced.                                                                      |
| `decompressionStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly compression artifacts are removed.                                                    |
| `denoiseStrength`       | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                                     |
| `opacity`               | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with a standard upscale of the original. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Text & Shapes** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Text Refine" \
  -F "decompressionStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Text Refine");
form.append("decompressionStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Text Refine",
            "decompressionStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Low Resolution 1

Deprecated. Replaced by Low Resolution 2.

{% hint style="warning" %}
**Low Resolution 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Low Resolution 2 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Low Resolution 1** is an earlier version of our upscaling models. It is deprecated and no longer recommended for new integrations.

Use **Low Resolution 2** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values    | Description |
| --------- | -------- | ------------------ | ------------------ | ----------- |
| `model`   | `string` | Required           | `"Low Resolution"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Low Resolution 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Low Resolution"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Low Resolution");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Low Resolution"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Low Resolution 2

1. Keep the `/image/v1/enhance/async` endpoint and set `model` to `Low Resolution V2`.
2. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Low Resolution 2

{% hint style="warning" %}
**Low Resolution 2 is deprecated** and will be retired no sooner than January 1, 2027. Use Wonder 3.5 instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

### Model Overview

**Low Resolution 2** is optimized for images that start with limited detail, heavy compression, or small dimensions. It focuses on intelligent reconstruction to recover usable detail from challenging sources without modifying the source characteristics.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values       | Description |
| --------- | -------- | ------------------ | --------------------- | ----------- |
| `model`   | `string` | Required           | `"Low Resolution V2"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Low Resolution 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Low Resolution V2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Low Resolution V2");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Low Resolution V2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Face Recovery 3

Improved face restoration for low-resolution images

<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%2FPOlLmEXscToalB3nhCen%2Frecovery3_indian_man_portrait_slider.jpg?alt=media&#x26;token=a3f99414-cc37-4c41-9b58-60e0d5c84bc3">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPOlLmEXscToalB3nhCen%2Frecovery3_indian_man_portrait_slider.jpg?alt=media&#x26;token=a3f99414-cc37-4c41-9b58-60e0d5c84bc3</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_indian_man_portrait_before.jpeg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_indian_man_portrait_after.png&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_indian_man_portrait_before.jpeg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_indian_man_portrait_after.png&#x26;src2label=After&#x26;zoom=1.0</a></td></tr><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%2FKhBaXQvJCToGYcOCCbKO%2Frecovery3_pexels_16845071_slider.jpg?alt=media&#x26;token=312e70cb-e186-4fe8-9ab9-e8c2b7af6835">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FKhBaXQvJCToGYcOCCbKO%2Frecovery3_pexels_16845071_slider.jpg?alt=media&#x26;token=312e70cb-e186-4fe8-9ab9-e8c2b7af6835</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_pexels_16845071_before.webp&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_pexels_16845071_after.png&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_pexels_16845071_before.webp&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frecovery3_pexels_16845071_after.png&#x26;src2label=After&#x26;zoom=1.0</a></td></tr></tbody></table>

### Model Overview

**Face Recovery 3** restores recognizable facial detail from low-resolution, damaged, or heavily compressed images. It produces more realistic, natural-looking faces than earlier versions and automatically detects and processes every face in the image.

It works best when faces in the input are smaller than 512 × 512 pixels. For larger faces, use Detail Faces.

### Best Use Cases

* **Badly degraded portraits.** Recover faces that other models leave unrecognizable.
* **Old and scanned photos.** Restore faces in archival and family images.
* **Low-resolution people photos.** Make small faces usable at higher resolutions.
* **Group shots.** Process every face in the image in one request.
* **Restoration pipelines.** Pair with Dust & Scratch 2 and an upscaler for full photo restoration.

### Endpoint

`https://api.topazlabs.com/image/v1/restore-gen/async`

### Model Parameters

| Parameter  | Type      | Required / Default                           | Accepted values      | Description                      |
| ---------- | --------- | -------------------------------------------- | -------------------- | -------------------------------- |
| `model`    | `string`  | Required                                     | `"Face Recovery V3"` | —                                |
| `strength` | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`       | How strongly faces are restored. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Face Recovery 3** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/restore-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Face Recovery V3" \
  -F "strength=0.8"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Face Recovery V3");
form.append("strength", "0.8");

const response = await fetch("https://api.topazlabs.com/image/v1/restore-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/restore-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Face Recovery V3",
            "strength": "0.8"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

Works best when faces in the input are smaller than 512 × 512 pixels.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Face Recovery 2

Deprecated. Replaced by Face Recovery 3.

{% hint style="warning" %}
**Face Recovery 2 is deprecated** and will be retired no sooner than January 1, 2027. Use Face Recovery 3 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Face Recovery 2** is an earlier version of our face recovery models. It is deprecated and no longer recommended for new integrations.

Use **Face Recovery 3** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/restore-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values      | Description |
| --------- | -------- | ------------------ | -------------------- | ----------- |
| `model`   | `string` | Required           | `"Face Recovery V2"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Face Recovery 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/restore-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Face Recovery V2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Face Recovery V2");

const response = await fetch("https://api.topazlabs.com/image/v1/restore-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/restore-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Face Recovery V2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Face Recovery 3

1. Use the `/image/v1/restore-gen/async` endpoint and set `model` to `Face Recovery V3`.
2. Pricing is 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Face Recovery 1

Deprecated. Replaced by Face Recovery 3.

{% hint style="warning" %}
**Face Recovery 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Face Recovery 3 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Face Recovery 1** is an earlier version of our face recovery models. It is deprecated and no longer recommended for new integrations.

Use **Face Recovery 3** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/restore-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values   | Description |
| --------- | -------- | ------------------ | ----------------- | ----------- |
| `model`   | `string` | Required           | `"Face Recovery"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Face Recovery 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/restore-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Face Recovery"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Face Recovery");

const response = await fetch("https://api.topazlabs.com/image/v1/restore-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/restore-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Face Recovery"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Face Recovery 3

1. Use the `/image/v1/restore-gen/async` endpoint and set `model` to `Face Recovery V3`.
2. Pricing is 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Generative Upscaling

Generative Upscaling for Images

* **Mixed, light-to-moderate problems.** Some noise, some softness, some compression, fixed in a single pass that also upscales.
* **One request instead of a pipeline.** Replace a chained Denoise → Sharpen → Upscale workflow with one Wonder call for most real-world photos.
* **Old and low-quality photos.** Restore natural, non-synthetic detail in sources that conventional upscaling can't improve.
* **Severe single problems.** Step to the dedicated model when one issue dominates: Denoise Max for heavy noise, Super Focus 3 for heavy blur, Dust & Scratch 2 for physical damage, Face Recovery 3 for faces, Recover 3 for almost-no-detail sources. Run it first, then Wonder.

{% hint style="success" %}
We recommend using **Wonder 4** for generative upscaling.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></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><strong>Wonder 4</strong></td><td>Our most advanced generative upscaler. Fixes noise, blur, and compression in one pass.</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Fu1ynI20dyDUh6nH5LQcP%2FWonder4_ex5-fur_slider.jpg?alt=media&amp;token=98581f32-df16-45b1-a010-e6b6eae122d6">Wonder4_ex5-fur_slider.jpg</a></td><td><a href="/image-models/upscaling-and-enhancement/generative/wonder-4">Wonder 4</a></td></tr><tr><td><strong>Recover 3</strong></td><td>Recovers natural detail in heavily degraded, very low-resolution photos.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FvRLzvnBPMlTOFNle90E3%2FRecover_3_(Ex_1)_slider.jpg?alt=media&#x26;token=bcc3eb1b-1493-491e-a0b7-7aa16b0bea0a">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FvRLzvnBPMlTOFNle90E3%2FRecover_3_(Ex_1)_slider.jpg?alt=media&#x26;token=bcc3eb1b-1493-491e-a0b7-7aa16b0bea0a</a></td><td><a href="/image-models/upscaling-and-enhancement/generative/recover-3">Recover 3</a></td></tr><tr><td><strong>Redefine</strong></td><td>Prompt, creativity, and texture controls over how much is regenerated.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FqF9NHT6FpcaYWbLlp7CY%2FRedefine_Realistic_-_Creative_(Ex_1)_slider.jpg?alt=media&#x26;token=fdf2e41d-e6d9-4b44-8dbb-07f0ced617c5">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FqF9NHT6FpcaYWbLlp7CY%2FRedefine_Realistic_-_Creative_(Ex_1)_slider.jpg?alt=media&#x26;token=fdf2e41d-e6d9-4b44-8dbb-07f0ced617c5</a></td><td><a href="/image-models/upscaling-and-enhancement/generative/redefine">Redefine</a></td></tr><tr><td><strong>Standard Max</strong></td><td>Faster generative upscaling with natural results.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FBYjkdCtmh1TYSyHYbU4P%2FStandard_Max_(Ex_1)_slider.jpg?alt=media&#x26;token=829b74b4-8d6a-47a4-8eb0-684bb85552eb">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FBYjkdCtmh1TYSyHYbU4P%2FStandard_Max_(Ex_1)_slider.jpg?alt=media&#x26;token=829b74b4-8d6a-47a4-8eb0-684bb85552eb</a></td><td><a href="/image-models/upscaling-and-enhancement/generative/standard-max">Standard Max</a></td></tr></tbody></table>

{% hint style="warning" %}
Wonder 1, Wonder 2, Wonder 3, Wonder 3.5, Recover 1, and Recover 2 are legacy models and are no longer recommended. Wonder 4 replaces Wonder 1, Wonder 2, Wonder 3, and Wonder 3.5. Recover 3 replaces Recover 1 and Recover 2. These models will be retired no sooner than December 9, 2026. See [Model Deprecations](/resources/model-deprecations) for dates and migration steps.
{% endhint %}

### Endpoints

| Endpoint                                               | Models                                      |
| ------------------------------------------------------ | ------------------------------------------- |
| `https://api.topazlabs.com/image/v1/enhance-gen/async` | Wonder 4, Recover 3, Redefine, Standard Max |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and set the output size with `output_width` and/or `output_height`. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 4" \
  -F "output_width=3840" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder 4");
form.append("output_width", "3840");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder 4",
            "output_width": "3840",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`, `output_width`, `output_height`, `crop_to_fill`) are the same for every generative upscaling model and are listed on the [Request Parameters](/getting-started/request-parameters) page. Model settings are listed on each model's page.

### Limitations

Wonder 4 and Redefine accept up to 256 MP input and output, with each output side up to 32,000 pixels. Recover 3 and Standard Max accept up to 24 MP input.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image 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/">https://developer.topazlabs.com/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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Wonder 4

Our most advanced all-purpose image model for automatic enhancement, restoring focus and faces, denoising, restoration, and upscaling at any resolution.

<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://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FrNI7hu6WeqBBcIiMrCGn%2FWonder4_ex1-texture_slider.jpg?alt=media&amp;token=dcbfd95f-bafb-4b98-a056-8302e13e69af">Wonder4_ex1-texture_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-texture.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-output.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-texture.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex1-output.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Fq1lkXp9yIktVwHlFXHxs%2FWonder4_ex2-animals_slider.jpg?alt=media&amp;token=092d112d-82e8-4bd2-be22-5bb3ffedfefb">Wonder4_ex2-animals_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex2-animals.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex2-output.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex2-animals.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex2-output.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2F7vkUm52IkyNp9odXUYPh%2FWonder4_ex3-oldphoto_slider.jpg?alt=media&amp;token=8bc3b2d2-8e7f-48ba-8589-98a02f2f0ae8">Wonder4_ex3-oldphoto_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex3-oldphoto.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex3-output.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex3-oldphoto.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex3-output.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Fu1ynI20dyDUh6nH5LQcP%2FWonder4_ex5-fur_slider.jpg?alt=media&amp;token=98581f32-df16-45b1-a010-e6b6eae122d6">Wonder4_ex5-fur_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-fur.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-output.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-fur.avif&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwonder4_ex5-output.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Wonder 4** is our most advanced all-in-one model for enhancement and upscaling, designed to automatically improve image quality in one step without manual adjustments. From low-resolution photos to high-resolution images, Wonder 4 intelligently identifies and corrects noise, blur, compression artifacts, image damage, and facial details, while preserving natural textures.

Wonder 4 uses a new mixture-of-experts architecture trained to intelligently identify and correct multiple image problems at once. Unlike traditional models that apply the same corrections across an entire image, Wonder 4 analyzes each region independently and applies the enhancements it needs. This intelligent approach delivers superior results in a single pass, without chaining multiple models.

### Best Use Cases

* **All-in-one enhancement:** Automatically combines upscaling, denoising, deblurring, compression artifact removal, and face recovery in a single pass, with no parameters or manual adjustments.
* **Intelligent region-based processing:** Uses a mixture-of-experts architecture to identify and apply the appropriate corrections to different areas of an image.
* **Superior image quality:** Delivers higher-quality results than Wonder 3.5 and more cohesive enhancement than chaining multiple specialized models together, while preserving natural textures and detail.
* **Low- and high-resolution support:** Enhances a wide range of images, from low-quality photos and damaged scans to high-resolution sources.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values | Description |
| --------- | -------- | ------------------ | --------------- | ----------- |
| `model`   | `string` | Required           | `"Wonder 4"`    | —           |

For request parameters shared by every image endpoint, see [Request Parameters](/getting-started/request-parameters/image). The full schema is also available in our [API Reference](https://developer.topazlabs.com/reference/) page.

### Model Pricing

**Wonder 4** costs 1 credit per every 8 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 2       |
| 4000×3000  | 12 MP phone          | 12.00     | 2       |
| 5472×3648  | 20 MP camera         | 19.96     | 3       |
| 6000×4000  | 24 MP camera         | 24.00     | 3       |
| 7680×4320  | 8K UHD               | 33.18     | 5       |
| 7952×5304  | 42 MP camera         | 42.18     | 6       |
| 8192×5464  | 45 MP camera         | 44.76     | 6       |
| 9504×6336  | 61 MP camera         | 60.22     | 8       |
| 11648×8736 | 100 MP medium format | 101.76    | 13      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 2  | 3  | 4  | 5  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 4"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder 4");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder 4"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Wonder 3.5

Highest-quality generative upscaling for images with greater detail, precision, and realism

<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%2F0YGbp7730I0YAPUQc6Ce%2FWonder35_019f5d41-1fa8-77e9-8a42-934e47622648_slider.jpg?alt=media&#x26;token=ac6a9d0d-7260-4b26-9d54-e00b6bc3e18b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F0YGbp7730I0YAPUQc6Ce%2FWonder35_019f5d41-1fa8-77e9-8a42-934e47622648_slider.jpg?alt=media&#x26;token=ac6a9d0d-7260-4b26-9d54-e00b6bc3e18b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F019f5d41-1fa8-77e9-8a42-934e47622648.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F019f5d41-1fa8-77e9-8a42-934e47622648-wonder3.5.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F019f5d41-1fa8-77e9-8a42-934e47622648.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F019f5d41-1fa8-77e9-8a42-934e47622648-wonder3.5.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FGdlznUNfoJDn0xFUTTpI%2FWonder35_pexels-tim-yisa-1040794498-20452012_slider.jpg?alt=media&#x26;token=ed85d5f1-4efb-4c42-8f62-7e8576d141e4">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FGdlznUNfoJDn0xFUTTpI%2FWonder35_pexels-tim-yisa-1040794498-20452012_slider.jpg?alt=media&#x26;token=ed85d5f1-4efb-4c42-8f62-7e8576d141e4</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-tim-yisa-1040794498-20452012.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-tim-yisa-1040794498-20452012-wonder3.5.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-tim-yisa-1040794498-20452012.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-tim-yisa-1040794498-20452012-wonder3.5.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FEJwgdpydyHjMHo2AeEVU%2FWonder35_OutdoorLifestyleProductPhotographyLosAngelesPhotographerBrianBrown-2_slider.jpg?alt=media&#x26;token=0979ce11-3631-446e-b24c-56738d0f984b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FEJwgdpydyHjMHo2AeEVU%2FWonder35_OutdoorLifestyleProductPhotographyLosAngelesPhotographerBrianBrown-2_slider.jpg?alt=media&#x26;token=0979ce11-3631-446e-b24c-56738d0f984b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/bella-vita-skai-aquatic.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/bella-vita-skai-aquatic-wonder3.5.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/bella-vita-skai-aquatic.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/bella-vita-skai-aquatic-wonder3.5.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Wonder 3.5 is an updated generative upscaling model designed to deliver higher levels of detail, precision, and natural realism across a wide range of image types. It supports both high-quality inputs and heavily degraded or compressed images, with selectable Low, Medium, and High enhancement levels for greater control across varying input conditions.

Building on Wonder 3, Wonder 3.5 produces finer detail with fewer repetitive patterns and improved handling of visual noise. It also delivers greater precision when enhancing structured graphics such as tables and charts, while maintaining strong performance across portraits, landscapes, wildlife, and complex textures.

### Best Use Cases

* **Any real-world photo.** The best default for images with a mix of noise, softness, or compression.
* **Low-resolution and compressed images.** Transformative enhancement with clearer detail and sharper text.
* **Portraits, landscapes, and wildlife.** Natural skin, foliage, fur, and texture at higher resolution.
* **Charts, tables, and documents.** More precise reconstruction of structured graphics.
* **One-request pipelines.** Replace separate denoise, sharpen, and upscale steps with one call.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter             | Type     | Required / Default                            | Accepted values               | Description                                                                       |
| --------------------- | -------- | --------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------- |
| `model`               | `string` | Required                                      | `"Wonder 3.5"`                | —                                                                                 |
| `enhancementStrength` | `string` | <p>Optional<br>Default: <code>high</code></p> | `"low"`, `"medium"`, `"high"` | How much the model enhances the image. Use lower levels for high-quality sources. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Wonder 3.5** costs 1 credit per every 8 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 2       |
| 4000×3000  | 12 MP phone          | 12.00     | 2       |
| 5472×3648  | 20 MP camera         | 19.96     | 3       |
| 6000×4000  | 24 MP camera         | 24.00     | 3       |
| 7680×4320  | 8K UHD               | 33.18     | 5       |
| 7952×5304  | 42 MP camera         | 42.18     | 6       |
| 8192×5464  | 45 MP camera         | 44.76     | 6       |
| 9504×6336  | 61 MP camera         | 60.22     | 8       |
| 11648×8736 | 100 MP medium format | 101.76    | 13      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 2  | 3  | 4  | 5  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 3.5" \
  -F "enhancementStrength=high"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder 3.5");
form.append("enhancementStrength", "high");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder 3.5",
            "enhancementStrength": "high"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Wonder 3

Advanced generative realism model for upscaling images

{% hint style="warning" %}
**Wonder 3 is deprecated** and will be retired no sooner than January 1, 2027. Use Wonder 3.5 instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

<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%2FwErlijI9aBq7XnyQdGG2%2FBird_Wonder_3_slider.jpg?alt=media&#x26;token=ac1784cb-26e6-44be-8aca-66ab84104be8">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FwErlijI9aBq7XnyQdGG2%2FBird_Wonder_3_slider.jpg?alt=media&#x26;token=ac1784cb-26e6-44be-8aca-66ab84104be8</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fbird_wonder3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fbird_wonder3_after.jpg&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fbird_wonder3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fbird_wonder3_after.jpg&#x26;src2label=After&#x26;zoom=1.0</a></td></tr><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%2FOSeEKcDDY4oGj1RA4UJU%2FPerson_Wonder_3_slider.jpg?alt=media&#x26;token=559ec112-0a7e-4622-8c28-619be1a165f6">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FOSeEKcDDY4oGj1RA4UJU%2FPerson_Wonder_3_slider.jpg?alt=media&#x26;token=559ec112-0a7e-4622-8c28-619be1a165f6</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fperson_wonder3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fperson_wonder3_after.jpg&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fperson_wonder3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fperson_wonder3_after.jpg&#x26;src2label=After&#x26;zoom=1.0</a></td></tr></tbody></table>

### Model Overview

Wonder 3 is a generative upscaling model designed to deliver high-fidelity, natural and realistic details across a wide range of image types. It supports both high-quality inputs and heavily degraded or compressed images, with selectable Low, Medium, and High enhancement levels for greater control across varying input conditions.

Wonder 3 performs across all resolution levels and is well suited for portraits, landscapes, wildlife, and complex textures such as fabrics, metallics, feathers, and skin. It also improves on Wonder 2 by resolving challenging edge cases and reducing the plasticky appearance and artifacts seen in earlier versions.

### Best Use Cases

* **Portraits.** Natural skin and facial detail.
* **Landscapes and wildlife.** Realistic foliage, fur, and feathers.
* **Complex textures.** Fabric, metal, and skin at higher resolution.
* **Degraded sources.** Recover compressed or low-quality images.
* **Text and logos.** Preserve fine detail when source quality allows.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter             | Type     | Required / Default                            | Accepted values               | Description                                                                       |
| --------------------- | -------- | --------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------- |
| `model`               | `string` | Required                                      | `"Wonder 3"`                  | —                                                                                 |
| `enhancementStrength` | `string` | <p>Optional<br>Default: <code>high</code></p> | `"low"`, `"medium"`, `"high"` | How much the model enhances the image. Use lower levels for high-quality sources. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Wonder 3** costs 1 credit per every 8 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 2       |
| 4000×3000  | 12 MP phone          | 12.00     | 2       |
| 5472×3648  | 20 MP camera         | 19.96     | 3       |
| 6000×4000  | 24 MP camera         | 24.00     | 3       |
| 7680×4320  | 8K UHD               | 33.18     | 5       |
| 7952×5304  | 42 MP camera         | 42.18     | 6       |
| 8192×5464  | 45 MP camera         | 44.76     | 6       |
| 9504×6336  | 61 MP camera         | 60.22     | 8       |
| 11648×8736 | 100 MP medium format | 101.76    | 13      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 2  | 3  | 4  | 5  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 3" \
  -F "enhancementStrength=high"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder 3");
form.append("enhancementStrength", "high");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder 3",
            "enhancementStrength": "high"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Wonder 3.5

1. Keep the `/image/v1/enhance-gen/async` endpoint and set `model` to `Wonder 3.5`.
2. `enhancementStrength` carries over unchanged.
3. Pricing is unchanged at 8 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Wonder 2

Advanced generative realism model for challenging images

{% hint style="warning" %}
**Wonder 2 is deprecated** and will be retired no sooner than January 1, 2027. Use Wonder 3.5 instead. See Model Deprecations for migration steps.
{% endhint %}

<table data-card-size="large" data-view="cards"><thead><tr><th></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>Click to view</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fhg9Y5vOlg3Y3mXgOWp7U%2FWonder_2_Compare_slider.jpg?alt=media&#x26;token=65b5ddf6-539b-4813-9c23-9ef76bccea00">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fhg9Y5vOlg3Y3mXgOWp7U%2FWonder_2_Compare_slider.jpg?alt=media&#x26;token=65b5ddf6-539b-4813-9c23-9ef76bccea00</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/api-docs-media/pexels-lance-reis-255748881-before.webp&#x26;src1label=Original&#x26;src2=https://downloads.topazlabs.com/web-assets/api-docs-media/pexels-lance-reis-255748881-after.webp&#x26;src2label=Wonder+2&#x26;zoom=1.5">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/api-docs-media/pexels-lance-reis-255748881-before.webp&#x26;src1label=Original&#x26;src2=https://downloads.topazlabs.com/web-assets/api-docs-media/pexels-lance-reis-255748881-after.webp&#x26;src2label=Wonder+2&#x26;zoom=1.5</a></td></tr></tbody></table>

### Model Overview

Wonder 2 is the second-generation Wonder model and the most advanced realism-focused image enhancement model in the family. It is designed to handle extremely challenging, low-resolution images and produce outputs that look clean, natural, and professional.

Wonder 2 restores sharper, more natural detail across the image, resolving plasticky or airbrushed artifacts to produce clean, realistic results. It recovers skin texture, facial features, hair, fabric, and environmental detail while minimizing artifacts and avoiding unnecessary changes to the source during upscaling.

### Best Use Cases

* **Difficult, low-quality images.** Generative recovery for challenging sources.
* **Faces and skin.** Recover natural facial detail.
* **Artifact control.** Sharper detail without plastic looks.
* **Text and logos.** Preserve fine detail where possible.
* **Environmental detail.** Recover fabric, foliage, and backgrounds.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter                 | Type      | Required / Default                             | Accepted values | Description                                                                   |
| ------------------------- | --------- | ---------------------------------------------- | --------------- | ----------------------------------------------------------------------------- |
| `model`                   | `string`  | Required                                       | `"Wonder 2"`    | —                                                                             |
| `colorCorrection`         | `boolean` | <p>Optional<br>Default: <code>true</code></p>  | —               | Applies color correction after processing.                                    |
| `faceEnhancement`         | `boolean` | <p>Optional<br>Default: <code>false</code></p> | —               | Enhances faces in the image.                                                  |
| `faceEnhancementStrength` | `decimal` | <p>Optional<br>Default: <code>0.8</code></p>   | `0.0` to `1.0`  | How strongly faces are enhanced.                                              |
| `preDownscale`            | `integer` | <p>Optional<br>Default: <code>1</code></p>     | `1` to `4`      | Downscales the input before processing. Helps on very low-resolution sources. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Wonder 2** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder 2" \
  -F "faceEnhancement=true"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder 2");
form.append("faceEnhancement", "true");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder 2",
            "faceEnhancement": "true"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Wonder 3.5

1. Keep the `/image/v1/enhance-gen/async` endpoint and set `model` to `Wonder 3.5`.
2. Remove Wonder 2 settings and use `enhancementStrength` (`low`, `medium`, or `high`) instead.
3. Wonder 3.5 is priced at 8 MP per credit instead of 4, so the same output costs about half as much.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Wonder 1

One-click repair and enhancement of low-to-medium resolution images

{% hint style="warning" %}
**Wonder 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Wonder 3.5 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Wonder 1** is the original Wonder model, built for one-click repair and enhancement of low- to medium-resolution images with an emphasis on realism.

For new integrations, use Wonder 3.5.

### Best Use Cases

* **Low-to-medium resolution photos.** One-step repair and upscale.
* **Soft or noisy images.** Realism-focused cleanup.
* **Compressed images.** Recover detail with few artifacts.
* **Simple pipelines.** No manual settings required.
* **General enhancement.** Broad, realism-first improvement.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

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

Wonder 1 has no model-specific parameters.

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Wonder 1** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wonder"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wonder");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wonder"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Wonder 3.5

1. Keep the `/image/v1/enhance-gen/async` endpoint and set `model` to `Wonder 3.5`.
2. Optionally set `enhancementStrength` (`low`, `medium`, or `high`).
3. Wonder 3.5 is priced at 8 MP per credit instead of 4.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Recover 3

Generative diffusion model that excels at recovering rich, natural detail

<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%2FvRLzvnBPMlTOFNle90E3%2FRecover_3_(Ex_1)_slider.jpg?alt=media&#x26;token=bcc3eb1b-1493-491e-a0b7-7aa16b0bea0a">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FvRLzvnBPMlTOFNle90E3%2FRecover_3_(Ex_1)_slider.jpg?alt=media&#x26;token=bcc3eb1b-1493-491e-a0b7-7aa16b0bea0a</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArchival-before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArchival-after-gigapixel-recover%20v3-4x-faceai%20v2.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArchival-before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FArchival-after-gigapixel-recover%20v3-4x-faceai%20v2.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FLHsGULWOVS81L7X8IyiI%2FRecover_3_(Ex_2)_slider.jpg?alt=media&#x26;token=4a0fcdb6-20de-4b11-b22b-4a8fbc74c947">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FLHsGULWOVS81L7X8IyiI%2FRecover_3_(Ex_2)_slider.jpg?alt=media&#x26;token=4a0fcdb6-20de-4b11-b22b-4a8fbc74c947</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRecover%20with%20Face%20Recover%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRecover%20with%20Face%20Recover%2002.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRecover%20with%20Face%20Recover%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRecover%20with%20Face%20Recover%2002.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Recover 3 is a generative image recovery model designed to reconstruct missing detail in low-resolution, damaged, or out-of-focus images, with a particular strength in restoring realistic facial features and natural textures. Now in its third generation, Recover 3 delivers significantly improved detail reconstruction, texture fidelity, and realism compared to earlier versions.

Recover intelligently rebuilds hair, skin, fabric, foliage, and other organic detail where original image information is limited or lost. It is especially effective for old photographs, heavily compressed images, and small or blurry faces, producing results that feel photographic rather than artificial.

### Best Use Cases

* **Old photographs.** Rebuild detail in faded, low-resolution prints and scans.
* **Heavily compressed images.** Recover texture lost to aggressive compression.
* **Small or blurry faces.** Reconstruct natural facial features.
* **Organic textures.** Restore hair, skin, fabric, and foliage.
* **Very small sources.** Turn thumbnails into usable images.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter             | Type      | Required / Default                           | Accepted values | Description                                                 |
| --------------------- | --------- | -------------------------------------------- | --------------- | ----------------------------------------------------------- |
| `model`               | `string`  | Required                                     | `"Recover 3"`   | —                                                           |
| `enhancementStrength` | `decimal` | <p>Optional<br>Default: <code>5.0</code></p> | `0.0` to `10.0` | How much detail the model recovers. Higher values add more. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Recover 3** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Recover 3" \
  -F "enhancementStrength=5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Recover 3");
form.append("enhancementStrength", "5");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Recover 3",
            "enhancementStrength": "5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 24 MP input and returns up to 384 MP output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Recover 2

Deprecated. Replaced by Recover 3.

{% hint style="warning" %}
**Recover 2 is deprecated** and will be retired no sooner than January 1, 2027. Use Recover 3 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Recover 2** is an earlier version of our upscaling models. It is deprecated and no longer recommended for new integrations.

Use **Recover 3** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values | Description |
| --------- | -------- | ------------------ | --------------- | ----------- |
| `model`   | `string` | Required           | `"Recovery V2"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Recover 2** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Recovery V2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Recovery V2");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Recovery V2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.


# Recover 1

Deprecated, Replaced by Recover 3.

{% hint style="warning" %}
**Recover 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Recover 3 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Recover 1** is an earlier version of our upscaling models. It is deprecated and no longer recommended for new integrations.

Use **Recover 3** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

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

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Recover 1** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Recover"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Recover");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Recover"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.


# Redefine

Generative diffusion model adds new detail with prompt-based enhancement

<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 (Realistic)</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FqF9NHT6FpcaYWbLlp7CY%2FRedefine_Realistic_-_Creative_(Ex_1)_slider.jpg?alt=media&#x26;token=fdf2e41d-e6d9-4b44-8dbb-07f0ced617c5">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FqF9NHT6FpcaYWbLlp7CY%2FRedefine_Realistic_-_Creative_(Ex_1)_slider.jpg?alt=media&#x26;token=fdf2e41d-e6d9-4b44-8dbb-07f0ced617c5</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRedefine%20Realistic%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRedefine%20Realistic%20set%202%2002.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRedefine%20Realistic%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRedefine%20Realistic%20set%202%2002.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view (Creative)</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fe8Sx6jg1khLIPY8CTEXU%2FRedefine_Realistic_-_Creative_(Ex_2)_slider.jpg?alt=media&#x26;token=aea034b4-d519-4323-8d8c-65becf39a906">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fe8Sx6jg1khLIPY8CTEXU%2FRedefine_Realistic_-_Creative_(Ex_2)_slider.jpg?alt=media&#x26;token=aea034b4-d519-4323-8d8c-65becf39a906</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRedefine%20Realistic%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRefine%20Creative%20.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRedefine%20Realistic%20Before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FRefine%20Creative%20.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Redefine is a generative image enhancement model designed to add new detail and rebuild structure when original image information is missing or degraded. Unlike precision upscaling models, Redefine can generate photorealistic detail to restore clarity in blurry, low-resolution, or damaged images.

Users can guide results using image prompts, creativity controls, and texture settings, making Redefine especially valuable for CGI, VFX, and creative workflows that require generative flexibility while working entirely on local hardware.

### Best Use Cases

* **Prompt-guided restoration.** Steer recovered detail with a description of the image.
* **CGI and VFX.** Add realistic detail to renders and plates.
* **Damaged or blurry images.** Rebuild structure that conventional models can only sharpen.
* **Creative enhancement.** Dial creativity up for bolder reinterpretations.
* **Repeatable results.** Use a fixed seed to get consistent output across runs.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter         | Type      | Required / Default                            | Accepted values | Description                                                                   |
| ----------------- | --------- | --------------------------------------------- | --------------- | ----------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                      | `"Redefine"`    | —                                                                             |
| `autoprompt`      | `boolean` | <p>Optional<br>Default: <code>true</code></p> | —               | Automatically generates a prompt describing the image.                        |
| `creativity`      | `integer` | <p>Optional<br>Default: <code>3</code></p>    | `1` to `6`      | How much the model reinterprets the image. Higher values add more new detail. |
| `creativityBoost` | `boolean` | <p>Optional<br>Default: <code>true</code></p> | —               | Increases the effect of the creativity setting.                               |
| `detailLevel`     | `integer` | <p>Optional<br>Default: <code>1</code></p>    | `1` to `5`      | Amount of fine detail added.                                                  |
| `prompt`          | `string`  | <p>Optional<br>Default: <code>""</code></p>   | —               | Text describing the image or the result you want.                             |
| `seed`            | `integer` | <p>Optional<br>Default: <code>1</code></p>    | —               | Seed for repeatable results.                                                  |
| `texture`         | `integer` | <p>Optional<br>Default: <code>1</code></p>    | `1` to `5`      | Amount of texture added.                                                      |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Redefine** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Redefine" \
  -F "creativity=3" \
  -F "texture=2" \
  -F "prompt=a weathered stone building at sunset"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Redefine");
form.append("creativity", "3");
form.append("texture", "2");
form.append("prompt", "a weathered stone building at sunset");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Redefine",
            "creativity": "3",
            "texture": "2",
            "prompt": "a weathered stone building at sunset"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Standard Max

High-quality precision upscaling with broader accessibility

<table data-card-size="large" data-view="cards"><thead><tr><th></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>Click to view</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FBYjkdCtmh1TYSyHYbU4P%2FStandard_Max_(Ex_1)_slider.jpg?alt=media&#x26;token=829b74b4-8d6a-47a4-8eb0-684bb85552eb">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FBYjkdCtmh1TYSyHYbU4P%2FStandard_Max_(Ex_1)_slider.jpg?alt=media&#x26;token=829b74b4-8d6a-47a4-8eb0-684bb85552eb</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-james-frid-81279-16428605.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-james-frid-81279-16428605-topaz-v4-enhance.jpeg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-james-frid-81279-16428605.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-james-frid-81279-16428605-topaz-v4-enhance.jpeg&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td>Click to view</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FqRRjX5xIuDjQmueBgfBA%2FStandard_Max_(Ex_2)_slider.jpg?alt=media&#x26;token=5f6974eb-338c-48d0-95b1-8097d59d4be8">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FqRRjX5xIuDjQmueBgfBA%2FStandard_Max_(Ex_2)_slider.jpg?alt=media&#x26;token=5f6974eb-338c-48d0-95b1-8097d59d4be8</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ffadhil-abhimantra-NScrf13AmqE-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ffadhil-abhimantra-NScrf13AmqE-unsplash-topaz-v4-enhance.jpeg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ffadhil-abhimantra-NScrf13AmqE-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ffadhil-abhimantra-NScrf13AmqE-unsplash-topaz-v4-enhance.jpeg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Standard Max is a generative model that delivers high-quality, natural results while remaining efficient enough to run on a wide range of devices. It achieves detail and realism comparable to generative upscaling models, without the heavy hardware requirements or long processing times typically associated with them.

Standard Max delivers strong results across all image types and resolutions, and is especially effective on low-resolution images where it restores photorealistic detail with clean textures and minimal artifacts. It also performs reliably on medium and high-quality sources, making it a versatile and dependable choice for everyday upscaling.

### Best Use Cases

* **Low-resolution photos.** Recover natural detail from small sources.
* **Faster generative upscaling.** Generative quality with shorter processing times.
* **Faithful generative results.** Add detail while staying close to the original.
* **Mixed-quality batches.** Reliable results on low, medium, and high-quality inputs.
* **Web and social images.** Upscale small images for larger placements.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values  | Description |
| --------- | -------- | ------------------ | ---------------- | ----------- |
| `model`   | `string` | Required           | `"Standard MAX"` | —           |

Standard Max has no model-specific parameters.

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Standard Max** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Standard MAX"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Standard MAX");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Standard MAX"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 24 MP input and returns up to 384 MP output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Creative Upscaling

Creative Upscaling for Images

* **AI-generated and stylized images.** Sources with no true original to stay faithful to, where a bolder result is the goal.
* **More detail than the source contains.** Upscale up to 8× with rich new texture rather than a cleaner version of what's there.
* **Prompt-guided direction.** Steer the enhancement with a text prompt.
* **Photoreal faces and skin in GenAI images.** Use Bloom 1 Realism for more realistic outputs, specifically for use on faces and skin.

{% hint style="success" %}
We recommend using **Bloom 2** for creative upscaling.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></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><strong>Bloom 2</strong></td><td>Our most advanced creative upscaler for GenAI images.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FzYcRJaeJpXlBpCcGuz2Q%2FBloom2_Generated_Image_December_16_2025_-_10_17AM_slider.jpg?alt=media&#x26;token=508b165b-62d2-4eed-adc8-5113ee9c5c8e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FzYcRJaeJpXlBpCcGuz2Q%2FBloom2_Generated_Image_December_16_2025_-_10_17AM_slider.jpg?alt=media&#x26;token=508b165b-62d2-4eed-adc8-5113ee9c5c8e</a></td><td><a href="/image-models/upscaling-and-enhancement/creative/bloom-2">Bloom 2</a></td></tr><tr><td><strong>Bloom 1 Realism</strong></td><td>Photoreal faces and skin for GenAI images.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FQWvFqpFAWWGiIpTMMKFM%2FBloom_Realism_(Ex_1)_slider.jpg?alt=media&#x26;token=836073a5-05a4-477b-9f95-85415d25b4e8">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FQWvFqpFAWWGiIpTMMKFM%2FBloom_Realism_(Ex_1)_slider.jpg?alt=media&#x26;token=836073a5-05a4-477b-9f95-85415d25b4e8</a></td><td><a href="/image-models/upscaling-and-enhancement/creative/bloom-1-realism">Bloom 1 Realism</a></td></tr></tbody></table>

{% hint style="warning" %}
Bloom 1 Creative is a legacy model and is no longer recommended. Bloom 2 replaces this model. This model will be retired no sooner than December 9, 2026. See [Model Deprecations](/resources/model-deprecations) for dates and migration steps.
{% endhint %}

### Endpoints

| Endpoint                                               | Models                   |
| ------------------------------------------------------ | ------------------------ |
| `https://api.topazlabs.com/image/v1/enhance-gen/async` | Bloom 2, Bloom 1 Realism |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and set the output size with `output_width` and/or `output_height`. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Bloom 2" \
  -F "creativity=3" \
  -F "output_width=3840" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Bloom 2");
form.append("creativity", "3");
form.append("output_width", "3840");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Bloom 2",
            "creativity": "3",
            "output_width": "3840",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`, `output_width`, `output_height`, `crop_to_fill`) are the same for every creative upscaling model and are listed on the [Request Parameters](/getting-started/request-parameters) page. Model settings are listed on each model's page.

### Limitations

Bloom 2 and Bloom 1 Realism accept up to 256 MP input and output, with each output side up to 32,000 pixels.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image 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/">https://developer.topazlabs.com/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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Bloom 2

Higher-quality creative upscaling for GenAI images with new, reimagined detail

<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%2FzYcRJaeJpXlBpCcGuz2Q%2FBloom2_Generated_Image_December_16_2025_-_10_17AM_slider.jpg?alt=media&#x26;token=508b165b-62d2-4eed-adc8-5113ee9c5c8e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FzYcRJaeJpXlBpCcGuz2Q%2FBloom2_Generated_Image_December_16_2025_-_10_17AM_slider.jpg?alt=media&#x26;token=508b165b-62d2-4eed-adc8-5113ee9c5c8e</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGenerated%20Image%20December%2016%2C%202025%20-%2010_17AM%20copy.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGenerated%20Image%20December%2016%2C%202025%20-%2010_17AM-bloom-2.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGenerated%20Image%20December%2016%2C%202025%20-%2010_17AM%20copy.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGenerated%20Image%20December%2016%2C%202025%20-%2010_17AM-bloom-2.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2Fsk2t3zkackViC2EzCkIV%2FBloom2_cbot_Im_not_able_to_shorten_or_reformat_this_prompt_--chaos__750b9857-acd0-4d8b-b9c9-85f62169eb78_2_slider.jpg?alt=media&#x26;token=159bcbb9-7bec-4ff3-8199-63fa3c91b093">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fsk2t3zkackViC2EzCkIV%2FBloom2_cbot_Im_not_able_to_shorten_or_reformat_this_prompt_--chaos__750b9857-acd0-4d8b-b9c9-85f62169eb78_2_slider.jpg?alt=media&#x26;token=159bcbb9-7bec-4ff3-8199-63fa3c91b093</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_Im_not_able_to_shorten_or_reformat_this_prompt._--chaos__750b9857-acd0-4d8b-b9c9-85f62169eb78_2%20copy.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_Im_not_able_to_shorten_or_reformat_this_prompt._--chaos__750b9857-acd0-4d8b-b9c9-85f62169eb78_2-bloom-2.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_Im_not_able_to_shorten_or_reformat_this_prompt._--chaos__750b9857-acd0-4d8b-b9c9-85f62169eb78_2%20copy.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_Im_not_able_to_shorten_or_reformat_this_prompt._--chaos__750b9857-acd0-4d8b-b9c9-85f62169eb78_2-bloom-2.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Bloom 2** is our creative upscaler for native GenAI content: AI artwork, illustrations, and CG renders. It enhances quality while introducing new detail, texture, and visual elements, with the range to subtly refine the source or substantially reimagine it.

Compared to earlier creative upscaling, it significantly reduces hallucinations like extra fingers and distorted anatomy, and improves skin and facial detail. Lower creativity stays closer to the source; higher creativity takes more liberty.

### Best Use Cases

* **AI artwork and illustrations.** Add rich new detail and texture to generated images.
* **GenAI portraits.** Fix plastic skin and flat facial detail.
* **CG renders.** Upscale renders with added realism.
* **Creative exploration.** Push creativity up for bold reinterpretations.
* **Color-accurate upscaling.** Keep source colors while adding detail.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter           | Type      | Required / Default                            | Accepted values | Description                                                                                                                |
| ------------------- | --------- | --------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `model`             | `string`  | Required                                      | `"Bloom 2"`     | —                                                                                                                          |
| `autoprompt`        | `boolean` | <p>Optional<br>Default: <code>true</code></p> | —               | Automatically generates a prompt describing the image.                                                                     |
| `colorPreservation` | `boolean` | <p>Optional<br>Default: <code>true</code></p> | —               | Keeps the source image's colors while new detail is added.                                                                 |
| `creativity`        | `integer` | <p>Optional<br>Default: <code>3</code></p>    | `1` to `9`      | How strongly the model transforms the image. Higher values add more new detail and are more likely to introduce artifacts. |
| `prompt`            | `string`  | <p>Optional<br>Default: <code>""</code></p>   | —               | Text describing the image or the result you want.                                                                          |
| `seed`              | `integer` | <p>Optional<br>Default: <code>2</code></p>    | —               | Seed for repeatable results.                                                                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Bloom 2** costs 1 credit per every 2 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 2       |
| 2560×1440  | 1440p                | 3.69      | 2       |
| 3840×2160  | 4K UHD               | 8.29      | 5       |
| 4000×3000  | 12 MP phone          | 12.00     | 6       |
| 5472×3648  | 20 MP camera         | 19.96     | 10      |
| 6000×4000  | 24 MP camera         | 24.00     | 12      |
| 7680×4320  | 8K UHD               | 33.18     | 17      |
| 7952×5304  | 42 MP camera         | 42.18     | 22      |
| 8192×5464  | 45 MP camera         | 44.76     | 23      |
| 9504×6336  | 61 MP camera         | 60.22     | 31      |
| 11648×8736 | 100 MP medium format | 101.76    | 51      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 2 | 4 | 8  | 12 | 16 | 20 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Bloom 2" \
  -F "creativity=3" \
  -F "colorPreservation=true"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Bloom 2");
form.append("creativity", "3");
form.append("colorPreservation", "true");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Bloom 2",
            "creativity": "3",
            "colorPreservation": "true"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Bloom 1 Creative

Creative upscaling for AI generated images and artwork.

<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%2F9kgv9U3QGypSxHcrlPOt%2FBloom_Creative_slider.jpg?alt=media&#x26;token=003432c1-ff7a-4779-9590-650398b2c0a3">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F9kgv9U3QGypSxHcrlPOt%2FBloom_Creative_slider.jpg?alt=media&#x26;token=003432c1-ff7a-4779-9590-650398b2c0a3</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAstronaut%202.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAstronaut_bloom_max_4x.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAstronaut%202.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAstronaut_bloom_max_4x.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Bloom Creative is a generative AI upscaling model designed for native GenAI images, enlarging AI-generated artwork, illustrations, and CG renders by up to 8× while creatively introducing new detail, texture, and visual elements.

Bloom is guided by an optional prompt input and offers adjustable creativity levels, ranging from zero to bold, allowing users to subtly enhance existing detail or introduce significant, dynamic new elements.

### Best Use Cases

* **AI artwork.** Add creative detail to generated images.
* **Prompt-guided style.** Direct texture and style with a text prompt.
* **Illustrations and concept art.** Reimagine artwork with richer detail.
* **Bold transformations.** Use high creativity for dramatic results.
* **Large upscales.** Enlarge GenAI images up to 8×.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter           | Type      | Required / Default                             | Accepted values | Description                                       |
| ------------------- | --------- | ---------------------------------------------- | --------------- | ------------------------------------------------- |
| `model`             | `string`  | Required                                       | `"Bloom"`       | —                                                 |
| `colorPreservation` | `boolean` | <p>Optional<br>Default: <code>true</code></p>  | —               | Keeps the source image's colors.                  |
| `creativity`        | `integer` | <p>Optional<br>Default: <code>3</code></p>     | `1` to `9`      | How strongly the model transforms the image.      |
| `creativityBoost`   | `boolean` | <p>Optional<br>Default: <code>false</code></p> | —               | Increases the effect of the creativity setting.   |
| `facePreservation`  | `boolean` | <p>Optional<br>Default: <code>true</code></p>  | —               | Keeps faces close to the source.                  |
| `prompt`            | `string`  | <p>Optional<br>Default: <code>""</code></p>    | —               | Text describing the image or the result you want. |
| `seed`              | `integer` | <p>Optional<br>Default: <code>1</code></p>     | —               | Seed for repeatable results.                      |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Bloom 1 Creative** costs 1 credit per every 2 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 2       |
| 2560×1440  | 1440p                | 3.69      | 2       |
| 3840×2160  | 4K UHD               | 8.29      | 5       |
| 4000×3000  | 12 MP phone          | 12.00     | 6       |
| 5472×3648  | 20 MP camera         | 19.96     | 10      |
| 6000×4000  | 24 MP camera         | 24.00     | 12      |
| 7680×4320  | 8K UHD               | 33.18     | 17      |
| 7952×5304  | 42 MP camera         | 42.18     | 22      |
| 8192×5464  | 45 MP camera         | 44.76     | 23      |
| 9504×6336  | 61 MP camera         | 60.22     | 31      |
| 11648×8736 | 100 MP medium format | 101.76    | 51      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 2 | 4 | 8  | 12 | 16 | 20 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Bloom" \
  -F "creativity=5" \
  -F "prompt=ornate fantasy castle, detailed stonework"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Bloom");
form.append("creativity", "5");
form.append("prompt", "ornate fantasy castle, detailed stonework");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Bloom",
            "creativity": "5",
            "prompt": "ornate fantasy castle, detailed stonework"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Bloom 1 Realism

Realistic and natural detail enhancement for AI-generated images

<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%2FQWvFqpFAWWGiIpTMMKFM%2FBloom_Realism_(Ex_1)_slider.jpg?alt=media&#x26;token=836073a5-05a4-477b-9f95-85415d25b4e8">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FQWvFqpFAWWGiIpTMMKFM%2FBloom_Realism_(Ex_1)_slider.jpg?alt=media&#x26;token=836073a5-05a4-477b-9f95-85415d25b4e8</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fmagicstudio-art%20-%202025-12-17T162317.939.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fmagicstudio-art%20-%202025-12-17T162317.939_bloom_probably_4x.jpeg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fmagicstudio-art%20-%202025-12-17T162317.939.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fmagicstudio-art%20-%202025-12-17T162317.939_bloom_probably_4x.jpeg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FgWI5wW673HoBGKHEuUD0%2FBloom_Realism_(Ex_2)_slider.jpg?alt=media&#x26;token=78bc9d0c-8cf0-422c-9cae-4f9d13feb12d">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FgWI5wW673HoBGKHEuUD0%2FBloom_Realism_(Ex_2)_slider.jpg?alt=media&#x26;token=78bc9d0c-8cf0-422c-9cae-4f9d13feb12d</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_a_space_man_in_a_battle_a_futuristic_boho_space_suit_tig_5149553b-4fe7-42e1-b92f-e12b74b96638_0.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_a_space_man_in_a_battle_a_futuristic_boho_space_suit_tig_5149553b-4fe7-42e1-b92f-e12b74b96638_0_bloom_max_6x.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_a_space_man_in_a_battle_a_futuristic_boho_space_suit_tig_5149553b-4fe7-42e1-b92f-e12b74b96638_0.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fcbot_a_space_man_in_a_battle_a_futuristic_boho_space_suit_tig_5149553b-4fe7-42e1-b92f-e12b74b96638_0_bloom_max_6x.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Bloom Realism is an advanced creative upscaling model that removes the plastic, artificial feel of AI-generated images by restoring natural detail and texture across skin, hair, fabrics, metals, and other materials, producing more grounded, believable results.

### Best Use Cases

* **Photoreal GenAI images.** Make generated photos look natural.
* **AI-generated people.** Add lifelike skin and hair texture.
* **Product renders.** Give materials realistic depth.
* **Large-format output.** Upscale GenAI images up to 8×.
* **Synthetic-looking surfaces.** Replace waxy textures with realistic ones.

### Endpoint

`https://api.topazlabs.com/image/v1/enhance-gen/async`

### Model Parameters

| Parameter    | Type      | Required / Default                         | Accepted values            | Description                                                               |
| ------------ | --------- | ------------------------------------------ | -------------------------- | ------------------------------------------------------------------------- |
| `model`      | `string`  | Required                                   | `"Bloom Realism"`          | —                                                                         |
| `creativity` | `integer` | <p>Optional<br>Default: <code>2</code></p> | `"1"`, `"2"`, `"3"`, `"4"` | How much the model reinterprets the image, from 1 (low) to 4 (very high). |
| `seed`       | `integer` | <p>Optional<br>Default: <code>1</code></p> | —                          | Seed for repeatable results.                                              |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Bloom 1 Realism** costs 1 credit per every 2 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 2       |
| 2560×1440  | 1440p                | 3.69      | 2       |
| 3840×2160  | 4K UHD               | 8.29      | 5       |
| 4000×3000  | 12 MP phone          | 12.00     | 6       |
| 5472×3648  | 20 MP camera         | 19.96     | 10      |
| 6000×4000  | 24 MP camera         | 24.00     | 12      |
| 7680×4320  | 8K UHD               | 33.18     | 17      |
| 7952×5304  | 42 MP camera         | 42.18     | 22      |
| 8192×5464  | 45 MP camera         | 44.76     | 23      |
| 9504×6336  | 61 MP camera         | 60.22     | 31      |
| 11648×8736 | 100 MP medium format | 101.76    | 51      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 2 | 4 | 8  | 12 | 16 | 20 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/enhance-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Bloom Realism" \
  -F "creativity=2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Bloom Realism");
form.append("creativity", "2");

const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/enhance-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Bloom Realism",
            "creativity": "2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Denoising

Reduce Noise and Grain in Images

### Models

<table data-view="cards"><thead><tr><th></th><th></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><strong>Denoise Max</strong></td><td>Generative denoising built on our Wonder models. Removes noise and grain with far fewer artifacts and sharpens soft areas without touching detail that's already sharp.</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2F3JI7Xmt4y3c99ezB8lnf%2FPeople_5_slider.jpg?alt=media&amp;token=11705748-62cf-4a13-81a8-0f8eaf355d9b">People_5_slider.jpg</a></td><td><a href="/image-models/denoising/denoise-max">Denoise Max</a></td></tr></tbody></table>

{% hint style="warning" %}
Denoise Normal, Denoise Strong, and Denoise Extreme are deprecated and will be retired no sooner than December 9, 2026. Denoise Max replaces all three. See [Model Deprecations](/resources/model-deprecations) for retirement dates and migration steps.
{% endhint %}

### Best Use Cases

* **Low-light and high-ISO photography.** Clean up the noise that shows up in night, indoor, concert, and event shots without flattening the scene's natural texture.
* **Compressed and web-sourced images.** Remove compression artifacts and blockiness from JPEGs, screenshots, and social downloads while bringing back crisp edges and detail.
* **RAW workflows.** Denoise straight from RAW as the first step in a processing pipeline, before sharpening, color work, or upscaling, so later steps don't amplify the noise.
* **Portraits and skin.** Smooth sensor noise on faces while keeping skin texture, hair, and eyelashes sharp instead of waxy.
* **Film scans and archival images.** Reduce heavy or patterned grain from scanned negatives and older digital sensors while preserving the underlying detail.
* **Bulk cleanup before delivery.** Standardize image quality across large batches of user-generated, e-commerce, or stock content where source noise varies shot to shot.

### Endpoints

<table><thead><tr><th width="476.1983642578125">Endpoint</th><th>Models</th></tr></thead><tbody><tr><td><code>https://api.topazlabs.com/image/v1/denoise-gen/async</code></td><td>Denoise Max</td></tr></tbody></table>

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model`, and add any model settings as extra form fields. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/denoise-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@portrait.jpg" \
  -F "model=Denoise Max" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("portrait.jpg"));
form.append("model", "Denoise Max");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/denoise-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("portrait.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/denoise-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Denoise Max",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`) are the same for every image endpoint and are listed on the [Request Parameters](/getting-started/request-parameters) page. Model settings, such as Denoise Max's `strength`, are listed on each model's page.

### Limitations

Denoise Max accepts up to 256 MP input and output. Denoising models don't change resolution; to denoise and upscale, send the output to an upscaling model such as Wonder 3.5.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Denoise Max

Highest-quality denoising with intelligent detail recovery

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">Click to view</td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpeople_5_before.jpeg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpeople_5_after.png&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpeople_5_before.jpeg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpeople_5_after.png&#x26;src2label=After&#x26;zoom=1.0</a></td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2F3JI7Xmt4y3c99ezB8lnf%2FPeople_5_slider.jpg?alt=media&amp;token=11705748-62cf-4a13-81a8-0f8eaf355d9b">People_5_slider.jpg</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwildlife_5_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwildlife_5_after.png&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwildlife_5_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fwildlife_5_after.png&#x26;src2label=After&#x26;zoom=1.0</a></td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FXIqm8OO7VlzEtlBcflMp%2FWildlife_5_slider.jpg?alt=media&amp;token=02a00718-3389-45da-8a10-04b4dbd6ee18">Wildlife_5_slider.jpg</a></td></tr></tbody></table>

### Model Overview

Denoise Max is a next-generation generative denoising model that delivers the highest quality results in the Denoise family, incorporating technology advancements from Wonder 2. It removes noise and grain with significantly reduced artifacts while intelligently sharpening blurry areas without affecting already sharp detail.

Denoise Max performs best on medium to high quality images with light noise or structured grain, and excels across a wide range of content including portraits, hazy images, and fine textures such as skin, hair, and small details.

### Best Use Cases

* **Low-light and high-ISO photos.** Clean night, indoor, concert, and event shots without flattening natural texture.
* **Portraits.** Remove sensor noise from faces while keeping skin texture, hair, and eyelashes sharp instead of waxy.
* **Wildlife and nature.** Preserve fur, feathers, and foliage detail that conventional denoisers tend to smear.
* **Hazy or slightly soft images.** Recover clarity in images that are both noisy and a little out of focus.
* **Structured or film grain.** Reduce patterned grain from scans and older sensors while keeping the underlying detail.

### Endpoint

`https://api.topazlabs.com/image/v1/denoise-gen/async`

### Model Parameters

| Parameter  | Type      | Required / Default                           | Accepted values | Description                                                                  |
| ---------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------- |
| `model`    | `string`  | Required                                     | `"Denoise Max"` | —                                                                            |
| `strength` | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | How strongly noise is removed. Lower values keep more of the original grain. |

For request parameters shared by every image endpoint, see [Request Parameters](/getting-started/request-parameters). The full schema is also available in our [API Reference](https://developer.topazlabs.com/reference/) page.

### Model Pricing

**Denoise Max** costs 1 credit per every 20 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 2       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 3       |
| 8192×5464  | 45 MP camera         | 44.76     | 3       |
| 9504×6336  | 61 MP camera         | 60.22     | 4       |
| 11648×8736 | 100 MP medium format | 101.76    | 6       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 2  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/denoise-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@night-portrait.jpg" \
  -F "model=Denoise Max" \
  -F "strength=0.8" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("night-portrait.jpg"));
form.append("model", "Denoise Max");
form.append("strength", "0.8");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/denoise-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("night-portrait.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/denoise-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Denoise Max",
            "strength": "0.8",
            "output_format": "png"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output. Denoise Max doesn't change resolution; to denoise and upscale, send the output to an upscaling model.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Denoise Extreme

Maximum noise removal

{% hint style="warning" %}
**Denoise Extreme is deprecated** and will be retired no sooner than January 1, 2027. Use Denoise Max instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

<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%2FPhItGeqBz1uNL3biXE9z%2FDenoise_Extreme_slider.jpg?alt=media&#x26;token=b08a7c05-772a-44c2-91a3-9b04a4a6298a">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPhItGeqBz1uNL3biXE9z%2FDenoise_Extreme_slider.jpg?alt=media&#x26;token=b08a7c05-772a-44c2-91a3-9b04a4a6298a</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-caiquethecreator-2949322.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FDenoise%20Extreme%202pexels-caiquethecreator-2949322-topaz.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-caiquethecreator-2949322.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FDenoise%20Extreme%202pexels-caiquethecreator-2949322-topaz.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Denoise Extreme prioritizes removing severe noise and heavy compression artifacts, favoring cleanliness over fine detail retention.

### Best Use Cases

* **Severe noise.** Images where noise overwhelms the subject.
* **Heavy compression.** Strong blockiness and artifacts in over-compressed JPEGs.
* **Internet-sourced images.** Downloaded, re-shared, or screenshotted images that have been compressed many times.
* **Severely degraded sources.** Old digital captures and low-quality scans.
* **Cleanliness first.** Use cases where a clean image matters more than preserving every texture.

### Endpoint

`https://api.topazlabs.com/image/v1/denoise/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Extreme"`     | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How much sharpening is applied to counteract softness from noise reduction.        |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Denoise Extreme** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/denoise/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Extreme" \
  -F "denoiseStrength=0.5" \
  -F "sharpenStrength=0.5" \
  -F "opacity=1.0"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Extreme");
form.append("denoiseStrength", "0.5");
form.append("sharpenStrength", "0.5");
form.append("opacity", "1.0");

const response = await fetch("https://api.topazlabs.com/image/v1/denoise/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/denoise/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Extreme",
            "denoiseStrength": "0.5",
            "sharpenStrength": "0.5",
            "opacity": "1.0"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Denoise Max

1. Change the endpoint to `https://api.topazlabs.com/image/v1/denoise-gen/async`.
2. Set `model` to `"Denoise Max"`.
3. Replace `denoiseStrength` with `strength`. `sharpenStrength` and `opacity` have no equivalent; Denoise Max sharpens soft areas automatically.
4. Denoise Max is priced at 20 MP per credit instead of 24, so outputs between 20 and 24 MP cost 2 credits instead of 1.

### Limitations

This model accepts up to 256 MP input and output. High `denoiseStrength` values can soften fine detail.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image Quickstart</a></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td><a href="https://developer.topazlabs.com/credit-calculator">https://developer.topazlabs.com/credit-calculator</a></td></tr></tbody></table>


# Denoise Strong

High-noise detail preservation

{% hint style="warning" %}
**Denoise Strong is deprecated** and will be retired no sooner than January 1, 2027. Use Denoise Max instead. See Model Deprecations for migration steps.
{% endhint %}

<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%2F4cNQ4cnbx5gbE9Y6dyc9%2FDenoise_Strong_slider.jpg?alt=media&#x26;token=ab394d40-a361-4cbd-881f-93352ac85c0b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F4cNQ4cnbx5gbE9Y6dyc9%2FDenoise_Strong_slider.jpg?alt=media&#x26;token=ab394d40-a361-4cbd-881f-93352ac85c0b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F2-noisy-bird.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F2-noisy-bird-topaz-denoise.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F2-noisy-bird.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F2-noisy-bird-topaz-denoise.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FgDl1MAC01IgefhAquyVx%2FDenoise_Strong_(Ex_2)_slider.jpg?alt=media&#x26;token=01916b1e-c359-406c-baf3-bdad28d86000">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FgDl1MAC01IgefhAquyVx%2FDenoise_Strong_(Ex_2)_slider.jpg?alt=media&#x26;token=01916b1e-c359-406c-baf3-bdad28d86000</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-christian-diokno-1666462-3772817.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FDenoise%20Strongpexels-christian-diokno-1666462-3772817-topaz.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-christian-diokno-1666462-3772817.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FDenoise%20Strongpexels-christian-diokno-1666462-3772817-topaz.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Denoise Strong targets medium-to-high noise levels from very low-light or high-ISO captures, balancing stronger noise reduction with careful detail retention.

### Best Use Cases

* **Very low-light images.** Night, indoor, and event shots with heavy sensor noise.
* **High-ISO captures.** Noise from ISO settings pushed well past a camera's comfortable range.
* **Wildlife and action.** Fast-shutter, high-ISO shots where fur and feathers need to survive.
* **When Normal isn't enough.** Images that still look noisy after a Denoise Normal pass.
* **Detail over cleanliness.** Noisy images where Extreme would smooth away too much texture.

### Endpoint

`https://api.topazlabs.com/image/v1/denoise/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Strong"`      | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How much sharpening is applied to counteract softness from noise reduction.        |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Denoise Strong** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/denoise/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Strong" \
  -F "denoiseStrength=0.5" \
  -F "sharpenStrength=0.5" \
  -F "opacity=1.0"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Strong");
form.append("denoiseStrength", "0.5");
form.append("sharpenStrength", "0.5");
form.append("opacity", "1.0");

const response = await fetch("https://api.topazlabs.com/image/v1/denoise/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/denoise/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Strong",
            "denoiseStrength": "0.5",
            "sharpenStrength": "0.5",
            "opacity": "1.0"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Denoise Max

1. Change the endpoint to `https://api.topazlabs.com/image/v1/denoise-gen/async`.
2. Set `model` to `"Denoise Max"`.
3. Replace `denoiseStrength` with `strength`. `sharpenStrength` and `opacity` have no equivalent; Denoise Max sharpens soft areas automatically.
4. Denoise Max is priced at 20 MP per credit instead of 24, so outputs between 20 and 24 MP cost 2 credits instead of 1.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image Quickstart</a></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td><a href="https://developer.topazlabs.com/credit-calculator">https://developer.topazlabs.com/credit-calculator</a></td></tr></tbody></table>


# Denoise Normal

{% hint style="warning" %}
**Denoise Normal is deprecated** and will be retired no sooner than January 1, 2027. Use Denoise Max instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

<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%2FnAkhg0U4Jgw6sUlZpOzK%2FDenoise_Normal_slider.jpg?alt=media&#x26;token=7d7825a9-301f-4ae8-a661-92d034691217">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FnAkhg0U4Jgw6sUlZpOzK%2FDenoise_Normal_slider.jpg?alt=media&#x26;token=7d7825a9-301f-4ae8-a661-92d034691217</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-ronyescobarhn-2154459403-33419553.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FDenoise%20Standardpexels-ronyescobarhn-2154459403-33419553-topaz.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-ronyescobarhn-2154459403-33419553.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FDenoise%20Standardpexels-ronyescobarhn-2154459403-33419553-topaz.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Denoise Normal** is a general-purpose noise reduction model for everyday images with low to medium noise from low light or compression. It removes noise while preserving fine detail and natural texture, without over-processing.

It was designed as the starting point for denoising non-RAW images. For new integrations, use Denoise Max, which removes noise with fewer artifacts and sharpens soft areas automatically.

### Best Use Cases

* **Everyday photos.** Light noise from indoor, evening, or overcast shots.
* **Compressed images.** Mild compression noise in JPEGs and web images.
* **Non-RAW sources.** A first denoising pass on processed camera and phone images.
* **Detail-sensitive images.** Light cleanup where texture should stay untouched.
* **Batch preprocessing.** A consistent, light denoise across large sets of images.

### Endpoint

`https://api.topazlabs.com/image/v1/denoise/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Normal"`      | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How much sharpening is applied to counteract softness from noise reduction.        |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Denoise Normal** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/denoise/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Normal" \
  -F "denoiseStrength=0.5" \
  -F "sharpenStrength=0.5" \
  -F "opacity=1.0"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Normal");
form.append("denoiseStrength", "0.5");
form.append("sharpenStrength", "0.5");
form.append("opacity", "1.0");

const response = await fetch("https://api.topazlabs.com/image/v1/denoise/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/denoise/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Normal",
            "denoiseStrength": "0.5",
            "sharpenStrength": "0.5",
            "opacity": "1.0"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Denoise Max

1. Change the endpoint to `https://api.topazlabs.com/image/v1/denoise-gen/async`.
2. Set `model` to `"Denoise Max"`.
3. Replace `denoiseStrength` with `strength`. `sharpenStrength` and `opacity` have no equivalent; Denoise Max sharpens soft areas automatically.
4. Denoise Max is priced at 20 MP per credit instead of 24, so outputs between 20 and 24 MP cost 2 credits instead of 1.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image Quickstart</a></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td><a href="https://developer.topazlabs.com/credit-calculator">https://developer.topazlabs.com/credit-calculator</a></td></tr></tbody></table>


# Removal & Cleanup

Remove dust, scratches, objects, and backgrounds from images while preserving natural structure.

### Models

<table data-view="cards"><thead><tr><th></th><th></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><strong>Dust &#x26; Scratch 2</strong></td><td>Automatically removes dust, specks, and scratches from scans and prints.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FoZTDAWOnOuDlznw3tjZa%2FDust__Scratch_2_(Ex_1)_slider.jpg?alt=media&#x26;token=c2694b86-aef6-4e31-807f-9e7d87de9524">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FoZTDAWOnOuDlznw3tjZa%2FDust__Scratch_2_(Ex_1)_slider.jpg?alt=media&#x26;token=c2694b86-aef6-4e31-807f-9e7d87de9524</a></td><td><a href="/image-models/removal-and-cleanup/dust-and-scratch-2">Dust &amp; Scratch 2</a></td></tr><tr><td><strong>Image Object Matting</strong></td><td>Cuts out a specific object using a bounding box.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fq8jRhySNhAjTLS3ZDbv0%2FObject_Matting_slider.jpg?alt=media&#x26;token=eb72f51c-5ec7-400d-a5fb-2a459d0b7282">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fq8jRhySNhAjTLS3ZDbv0%2FObject_Matting_slider.jpg?alt=media&#x26;token=eb72f51c-5ec7-400d-a5fb-2a459d0b7282</a></td><td><a href="/image-models/removal-and-cleanup/image-object-matting">Image Object Matting</a></td></tr><tr><td><strong>Background Removal</strong></td><td>Removes the background and returns the subject on transparency.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FidVFBFBVdpN8KLCRmRRQ%2FBG_Remover_Cow_slider.jpg?alt=media&#x26;token=ca59327b-767c-4462-842d-e128c839ba93">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FidVFBFBVdpN8KLCRmRRQ%2FBG_Remover_Cow_slider.jpg?alt=media&#x26;token=ca59327b-767c-4462-842d-e128c839ba93</a></td><td><a href="/image-models/removal-and-cleanup/background-removal">Background Removal</a></td></tr></tbody></table>

{% hint style="warning" %}
Dust & Scratch 1 is deprecated and will be retired no sooner than December 9, 2026. Dust & Scratch 2 replaces it. See [Model Deprecations](/resources/model-deprecations) for replacements and migration steps.
{% endhint %}

### Best Use Cases

* **Dust & Scratch 2.** Restore scanned prints, negatives, and slides by removing dust, specks, scratches, and surface damage.
* **Image Object Matting.** Cut out one specific object in a busy scene by drawing a box around it.
* **Background Removal.** Isolate the main subject for product listings, portraits, and design assets with clean, detailed edges.

### Endpoints

| Endpoint                                               | Models                                                     |
| ------------------------------------------------------ | ---------------------------------------------------------- |
| `https://api.topazlabs.com/image/v1/restore-gen/async` | Dust & Scratch 2                                           |
| `https://api.topazlabs.com/image/v1/matting/async`     | Image Object Matting, Background Removal (PNG output only) |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and add any model settings as extra form fields. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/matting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@product.jpg" \
  -F "model=RemoveBG" \
  -F "output_type=rgba" \
  -F "output_format=png"  # default is jpeg
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("product.jpg"));
form.append("model", "RemoveBG");
form.append("output_type", "rgba");

const response = await fetch("https://api.topazlabs.com/image/v1/matting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("product.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/matting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "RemoveBG",
            "output_type": "rgba",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`) are the same for every image endpoint and are listed on the Request Parameters page. Model settings are listed on each model's page.

### Limitations

These models accept up to 256 MP input and output and don't change resolution. Image Object Matting and Background Removal always return PNG. For a full restoration, run Dust & Scratch 2 first, then an upscaling model such as Wonder 3.5.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Dust & Scratch 2

Automatic blemish cleanup

<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%2FoZTDAWOnOuDlznw3tjZa%2FDust__Scratch_2_(Ex_1)_slider.jpg?alt=media&#x26;token=c2694b86-aef6-4e31-807f-9e7d87de9524">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FoZTDAWOnOuDlznw3tjZa%2FDust__Scratch_2_(Ex_1)_slider.jpg?alt=media&#x26;token=c2694b86-aef6-4e31-807f-9e7d87de9524</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ftatiana-gonzales-5GJjPvx4G9g-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ftatiana-gonzales-5GJjPvx4G9g-unsplash-topaz-dust.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ftatiana-gonzales-5GJjPvx4G9g-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Ftatiana-gonzales-5GJjPvx4G9g-unsplash-topaz-dust.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FkSBRtlYbhmX0ZQJdlQvH%2FDust__Scratch_2_(Ex_2)_slider.jpg?alt=media&#x26;token=8819dcbb-1949-4716-8e74-b6070c5c269b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FkSBRtlYbhmX0ZQJdlQvH%2FDust__Scratch_2_(Ex_2)_slider.jpg?alt=media&#x26;token=8819dcbb-1949-4716-8e74-b6070c5c269b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash-topaz-dust.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash-topaz-dust.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Dust & Scratches 2 is a second generation cleanup model that automatically detects and removes dust, specks, and small blemishes across the entire image while better preserving original detail.

Designed for film scans, archival photos, and damaged prints.

### Best Use Cases

* **Film scans and negatives.** Remove dust and hairs picked up during scanning without softening the grain or detail of the original frame.
* **Archival and family photos.** Clean scratches and surface wear from old prints before upscaling or sharpening.
* **Damaged and aged prints.** Repair specks, pinholes, and light abrasion across the whole image in one pass.
* **Digitization pipelines.** Run blemish cleanup automatically across large scanning batches where manual retouching isn't practical.
* **Pre-cleanup before enhancement.** Remove blemishes first so later upscaling or sharpening doesn't amplify them.

### Endpoint

`https://api.topazlabs.com/image/v1/restore-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values     | Description |
| --------- | -------- | ------------------ | ------------------- | ----------- |
| `model`   | `string` | Required           | `"Dust-Scratch V2"` | —           |

Dust & Scratch 2 has no model-specific parameters.

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Dust & Scratch 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/restore-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Dust-Scratch V2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Dust-Scratch V2");

const response = await fetch("https://api.topazlabs.com/image/v1/restore-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/restore-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Dust-Scratch V2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Image Object Matting

Isolate a specific object with a bounding box and semantically aware edges

<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%2Fq8jRhySNhAjTLS3ZDbv0%2FObject_Matting_slider.jpg?alt=media&#x26;token=eb72f51c-5ec7-400d-a5fb-2a459d0b7282">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fq8jRhySNhAjTLS3ZDbv0%2FObject_Matting_slider.jpg?alt=media&#x26;token=eb72f51c-5ec7-400d-a5fb-2a459d0b7282</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fobject%20input.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fobject%20output.avif&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fobject%20input.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fobject%20output.avif&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Image Object Matting** is a precision extraction model that isolates one object from an image while preserving fine, semantically aware edge detail. You point it at the target with a bounding box and it recovers the whole object, including disconnected regions of the same thing, with clean edges on hair, fur, and soft boundaries.

Because it works from a box rather than guessing the subject, it outperforms general background removal in crowded frames with several candidate objects. It returns either the cut-out object as an RGBA PNG or a binary alpha mask you can reuse in other tools.

### Best Use Cases

* **Compositing.** Pull one object out of a busy scene with production-ready edges to place in a new background or layout.
* **Selective editing.** Mask a single item to recolor, retouch, or replace it without touching the rest of the image.
* **Crowded product shots.** Isolate one product from a group or flat-lay where general background removal would grab everything.
* **Catalog and swap workflows.** Extract the same object type across many images for consistent product swaps or variants.
* **Mask generation.** Produce reusable alpha masks for downstream tools and pipelines.

### Endpoint

`https://api.topazlabs.com/image/v1/matting/async`

### Model Parameters

| Parameter | Type     | Required / Default                                     | Accepted values | Description                                                                                                                                          |
| --------- | -------- | ------------------------------------------------------ | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`   | `string` | Required                                               | `"Object"`      | —                                                                                                                                                    |
| `box`     | `array`  | <p>Optional<br>Default: <code>\[0, 0, 1, 1]</code></p> | —               | Relative left, top, right, and bottom edges of the target object, each from 0 to 1. Defaults to the whole image. A tighter box gives better results. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Image Object Matting** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/matting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Object" \
  -F "box=[0.2, 0.1, 0.8, 0.9]"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Object");
form.append("box", "[0.2, 0.1, 0.8, 0.9]");

const response = await fetch("https://api.topazlabs.com/image/v1/matting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/matting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Object",
            "box": "[0.2, 0.1, 0.8, 0.9]"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output. Output is always PNG.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td><a href="/getting-started/image-quickstart">Image Quickstart</a></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td><a href="https://developer.topazlabs.com/credit-calculator">https://developer.topazlabs.com/credit-calculator</a></td></tr></tbody></table>


# Background Removal

Remove backgrounds from images

<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%2FidVFBFBVdpN8KLCRmRRQ%2FBG_Remover_Cow_slider.jpg?alt=media&#x26;token=ca59327b-767c-4462-842d-e128c839ba93">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FidVFBFBVdpN8KLCRmRRQ%2FBG_Remover_Cow_slider.jpg?alt=media&#x26;token=ca59327b-767c-4462-842d-e128c839ba93</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FCow%20copy.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FCow%20copy%20(1).png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FCow%20copy.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FCow%20copy%20(1).png&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FXgJpaQmWXILLpYmINEZa%2FBG_Remover_pexels-bear-6582763_slider.jpg?alt=media&#x26;token=50d49986-2289-472a-83f6-aa763eb42ab1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FXgJpaQmWXILLpYmINEZa%2FBG_Remover_pexels-bear-6582763_slider.jpg?alt=media&#x26;token=50d49986-2289-472a-83f6-aa763eb42ab1</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-bear-6582763%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-bear-6582763%20copy%20(1).jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-bear-6582763%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-bear-6582763%20copy%20(1).jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Background Removal is a high-quality image segmentation model designed to isolate subjects from their background with precise, production-ready edge handling.

It delivers clean extractions across a wide range of photography scenarios, preserving fine details such as hair, soft edges, and semi-transparent elements. Well suited for both creative and high-volume image workflows, including product photography and e-commerce, flexible mask parameters enable further refinement for compositing, design, or downstream use.

### Best Use Cases

* **E-commerce product photography.** Cut products onto transparent or white backgrounds for marketplace listings with consistent, clean edges.
* **Portraits and people.** Isolate subjects with natural hair and clothing edges for headshots, ads, and profile images.
* **High-volume cutout pipelines.** Process large batches of user-submitted or supplier images with the same result every time.
* **Design and marketing assets.** Produce cutouts and masks for ads, thumbnails, and layered artwork.
* **Fine and translucent detail.** Handle fur, glass, veils, and soft edges that need a true alpha rather than a hard mask.

### Endpoint

`https://api.topazlabs.com/image/v1/matting/async`

### Model Parameters

| Parameter     | Type     | Required / Default                            | Accepted values     | Description                                                                                                   |
| ------------- | -------- | --------------------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------- |
| `model`       | `string` | Required                                      | `"RemoveBG"`        | —                                                                                                             |
| `output_type` | `string` | <p>Optional<br>Default: <code>rgba</code></p> | `"rgba"`, `"alpha"` | `rgba` returns the subject on a transparent background as an RGBA PNG. `alpha` returns a mask of the subject. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Background Removal** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/matting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=RemoveBG" \
  -F "output_type=rgba" \
  -F "output_format=png"  # default is jpeg
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "RemoveBG");
form.append("output_type", "rgba");

const response = await fetch("https://api.topazlabs.com/image/v1/matting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/matting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "RemoveBG",
            "output_type": "rgba"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output. Output is always PNG.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Dust & Scratch 1

Deprecated. Replaced by Dust & Scratch 2.

{% hint style="warning" %}
**Dust & Scratch 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Dust & Scratch 2 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Dust & Scratch 1** is an earlier version of our dust and scratch removal model. It is deprecated and no longer recommended for new integrations.

Use **Dust & Scratch 2** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/restore-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values  | Description |
| --------- | -------- | ------------------ | ---------------- | ----------- |
| `model`   | `string` | Required           | `"Dust-Scratch"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Dust & Scratch 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/restore-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Dust-Scratch"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Dust-Scratch");

const response = await fetch("https://api.topazlabs.com/image/v1/restore-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/restore-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Dust-Scratch"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Dust & Scratch 2

1. Keep the `/image/v1/restore-gen/async` endpoint and set `model` to `Dust-Scratch V2`.
2. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpening

Reduce blur and improve clarity, bringing the subject or the whole image into focus.

### Best Models

<table data-view="cards"><thead><tr><th></th><th></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><strong>Super Focus 3</strong></td><td>Generative refocusing for heavily blurred images.</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2F9yrrDBR1tx3uoftuznAm%2FImg_7271_slider.jpg?alt=media&amp;token=31b93fe7-b0c3-4cc0-af50-50a874daf88a">Img_7271_slider.jpg</a></td><td><a href="/image-models/sharpening/super-focus-3">Super Focus 3</a></td></tr><tr><td><strong>Noise-Aware Sharpen</strong></td><td>Sharpens without amplifying noise.</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FGKzpTqDrZq7TjAedmdjQ%2Fparker-johnson_slider.jpg?alt=media&amp;token=d91331b8-84af-4dbe-90f3-ca66d4ced189">parker-johnson_slider.jpg</a></td><td><a href="/image-models/sharpening/noise-aware-sharpen">Noise-Aware Sharpen</a></td></tr></tbody></table>

Specialized sharpening models that reduce blur and improve clarity, bringing the subject or the entire image into focus. Choose a general-purpose model, one tuned for a subject type, or one matched to the kind of blur in your image.

### Models

<table data-view="cards"><thead><tr><th></th><th></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><strong>Sharpen Standard</strong></td><td>General-purpose sharpening for most photos.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FgKH402mFkjnW5EvA6Ve2%2FStandard_slider.jpg?alt=media&#x26;token=0a1e02d5-0aa5-4a93-aa03-799cbe7ec56e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FgKH402mFkjnW5EvA6Ve2%2FStandard_slider.jpg?alt=media&#x26;token=0a1e02d5-0aa5-4a93-aa03-799cbe7ec56e</a></td><td><a href="/image-models/sharpening/sharpen-standard">Sharpen Standard</a></td></tr><tr><td><strong>Sharpen Strong</strong></td><td>Heavier sharpening for very soft images.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FC37O8HCIyOAr2AFNaxWn%2FSharpen_Strong_slider.jpg?alt=media&#x26;token=4dc6265d-ee8c-4801-84f2-efd793050254">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FC37O8HCIyOAr2AFNaxWn%2FSharpen_Strong_slider.jpg?alt=media&#x26;token=4dc6265d-ee8c-4801-84f2-efd793050254</a></td><td><a href="/image-models/sharpening/sharpen-strong">Sharpen Strong</a></td></tr><tr><td><strong>Noise-Aware Sharpen</strong></td><td>Sharpens without amplifying noise.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FDusInobqDh4fgdcuCp4U%2F9335787003_slider.jpg?alt=media&#x26;token=f64d678f-461b-4b14-906c-f76fe7dcad60">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FDusInobqDh4fgdcuCp4U%2F9335787003_slider.jpg?alt=media&#x26;token=f64d678f-461b-4b14-906c-f76fe7dcad60</a></td><td><a href="/image-models/sharpening/noise-aware-sharpen">Noise-Aware Sharpen</a></td></tr><tr><td><strong>Sharpen Portrait</strong></td><td>Tuned for faces, skin, and hair.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FwBv7TUYdtxgcNGYbCGrH%2FPortrait_slider.jpg?alt=media&#x26;token=f632a07f-6402-4ebf-8ec9-e25f40cfcd0b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FwBv7TUYdtxgcNGYbCGrH%2FPortrait_slider.jpg?alt=media&#x26;token=f632a07f-6402-4ebf-8ec9-e25f40cfcd0b</a></td><td><a href="/image-models/sharpening/sharpen-portrait">Sharpen Portrait</a></td></tr><tr><td><strong>Sharpen Wildlife</strong></td><td>Tuned for fur, feathers, and eyes.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FC77nWdwFZJUjpUGkgXOq%2FWildlife_(Ex_1)_slider.jpg?alt=media&#x26;token=b51926c9-066c-4b59-ba75-ae2cad05d6c1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FC77nWdwFZJUjpUGkgXOq%2FWildlife_(Ex_1)_slider.jpg?alt=media&#x26;token=b51926c9-066c-4b59-ba75-ae2cad05d6c1</a></td><td><a href="/image-models/sharpening/sharpen-wildlife">Sharpen Wildlife</a></td></tr><tr><td><strong>Sharpen Natural</strong></td><td>Subtle sharpening with a natural look.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FRVxiQIBxoXI0gaBoMZpE%2FSharpen_Natural_slider.jpg?alt=media&#x26;token=1ddb3f7c-c4f8-4af9-b526-60a80a35f243">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FRVxiQIBxoXI0gaBoMZpE%2FSharpen_Natural_slider.jpg?alt=media&#x26;token=1ddb3f7c-c4f8-4af9-b526-60a80a35f243</a></td><td><a href="/image-models/sharpening/sharpen-natural">Sharpen Natural</a></td></tr><tr><td><strong>Sharpen Refocus</strong></td><td>Recovers images that missed focus.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F22yeKuCuGRkWetYQa3fN%2FSharpen_Refocus_(Ex_1)_slider.jpg?alt=media&#x26;token=b3209cdd-b178-441d-8741-8ccc01a881ea">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F22yeKuCuGRkWetYQa3fN%2FSharpen_Refocus_(Ex_1)_slider.jpg?alt=media&#x26;token=b3209cdd-b178-441d-8741-8ccc01a881ea</a></td><td><a href="/image-models/sharpening/sharpen-refocus">Sharpen Refocus</a></td></tr><tr><td><strong>Sharpen Motion Blur</strong></td><td>Corrects camera shake and subject movement.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fn7ISFyD59AiSR34TM3Zw%2FSharpen_Motion_Blur_slider.jpg?alt=media&#x26;token=a1b0dee8-35ef-469d-a28e-0e76f4ba66dd">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fn7ISFyD59AiSR34TM3Zw%2FSharpen_Motion_Blur_slider.jpg?alt=media&#x26;token=a1b0dee8-35ef-469d-a28e-0e76f4ba66dd</a></td><td><a href="/image-models/sharpening/sharpen-motion-blur">Sharpen Motion Blur</a></td></tr><tr><td><strong>Sharpen Lens Blur 2</strong></td><td>Corrects optical softness from the lens.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuPbQMgbu9h4wuhsT8Cto%2FSharpen_Lens_Blur_2_slider.jpg?alt=media&#x26;token=dc16343c-b595-4aad-80c1-7743fc483954">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuPbQMgbu9h4wuhsT8Cto%2FSharpen_Lens_Blur_2_slider.jpg?alt=media&#x26;token=dc16343c-b595-4aad-80c1-7743fc483954</a></td><td><a href="/image-models/sharpening/sharpen-lens-blur-2">Sharpen Lens Blur 2</a></td></tr><tr><td><strong>Super Focus 3</strong></td><td>Generative refocusing for heavily blurred images.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FdEnY0Lx6gPvLSFCMErPI%2FNyc_1098_Alco_Fa_Dumont_Nj_1953_Ron_Amberger_slider.jpg?alt=media&#x26;token=4271b348-1255-4f11-b272-42e91a8528d1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FdEnY0Lx6gPvLSFCMErPI%2FNyc_1098_Alco_Fa_Dumont_Nj_1953_Ron_Amberger_slider.jpg?alt=media&#x26;token=4271b348-1255-4f11-b272-42e91a8528d1</a></td><td><a href="/image-models/sharpening/super-focus-3">Super Focus 3</a></td></tr></tbody></table>

{% hint style="warning" %}
Sharpen Lens Blur 1, Super Focus 1, and Super Focus 2 are deprecated and will be retired no sooner than December 9, 2026. Sharpen Lens Blur 2 replaces Lens Blur 1, and Super Focus 3 replaces Super Focus 1 and 2. See [Model Deprecations](/resources/model-deprecations) for replacements and migration steps.
{% endhint %}

### Choosing a model

* **Start with Sharpen Standard** for photos that are slightly soft but otherwise clean. Step up to Sharpen Strong for very soft images.
* **Match the subject.** Use Sharpen Portrait for people and Sharpen Wildlife for animals and birds.
* **Match the blur.** Use Sharpen Motion Blur for camera shake or moving subjects, Sharpen Lens Blur 2 for optical softness, and Sharpen Refocus when focus landed in the wrong place.
* **Noisy and soft?** Use Noise-Aware Sharpen so noise isn't amplified.
* **Severely blurred?** Use Super Focus 3, which reconstructs detail generatively. It costs more (20 MP per credit instead of 24).

### Best Use Cases

* **Sharpen Standard.** Everyday sharpening for photos that are slightly soft but otherwise clean, from landscapes to product shots.
* **Sharpen Strong.** Very soft or low-detail images that need a heavier hand than Standard without introducing halos.
* **Noise-Aware Sharpen.** Images that are both noisy and soft, where ordinary sharpening would amplify grain.
* **Sharpen Portrait.** Headshots and people photos where eyes, lashes, and hair need crispness but skin should stay smooth.
* **Sharpen Wildlife.** Animal and bird photography where fur, feathers, and eyes carry the detail.
* **Sharpen Natural.** Images that need a light, realistic lift in clarity with no visible processing.
* **Sharpen Refocus.** Shots where autofocus landed slightly in front of or behind the subject.
* **Sharpen Motion Blur.** Handheld, low-light, and action shots with camera shake or subject movement.
* **Sharpen Lens Blur 2.** Optical softness from kit lenses, wide apertures, or edge-of-frame falloff.
* **Super Focus 3.** Heavily blurred images that conventional sharpening can't recover.

### Endpoints

| Endpoint                                               | Models                                                                                                                                                                |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `https://api.topazlabs.com/image/v1/sharpen/async`     | Sharpen Standard, Sharpen Strong, Noise-Aware Sharpen, Sharpen Portrait, Sharpen Wildlife, Sharpen Natural, Sharpen Refocus, Sharpen Motion Blur, Sharpen Lens Blur 2 |
| `https://api.topazlabs.com/image/v1/sharpen-gen/async` | Super Focus 3                                                                                                                                                         |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and add any model settings as extra form fields. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@portrait.jpg" \
  -F "model=Portrait" \
  -F "sharpenStrength=0.5" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("portrait.jpg"));
form.append("model", "Portrait");
form.append("sharpenStrength", "0.5");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("portrait.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Portrait",
            "sharpenStrength": "0.5",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`) are the same for every image endpoint and are listed on the Request Parameters page. Model settings are listed on each model's page.

### Limitations

Models on `/sharpen/async` and Super Focus 3 accept up to 256 MP input and output. Sharpening models don't change resolution.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Super Focus 3

Generative blur recovery with selective refinement

<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%2FdEnY0Lx6gPvLSFCMErPI%2FNyc_1098_Alco_Fa_Dumont_Nj_1953_Ron_Amberger_slider.jpg?alt=media&#x26;token=4271b348-1255-4f11-b272-42e91a8528d1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FdEnY0Lx6gPvLSFCMErPI%2FNyc_1098_Alco_Fa_Dumont_Nj_1953_Ron_Amberger_slider.jpg?alt=media&#x26;token=4271b348-1255-4f11-b272-42e91a8528d1</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fnyc_1098_alco_fa_dumont_nj_1953_ron_amberger_sfv3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fnyc_1098_alco_fa_dumont_nj_1953_ron_amberger_sfv3_after.jpg&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fnyc_1098_alco_fa_dumont_nj_1953_ron_amberger_sfv3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fnyc_1098_alco_fa_dumont_nj_1953_ron_amberger_sfv3_after.jpg&#x26;src2label=After&#x26;zoom=1.0</a></td></tr><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%2FHo5rTZKaipAFnAuZrN4k%2FImg_7271_slider.jpg?alt=media&#x26;token=964f1455-fabe-4039-a26e-ced4e140e7bc">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FHo5rTZKaipAFnAuZrN4k%2FImg_7271_slider.jpg?alt=media&#x26;token=964f1455-fabe-4039-a26e-ced4e140e7bc</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fimg_7271_sfv3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fimg_7271_sfv3_after.jpg&#x26;src2label=After&#x26;zoom=1.0">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fimg_7271_sfv3_before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fimg_7271_sfv3_after.jpg&#x26;src2label=After&#x26;zoom=1.0</a></td></tr></tbody></table>

### Model Overview

Super Focus 3 is a next-generation model designed to recover detail from severely blurred or out-of-focus images when traditional sharpening methods fall short.

It selectively refines only the blurry regions of an image, intelligently preserving already-sharp details while handling variable blur with precision. This results in more natural reconstruction of detail, edges, and textures, with improved fidelity over Super Focus 2, especially on faces and skin.

### Best Use Cases

* **Severely blurred images.** Rescue shots that Sharpen Strong can't bring back.
* **Faces that missed focus.** Natural facial detail and skin where earlier generative models looked synthetic.
* **Variable blur across the frame.** Rebuild only the soft regions and leave sharp ones alone.
* **Archival and one-of-a-kind images.** Recover irreplaceable photos where there's no sharper version to fall back on.
* **Stacked recovery.** Run multiple passes for progressively stronger recovery on the hardest cases.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values    | Description |
| --------- | -------- | ------------------ | ------------------ | ----------- |
| `model`   | `string` | Required           | `"Super Focus V3"` | —           |

Super Focus 3 has no model-specific parameters.

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Super Focus 3** costs 1 credit per every 20 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 2       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 3       |
| 8192×5464  | 45 MP camera         | 44.76     | 3       |
| 9504×6336  | 61 MP camera         | 60.22     | 4       |
| 11648×8736 | 100 MP medium format | 101.76    | 6       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 2  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Super Focus V3"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Super Focus V3");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Super Focus V3"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Noise-Aware Sharpen

One-click sharpening that separates detail from noise

<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%2FDusInobqDh4fgdcuCp4U%2F9335787003_slider.jpg?alt=media&#x26;token=f64d678f-461b-4b14-906c-f76fe7dcad60">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FDusInobqDh4fgdcuCp4U%2F9335787003_slider.jpg?alt=media&#x26;token=f64d678f-461b-4b14-906c-f76fe7dcad60</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/9335787003.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/53063746-d55b-4b08-accd-e5d405837452.png&#x26;src2label=After">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/9335787003.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/53063746-d55b-4b08-accd-e5d405837452.png&#x26;src2label=After</a></td></tr><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%2Fh2jmN2qLR9nGlhOpTgqq%2Fpexels-mnannapaneni_slider.jpg?alt=media&#x26;token=1f5947f9-7f15-4ef5-99a6-eb66e5ea104b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fh2jmN2qLR9nGlhOpTgqq%2Fpexels-mnannapaneni_slider.jpg?alt=media&#x26;token=1f5947f9-7f15-4ef5-99a6-eb66e5ea104b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/pexels-mnannapaneni-29388749.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/82d2c77f-e8a4-4a91-9762-c02b1becb517.png&#x26;src2label=After">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/pexels-mnannapaneni-29388749.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/82d2c77f-e8a4-4a91-9762-c02b1becb517.png&#x26;src2label=After</a></td></tr><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%2FZ0WsbICZup7sc8cRc3nT%2Fparker-johnson_slider.jpg?alt=media&#x26;token=db2d8d5a-981a-4844-bac6-bf10af56bdf4">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZ0WsbICZup7sc8cRc3nT%2Fparker-johnson_slider.jpg?alt=media&#x26;token=db2d8d5a-981a-4844-bac6-bf10af56bdf4</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/parker-johnson-MOPTew6XlTA-unsplash.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/eed144e0-da8b-4d8d-aa82-998f071e8d11.png&#x26;src2label=After">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/parker-johnson-MOPTew6XlTA-unsplash.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/eed144e0-da8b-4d8d-aa82-998f071e8d11.png&#x26;src2label=After</a></td></tr></tbody></table>

### Model Overview

Noise-Aware Sharpen is an intelligent automatic sharpening model that uses AI-driven image analysis to evaluate both image quality and scene content before applying sharpening. Unlike traditional sharpening tools that enhance detail and noise equally, the model automatically separates true image detail from digital noise and compression artifacts before intelligently restoring clarity. The result is sharper textures, facial features, fur, and fine edges while preserving the natural character of the original image.

By avoiding aggressive edge enhancement, Noise-Aware Sharpen reduces halos, oversharpening, and harsh digital artifacts commonly introduced by conventional sharpening filters. This model is especially effective for low-light, high ISO, wildlife, sports, nighttime, or grain-heavy photography where visible grain or noise is already present or intentionally part of the atmosphere of the shot. It performs best on high-resolution and production-quality imagery where preserving realism and fine detail is critical.

### Best Use Cases

* **Low-light and high-ISO photography.** Sharpen night, indoor, and event shots without turning sensor noise into sparkle.
* **Wildlife and sports.** Recover fine detail in fur, feathers, and fast action at high ISO.
* **Nighttime and astro.** Sharpen stars, skylines, and dark scenes where ordinary sharpening amplifies noise.
* **Hands-off pipelines.** Get consistent results across varied inputs with no per-image parameter tuning.
* **Compressed sources.** Sharpen JPEGs and web images without enhancing their compression artifacts.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

{% hint style="info" %}
In order for "auto sharpening" to be applied, `denoiseStrength`, `opacity`, `preset`, and `sharpenStrength` must be left as null. This is recommended for batch image processing with various image subject types.
{% endhint %}

| Parameter         | Type      | Required / Default                              | Accepted values        | Description                                                                                                                                                                           |
| ----------------- | --------- | ----------------------------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                        | `"Auto Sharpen"`       | —                                                                                                                                                                                     |
| `denoiseStrength` | `decimal` | Optional                                        | `0.0` to `1.0`         | <p>How strongly noise is removed. Omit to let the model choose.<br><br><strong>Recommended: omit for automatic parameter selection.</strong></p>                                      |
| `opacity`         | `decimal` | Optional                                        | `0.0` to `1.0`         | <p>Blends the result with the original image. Omit to let the model choose.<br><br><strong>Recommended: omit for automatic parameter selection.</strong></p>                          |
| `preset`          | `string`  | <p>Optional<br>Default: <code>normal</code></p> | `"normal"`, `"strong"` | <p>Sharpening preset. <code>normal</code> is the most faithful; <code>strong</code> is more visible.<br><br><strong>Recommended: omit for automatic parameter selection.</strong></p> |
| `sharpenStrength` | `decimal` | Optional                                        | `0.0` to `1.0`         | <p>How strongly the image is sharpened. Omit to let the model choose.<br><br><strong>Recommended: omit for automatic parameter selection.</strong></p>                                |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Noise-Aware Sharpen** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Auto Sharpen" \
  -F "preset=normal"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Auto Sharpen");
form.append("preset", "normal");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Auto Sharpen",
            "preset": "normal"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Standard

General-purpose sharpening

<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%2FgKH402mFkjnW5EvA6Ve2%2FStandard_slider.jpg?alt=media&#x26;token=0a1e02d5-0aa5-4a93-aa03-799cbe7ec56e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FgKH402mFkjnW5EvA6Ve2%2FStandard_slider.jpg?alt=media&#x26;token=0a1e02d5-0aa5-4a93-aa03-799cbe7ec56e</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-rgsk97-832775.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharen%20Standardpexels-rgsk97-832775-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-rgsk97-832775.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharen%20Standardpexels-rgsk97-832775-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Sharpen Standard** is the all-purpose sharpening model, built for images with mild lens softness or slight motion blur. It recovers edge definition and fine detail with a balanced touch, so the result looks like a sharper photograph rather than a processed one.

It's the recommended starting point for most sharpening workflows. If an image is severely blurred, step up to Sharpen Strong or Super Focus 3; if it's noisy as well as soft, use Noise-Aware Sharpen.

### Best Use Cases

* **Everyday photo cleanup.** A balanced lift in clarity for landscapes, street, travel, and general photography that came out slightly soft.
* **Product and catalog images.** Crisp edges and texture on e-commerce shots without halos or over-processing.
* **Light motion blur.** Handheld shots with a touch of shake that don't need the dedicated Motion Blur model.
* **Batch sharpening.** A safe default for pipelines where every image gets the same treatment.
* **First pass before upscaling.** Tighten detail before sending an image to an upscaling model.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Standard"`    | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly the image is sharpened.                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Standard** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Standard" \
  -F "sharpenStrength=0.5" \
  -F "denoiseStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Standard");
form.append("sharpenStrength", "0.5");
form.append("denoiseStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Standard",
            "sharpenStrength": "0.5",
            "denoiseStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Strong

Severe blur recovery

<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%2FC37O8HCIyOAr2AFNaxWn%2FSharpen_Strong_slider.jpg?alt=media&#x26;token=4dc6265d-ee8c-4801-84f2-efd793050254">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FC37O8HCIyOAr2AFNaxWn%2FSharpen_Strong_slider.jpg?alt=media&#x26;token=4dc6265d-ee8c-4801-84f2-efd793050254</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-fotios-photos-20026560%201.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharpen%20Strongpexels-fotios-photos-20026560%201-topaz-sharpen.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-fotios-photos-20026560%201.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharpen%20Strongpexels-fotios-photos-20026560%201-topaz-sharpen.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Strong applies maximum reconstruction strength for severely blurred or out-of-focus images where standard sharpening models are insufficient.

### Best Use Cases

* **Badly out-of-focus shots.** Recover usable detail from images where focus clearly missed.
* **Heavy softness from low-quality optics.** Compensate for cheap lenses, smudged filters, or screen-protected phone cameras.
* **Scanned and reproduced images.** Restore edge definition lost in scanning or re-photographing prints.
* **Small or distant subjects.** Bring structure back to subjects that occupy few pixels.
* **Selective rescue.** Use on the problem images in a batch while Standard handles the rest.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Strong"`      | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly the image is sharpened.                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Strong** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Strong" \
  -F "sharpenStrength=0.7"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Strong");
form.append("sharpenStrength", "0.7");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Strong",
            "sharpenStrength": "0.7"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Portrait

Detail enhancement for people

<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%2FwBv7TUYdtxgcNGYbCGrH%2FPortrait_slider.jpg?alt=media&#x26;token=f632a07f-6402-4ebf-8ec9-e25f40cfcd0b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FwBv7TUYdtxgcNGYbCGrH%2FPortrait_slider.jpg?alt=media&#x26;token=f632a07f-6402-4ebf-8ec9-e25f40cfcd0b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/Portrait%20Sourcepexels-iamikeee-3310695%201-topaz-denoise.png&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/Portraitpexels-iamikeee-3310695%201-topaz-sharpen-denoise.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/Portrait%20Sourcepexels-iamikeee-3310695%201-topaz-denoise.png&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/Portraitpexels-iamikeee-3310695%201-topaz-sharpen-denoise.png&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Portrait is trained to enhance fine detail in high-resolution images of people, prioritizing natural skin texture and facial structure.

### Best Use Cases

* **Headshots and professional portraits.** Crisp eyes and hair with skin that still looks like skin.
* **Wedding and event photography.** Sharpen faces across large galleries with a consistent, flattering result.
* **Beauty and fashion.** Enhance lashes, brows, fabric, and jewelry detail without plasticky skin.
* **Profile and ID images.** Bring softly focused faces up to a clean, presentable standard.
* **Close-up subjects.** Any image where a face fills a large part of the frame.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Portrait"`    | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly the image is sharpened.                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Portrait** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Portrait" \
  -F "sharpenStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Portrait");
form.append("sharpenStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Portrait",
            "sharpenStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Wildlife

Detail recovery for nature imagery

<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%2FC77nWdwFZJUjpUGkgXOq%2FWildlife_(Ex_1)_slider.jpg?alt=media&#x26;token=b51926c9-066c-4b59-ba75-ae2cad05d6c1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FC77nWdwFZJUjpUGkgXOq%2FWildlife_(Ex_1)_slider.jpg?alt=media&#x26;token=b51926c9-066c-4b59-ba75-ae2cad05d6c1</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-anacardia-2570085%20(md).jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-anacardia-2570085%20(md)-topaz-upscale-4x-sharpen.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-anacardia-2570085%20(md).jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-anacardia-2570085%20(md)-topaz-upscale-4x-sharpen.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FuSVYPuyflMj5arbbuEwL%2FWildlife_(Ex_2)_slider.jpg?alt=media&#x26;token=345be909-a33a-4071-84af-18357b798d2f">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuSVYPuyflMj5arbbuEwL%2FWildlife_(Ex_2)_slider.jpg?alt=media&#x26;token=345be909-a33a-4071-84af-18357b798d2f</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F694441bec5286c51fe7a2541_photo-wildlife-2-before.webp&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F694441bec5286c51fe7a2541_photo-wildlife-2-before-topaz-denoise-sharpen-upscale.webp&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F694441bec5286c51fe7a2541_photo-wildlife-2-before.webp&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F694441bec5286c51fe7a2541_photo-wildlife-2-before-topaz-denoise-sharpen-upscale.webp&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Wildlife is trained to enhance fine detail in high-resolution wildlife and nature images while preserving organic textures.

### Best Use Cases

* **Bird photography.** Define individual feathers and eye detail on distant or fast-moving subjects.
* **Mammals and fur.** Sharpen fur texture without the wiry, over-sharpened look.
* **Reptiles, insects, and macro.** Bring out scales, shells, and fine structure on small subjects.
* **Long-lens softness.** Compensate for the slight blur of teleconverters, heat haze, and distance.
* **Nature galleries at volume.** Consistent sharpening across a day's worth of safari or hide shooting.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Wildlife"`    | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`  | How strongly the image is sharpened.                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Wildlife** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Wildlife" \
  -F "sharpenStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Wildlife");
form.append("sharpenStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Wildlife",
            "sharpenStrength": "0.5"
        },
    )

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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Natural

Texture-preserving sharpening

<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%2FRVxiQIBxoXI0gaBoMZpE%2FSharpen_Natural_slider.jpg?alt=media&#x26;token=1ddb3f7c-c4f8-4af9-b526-60a80a35f243">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FRVxiQIBxoXI0gaBoMZpE%2FSharpen_Natural_slider.jpg?alt=media&#x26;token=1ddb3f7c-c4f8-4af9-b526-60a80a35f243</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-ralph-407274-3156994.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharpen%20Naturalpexels-ralph-407274-3156994-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-ralph-407274-3156994.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharpen%20Naturalpexels-ralph-407274-3156994-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Natural is designed for texture-sensitive images where realism is prioritized over maximum sharpness, preserving organic surfaces without introducing artifacts.

### Best Use Cases

* **Editorial and fine-art photography.** A subtle clarity lift with no trace of sharpening.
* **Skin, fabric, and organic surfaces.** Keep natural texture intact while tightening soft detail.
* **Film and analog looks.** Sharpen without fighting the character of grain or vintage glass.
* **Slightly soft but otherwise good images.** Images that are 90% there and need a nudge, not a rescue.
* **Client-facing deliverables.** Where any halo or artifact would be noticed.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter       | Type      | Required / Default | Accepted values | Description                                         |
| --------------- | --------- | ------------------ | --------------- | --------------------------------------------------- |
| `model`         | `string`  | Required           | `"Natural"`     | —                                                   |
| `strength`      | `decimal` | Optional           | `0.01` to `1.0` | How strongly the effect is applied.                 |
| `minor_denoise` | `decimal` | Optional           | `0.01` to `1.0` | Light noise reduction applied alongside sharpening. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Natural** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Natural" \
  -F "strength=0.5" \
  -F "minor_denoise=0.2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Natural");
form.append("strength", "0.5");
form.append("minor_denoise", "0.2");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Natural",
            "strength": "0.5",
            "minor_denoise": "0.2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Refocus

Micro-detail enhancement

<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%2F22yeKuCuGRkWetYQa3fN%2FSharpen_Refocus_(Ex_1)_slider.jpg?alt=media&#x26;token=b3209cdd-b178-441d-8741-8ccc01a881ea">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F22yeKuCuGRkWetYQa3fN%2FSharpen_Refocus_(Ex_1)_slider.jpg?alt=media&#x26;token=b3209cdd-b178-441d-8741-8ccc01a881ea</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395-topaz-v4-focus-face-denoise.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395-topaz-v4-focus-face-denoise.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2F9Rscl8BsPKdTB2LcJucM%2FSharpen_Refocus_(Ex_2)_slider.jpg?alt=media&#x26;token=d36e8ccc-b2d7-4ed3-8aba-d035b8c25d09">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F9Rscl8BsPKdTB2LcJucM%2FSharpen_Refocus_(Ex_2)_slider.jpg?alt=media&#x26;token=d36e8ccc-b2d7-4ed3-8aba-d035b8c25d09</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-rdne-7516464.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-rdne-7516464-topaz-v4-focus-4.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-rdne-7516464.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-rdne-7516464-topaz-v4-focus-4.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Refocus enhances micro-detail and fine structure in slightly defocused images, emphasizing texture and small features rather than global sharpness.

### Best Use Cases

* **Slightly missed focus.** Autofocus that landed just in front of or behind the subject.
* **Fine texture and detail.** Fabric weave, foliage, architecture, and surfaces where micro-contrast matters.
* **Macro and close-up.** Extend the apparent depth of field on shallow-focus shots.
* **Product detail shots.** Make stitching, engraving, and small features legible.
* **Pre-print preparation.** Add the micro-detail that survives printing and scaling.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter       | Type      | Required / Default | Accepted values | Description                                         |
| --------------- | --------- | ------------------ | --------------- | --------------------------------------------------- |
| `model`         | `string`  | Required           | `"Refocus"`     | —                                                   |
| `strength`      | `decimal` | Optional           | `0.01` to `1.0` | How strongly the effect is applied.                 |
| `minor_denoise` | `decimal` | Optional           | `0.01` to `1.0` | Light noise reduction applied alongside sharpening. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Refocus** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Refocus" \
  -F "strength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Refocus");
form.append("strength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Refocus",
            "strength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Motion Blur

Motion artifact correction

<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%2Fn7ISFyD59AiSR34TM3Zw%2FSharpen_Motion_Blur_slider.jpg?alt=media&#x26;token=a1b0dee8-35ef-469d-a28e-0e76f4ba66dd">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fn7ISFyD59AiSR34TM3Zw%2FSharpen_Motion_Blur_slider.jpg?alt=media&#x26;token=a1b0dee8-35ef-469d-a28e-0e76f4ba66dd</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fshubham-bombarde-aElqlLEBbO0-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharpen%20%20Motion%20Blurshubham-bombarde-aElqlLEBbO0-unsplash-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fshubham-bombarde-aElqlLEBbO0-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSharpen%20%20Motion%20Blurshubham-bombarde-aElqlLEBbO0-unsplash-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Motion Blur is optimized to correct directional streaking and smearing caused by camera shake or subject movement during exposure.

### Best Use Cases

* **Handheld low-light shots.** Recover shake from slow shutter speeds indoors and at night.
* **Sports and action.** Tighten subjects that moved during the exposure.
* **Street and candid photography.** Fix the slight smear in grab shots taken on the move.
* **Vehicle and panning shots.** Clean up directional blur on moving subjects.
* **Phone photography.** Correct the shake that creeps into one-handed captures.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter               | Type      | Required / Default                            | Accepted values | Description                                                                        |
| ----------------------- | --------- | --------------------------------------------- | --------------- | ---------------------------------------------------------------------------------- |
| `model`                 | `string`  | Required                                      | `"Motion Blur"` | —                                                                                  |
| `decompressionStrength` | `decimal` | <p>Optional<br>Default: <code>0.05</code></p> | `0.0` to `1.0`  | How strongly compression artifacts are removed.                                    |
| `denoiseStrength`       | `decimal` | <p>Optional<br>Default: <code>0.5</code></p>  | `0.0` to `1.0`  | How strongly noise is removed.                                                     |
| `opacity`               | `decimal` | <p>Optional<br>Default: <code>1.0</code></p>  | `0.0` to `1.0`  | Blends the result with the original image. Lower values keep more of the original. |
| `sharpenStrength`       | `decimal` | <p>Optional<br>Default: <code>0.5</code></p>  | `0.0` to `1.0`  | How strongly the image is sharpened.                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Motion Blur** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Motion Blur" \
  -F "sharpenStrength=0.6"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Motion Blur");
form.append("sharpenStrength", "0.6");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Motion Blur",
            "sharpenStrength": "0.6"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Lens Blur 2

Defocus and lens blur correction

<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%2FuPbQMgbu9h4wuhsT8Cto%2FSharpen_Lens_Blur_2_slider.jpg?alt=media&#x26;token=dc16343c-b595-4aad-80c1-7743fc483954">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuPbQMgbu9h4wuhsT8Cto%2FSharpen_Lens_Blur_2_slider.jpg?alt=media&#x26;token=dc16343c-b595-4aad-80c1-7743fc483954</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSource.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAfter.png&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSource.png&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAfter.png&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FcS2H7ijakEqiwn2ATqNE%2FSharpen_Lens_Blur_slider.jpg?alt=media&#x26;token=ecb7906c-d1af-4a6c-97fa-8561a55d9a20">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FcS2H7ijakEqiwn2ATqNE%2FSharpen_Lens_Blur_slider.jpg?alt=media&#x26;token=ecb7906c-d1af-4a6c-97fa-8561a55d9a20</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-163482.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FLens%20Blur%20pexels-pixabay-163482-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-163482.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FLens%20Blur%20pexels-pixabay-163482-topaz-sharpen.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Sharpen Lens Blur v2 is a second-generation model designed to correct optical defocus and lens-related blur with stronger and more consistent results than prior versions.

### Best Use Cases

* **Missed focus.** Recover subjects that landed outside the plane of focus.
* **Wide-aperture softness.** Tighten detail from fast lenses shot wide open.
* **Kit and budget lenses.** Compensate for optical softness, especially toward frame edges.
* **Heavily blurred regions.** Consistent correction across areas other models leave soft.
* **Scanned film with soft optics.** Sharpen defocus baked into the original capture.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter         | Type      | Required / Default                           | Accepted values  | Description                                                                        |
| ----------------- | --------- | -------------------------------------------- | ---------------- | ---------------------------------------------------------------------------------- |
| `model`           | `string`  | Required                                     | `"Lens Blur V2"` | —                                                                                  |
| `denoiseStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`   | How strongly noise is removed.                                                     |
| `opacity`         | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.0` to `1.0`   | Blends the result with the original image. Lower values keep more of the original. |
| `sharpenStrength` | `decimal` | <p>Optional<br>Default: <code>0.5</code></p> | `0.0` to `1.0`   | How strongly the image is sharpened.                                               |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Lens Blur 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Lens Blur V2" \
  -F "sharpenStrength=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Lens Blur V2");
form.append("sharpenStrength", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Lens Blur V2",
            "sharpenStrength": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Super Focus 1

Deprecated. Replaced by Super Focus 3.

{% hint style="warning" %}
**Super Focus 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Super Focus 3 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Super Focus 1** is an earlier version of our sharpening models. It is deprecated and no longer recommended for new integrations.

Use **Super Focus 3** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen-gen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values | Description |
| --------- | -------- | ------------------ | --------------- | ----------- |
| `model`   | `string` | Required           | `"Super Focus"` | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Super Focus 1** costs 1 credit per every 20 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 2       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 3       |
| 8192×5464  | 45 MP camera         | 44.76     | 3       |
| 9504×6336  | 61 MP camera         | 60.22     | 4       |
| 11648×8736 | 100 MP medium format | 101.76    | 6       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 2  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Super Focus"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Super Focus");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Super Focus"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Super Focus 3

1. Use the `/image/v1/sharpen-gen/async` endpoint and set `model` to `Super Focus V3`.
2. Super Focus 3 is priced at 20 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Super Focus 2

Generative blur recovery for severely blurred images

{% hint style="warning" %}
**Super Focus 2 is deprecated** and will be retired no sooner than January 1, 2027. Use Super Focus 3 instead. See [Model Deprecations](/resources/model-deprecations) for migration steps.
{% endhint %}

<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%2FMbE9REZZdWAyLFaLCde7%2FSuper_Focus_2_(Ex_1)_slider.jpg?alt=media&#x26;token=da2c4b00-fef3-4781-8fc6-db605a7d0b97">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FMbE9REZZdWAyLFaLCde7%2FSuper_Focus_2_(Ex_1)_slider.jpg?alt=media&#x26;token=da2c4b00-fef3-4781-8fc6-db605a7d0b97</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395-topaz-v4-focus-face-denoise.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-aymane-hanni-2148955127-30646395-topaz-v4-focus-face-denoise.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2F7NEVXzdRBUG4DrmrXtPB%2FSuper_Focus_2_(Ex_2)_slider.jpg?alt=media&#x26;token=bbf9c115-57e2-418f-a211-851c9246823b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F7NEVXzdRBUG4DrmrXtPB%2FSuper_Focus_2_(Ex_2)_slider.jpg?alt=media&#x26;token=bbf9c115-57e2-418f-a211-851c9246823b</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash-topaz-dust.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fannie-spratt-7jCUHhhnXAo-unsplash-topaz-dust.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Super Focus 2 is a generative model designed to recover detail from severely blurred or out-of-focus images when traditional sharpening methods fall short.

It reconstructs detail, edges, and textures across the image, producing usable results in difficult cases where other approaches fail.

### Best Use Cases

* **Severely blurred images.** Recover detail conventional sharpening cannot.
* **Missed focus.** Rebuild out-of-focus subjects.
* **Very soft sources.** Use focusBoost for the blurriest images.
* **Faces.** Recover facial detail from blur.
* **Rescue edits.** Salvage shots that are otherwise unusable.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen-gen/async`

### Model Parameters

| Parameter    | Type      | Required / Default | Accepted values    | Description                                                                                            |
| ------------ | --------- | ------------------ | ------------------ | ------------------------------------------------------------------------------------------------------ |
| `model`      | `string`  | Required           | `"Super Focus V2"` | —                                                                                                      |
| `detail`     | `decimal` | Optional           | `0.0` to `1.0`     | Increases detail. Too much can look unrealistic.                                                       |
| `focusBoost` | `decimal` | Optional           | `0.25` to `1.0`    | For very blurry images. Downscales, then upscales back to the original size to correct missing detail. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Super Focus 2** costs 1 credit per every 20 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 2       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 3       |
| 8192×5464  | 45 MP camera         | 44.76     | 3       |
| 9504×6336  | 61 MP camera         | 60.22     | 4       |
| 11648×8736 | 100 MP medium format | 101.76    | 6       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 2  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen-gen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Super Focus V2" \
  -F "detail=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Super Focus V2");
form.append("detail", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen-gen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen-gen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Super Focus V2",
            "detail": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Super Focus 3

1. Keep the `/image/v1/sharpen-gen/async` endpoint and set `model` to `Super Focus V3`.
2. Remove `detail` and `focusBoost`; Super Focus 3 has no model-specific settings.
3. Pricing is unchanged at 20 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Sharpen Lens Blur 1

Deprecated. Replaced by Sharpen Lens Blur 2.

{% hint style="warning" %}
**Sharpen Lens Blur 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Sharpen Lens Blur 2 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Sharpen Lens Blur 1** is an earlier version of our sharpening models. It is deprecated and no longer recommended for new integrations.

Use **Sharpen Lens Blur 2** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/sharpen/async`

### Model Parameters

| Parameter | Type     | Required / Default | Accepted values | Description |
| --------- | -------- | ------------------ | --------------- | ----------- |
| `model`   | `string` | Required           | `"Lens Blur"`   | —           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Sharpen Lens Blur 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/sharpen/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Lens Blur"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Lens Blur");

const response = await fetch("https://api.topazlabs.com/image/v1/sharpen/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/sharpen/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Lens Blur"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Sharpen Lens Blur 2

1. Keep the `/image/v1/sharpen/async` endpoint and set `model` to `Lens Blur V2`.
2. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Color, Lighting, & HDR

Fix exposure, contrast, and color balance for well-lit images with natural, true-to-life color.

Specialized color and lighting models that fix exposure and color balance, colorize black-and-white photos, or restyle an image's lighting.

### Models

<table data-view="cards"><thead><tr><th></th><th></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><strong>Adjust Lighting 2</strong></td><td>Automatic exposure, contrast, and tonal correction.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fe73QrKLc27VJq9C82Q2q%2FAdjust_Lighting_1_slider.jpg?alt=media&#x26;token=9cb04578-e943-43c1-9e9f-596b8454ac90">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fe73QrKLc27VJq9C82Q2q%2FAdjust_Lighting_1_slider.jpg?alt=media&#x26;token=9cb04578-e943-43c1-9e9f-596b8454ac90</a></td><td><a href="/image-models/color-and-lighting/adjust-lighting-2">Adjust Lighting 2</a></td></tr><tr><td><strong>Balance Color</strong></td><td>Automatic color cast and white balance correction.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FrHY3SpXOgMrtEj33d4ve%2FBalance_Color_slider.jpg?alt=media&#x26;token=6cc2aace-ed80-4dcb-82e4-f527b460237e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FrHY3SpXOgMrtEj33d4ve%2FBalance_Color_slider.jpg?alt=media&#x26;token=6cc2aace-ed80-4dcb-82e4-f527b460237e</a></td><td><a href="/image-models/color-and-lighting/balance-color">Balance Color</a></td></tr><tr><td><strong>Image Colorization</strong></td><td>Natural color for black-and-white and faded images.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FyCDL9IqpeDeAPyDuwsib%2FImage_Colorization_slider.jpg?alt=media&#x26;token=ff0abb47-24e6-4e5f-80bd-f389d0ee2184">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FyCDL9IqpeDeAPyDuwsib%2FImage_Colorization_slider.jpg?alt=media&#x26;token=ff0abb47-24e6-4e5f-80bd-f389d0ee2184</a></td><td><a href="/image-models/color-and-lighting/image-colorization">Image Colorization</a></td></tr><tr><td><strong>Relight Creative 1</strong></td><td>Creative relighting with HDR, cinematic, clarity, and vibrant styles.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FoKtamSEHdhyHOvDWMuDN%2Frelight-creative-v1-1_slider.jpg?alt=media&#x26;token=0a84f010-574e-4517-ad56-b8369cb6e00e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FoKtamSEHdhyHOvDWMuDN%2Frelight-creative-v1-1_slider.jpg?alt=media&#x26;token=0a84f010-574e-4517-ad56-b8369cb6e00e</a></td><td><a href="/image-models/color-and-lighting/relight-creative-1">Relight Creative 1</a></td></tr><tr><td><strong>Image HDR</strong></td><td>SDR-to-HDR conversion for expanded dynamic range and lifelike brightness.</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FGobJ5aN9Kh8hLBwrskTz%2FImageHDR_pexels-pixabay-60628_slider.jpg?alt=media&amp;token=f103937c-89f9-49c3-8251-b7532655c84d">ImageHDR_pexels-pixabay-60628_slider.jpg</a></td><td><a href="/image-models/color-and-lighting/image-hdr">Image HDR</a></td></tr></tbody></table>

{% hint style="warning" %}
Adjust Lighting 1 is deprecated and will be retired no sooner than December 9, 2026. Adjust Lighting 2 replaces it. See [Model Deprecations](/resources/model-deprecations) for replacements and migration steps.
{% endhint %}

### Best Use Cases

* **Adjust Lighting 2.** Fix underexposed, backlit, or flat images with automatic exposure, shadow, and highlight correction that keeps a natural look.
* **Balance Color.** Remove color casts from mixed or artificial lighting and normalize white balance across product shoots, events, and catalogs.
* **Image Colorization.** Bring historical photos, archival scans, and faded prints to life with natural color.
* **Relight Creative 1.** Give correctly exposed but lifeless images a stylized HDR, cinematic, clarity, or vibrant look, with optional dehazing.
* **Image HDR.** Converting standard dynamic range (SDR) video to HDR for expanded dynamic range and lifelike brightness on HDR-capable displays.

### Endpoints

| Endpoint                                            | Models                                                                              |
| --------------------------------------------------- | ----------------------------------------------------------------------------------- |
| `https://api.topazlabs.com/image/v1/lighting/async` | Adjust Lighting 2, Balance Color, Image Colorization, Relight Creative 1, Image HDR |

Requests are `multipart/form-data`. Pass the image as the `image` field (or reference a previous upload with `source_id` or `source_url`), set `model` to the value shown on the model's page, and add any model settings as extra form fields. The response returns a `process_id` and `eta`; poll `GET /status/{process_id}` and download the result from `GET /download/{process_id}`.

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Adjust V2" \
  -F "lighting=1.1" \
  -F "output_format=png"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Adjust V2");
form.append("lighting", "1.1");
form.append("output_format", "png");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Adjust V2",
            "lighting": "1.1",
            "output_format": "png",
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Parameters

Request parameters (`image`, `source_id`, `source_url`, `model`, `output_format`, `webhook_url`) are the same for every image endpoint and are listed on the Request Parameters page. Model settings are listed on each model's page.

### Limitations

These models accept up to 256 MP input and output and don't change resolution. Relight Creative 1 is priced at 4 MP per credit; the all other models under this intent are 24 MP per credit.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Relight Creative 1

Intelligent exposure correction

<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%2FoKtamSEHdhyHOvDWMuDN%2Frelight-creative-v1-1_slider.jpg?alt=media&#x26;token=0a84f010-574e-4517-ad56-b8369cb6e00e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FoKtamSEHdhyHOvDWMuDN%2Frelight-creative-v1-1_slider.jpg?alt=media&#x26;token=0a84f010-574e-4517-ad56-b8369cb6e00e</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-1-before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-1-after.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-1-before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-1-after.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FxgR8yXPQHgHehuxEMQqu%2Frelight-creative-v1-2_slider.jpg?alt=media&#x26;token=70cc5ddb-c6e6-41d5-aebd-9de8128c463f">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FxgR8yXPQHgHehuxEMQqu%2Frelight-creative-v1-2_slider.jpg?alt=media&#x26;token=70cc5ddb-c6e6-41d5-aebd-9de8128c463f</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-2-before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-2-after.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-2-before.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Frelight-creative-v1-2-after.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Relight Creative 1** reworks the lighting of an image with a chosen style, from a clean HDR look to cinematic, clarity, and vibrant treatments. It goes beyond exposure correction: it reshapes how light falls across the scene while keeping the content intact, with optional dehazing and a brightness control.

It's the creative counterpart to Adjust Lighting 2. Use Adjust Lighting 2 for faithful correction and Relight Creative 1 when you want a look. Because it's a heavier model, it's priced at 1 credit per 4 MP.

### Best Use Cases

* **Stylized looks.** Apply an HDR, cinematic, clarity, or vibrant treatment in one step.
* **Flat or dull scenes.** Add drama and dimension to images that are correctly exposed but lifeless.
* **Hazy landscapes.** Combine dehazing with a relight for clearer, punchier vistas.
* **Marketing and social imagery.** Produce eye-catching, consistent looks across a campaign.
* **Creative exploration.** Try several styles on the same image with `seed` held fixed for repeatability.

### Endpoint

`https://api.topazlabs.com/image/v1/lighting/async`

### Model Parameters

| Parameter | Type      | Required / Default                             | Accepted values                                            | Description                                                      |
| --------- | --------- | ---------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- |
| `model`   | `string`  | Required                                       | `"Relight Creative V1"`                                    | —                                                                |
| `dehaze`  | `boolean` | <p>Optional<br>Default: <code>false</code></p> | —                                                          | Removes haze.                                                    |
| `gain`    | `decimal` | <p>Optional<br>Default: <code>0.0</code></p>   | `-1.0` to `1.0`                                            | Brightness. Lower values are darker; higher values are brighter. |
| `seed`    | `integer` | <p>Optional<br>Default: <code>0</code></p>     | —                                                          | Seed for repeatable results.                                     |
| `style`   | `string`  | <p>Optional<br>Default: <code>none</code></p>  | `"none"`, `"hdr"`, `"cinematic"`, `"clarity"`, `"vibrant"` | Relighting style. `none` is the least creative.                  |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Relight Creative 1** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Relight Creative V1" \
  -F "style=cinematic" \
  -F "gain=0.2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Relight Creative V1");
form.append("style", "cinematic");
form.append("gain", "0.2");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Relight Creative V1",
            "style": "cinematic",
            "gain": "0.2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Adjust Lighting 2

Intelligent exposure correction

<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%2Fe73QrKLc27VJq9C82Q2q%2FAdjust_Lighting_1_slider.jpg?alt=media&#x26;token=9cb04578-e943-43c1-9e9f-596b8454ac90">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fe73QrKLc27VJq9C82Q2q%2FAdjust_Lighting_1_slider.jpg?alt=media&#x26;token=9cb04578-e943-43c1-9e9f-596b8454ac90</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-yaroslav-shuraev-8499870.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAdjust%20Lighting%20v1.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-yaroslav-shuraev-8499870.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAdjust%20Lighting%20v1.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FflqUj3SlowtChJJ9xRvG%2FAdjust_Lighting_2_slider.jpg?alt=media&#x26;token=69f26cf6-ad59-4bc3-bb52-09855a754649">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FflqUj3SlowtChJJ9xRvG%2FAdjust_Lighting_2_slider.jpg?alt=media&#x26;token=69f26cf6-ad59-4bc3-bb52-09855a754649</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-n-voitkevich-5425793.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAdjust%20Lighting%20v2%20pexels-n-voitkevich-5425793-topaz-lighting.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-n-voitkevich-5425793.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FAdjust%20Lighting%20v2%20pexels-n-voitkevich-5425793-topaz-lighting.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Adjust Lighting 2** is a second-generation lighting correction model that automatically improves exposure, contrast, and tonal balance while keeping the image looking natural. It lifts shadow detail and tames highlights without the harsh transitions or HDR look of heavy-handed tone mapping.

It replaces Adjust Lighting 1 with more consistent results and better tonal handling. Leave the parameters unset for a fully automatic correction, or nudge `lighting`, `shadow`, and `highlight` to taste.

### Best Use Cases

* **Underexposed and backlit shots.** Open up dark subjects shot against bright windows or skies.
* **Flat, low-contrast images.** Restore punch to overcast, hazy, or washed-out scenes.
* **Mixed and uneven lighting.** Balance frames with bright and dark regions in the same shot.
* **Real estate and interiors.** Even out window glare and dim corners in one pass.
* **Batch exposure normalization.** Bring a varied set of images to a consistent brightness and contrast.

### Endpoint

`https://api.topazlabs.com/image/v1/lighting/async`

### Model Parameters

| Parameter       | Type      | Required / Default                           | Accepted values | Description                                               |
| --------------- | --------- | -------------------------------------------- | --------------- | --------------------------------------------------------- |
| `model`         | `string`  | Required                                     | `"Adjust V2"`   | —                                                         |
| `highlight`     | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.5` to `1.5`  | Adjusts highlights. Lower values recover blown-out areas. |
| `labBlendAlpha` | `decimal` | <p>Optional<br>Default: <code>0.6</code></p> | `0.0` to `1.0`  | Blend strength for color correction.                      |
| `lighting`      | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.5` to `1.5`  | Adjusts overall exposure.                                 |
| `shadow`        | `decimal` | <p>Optional<br>Default: <code>1.0</code></p> | `0.1` to `1.5`  | Adjusts shadows. Higher values lift dark areas.           |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Adjust Lighting 2** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Adjust V2" \
  -F "lighting=1.1" \
  -F "shadow=1.2"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Adjust V2");
form.append("lighting", "1.1");
form.append("shadow", "1.2");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Adjust V2",
            "lighting": "1.1",
            "shadow": "1.2"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Balance Color

Automatic color correction

<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%2FrHY3SpXOgMrtEj33d4ve%2FBalance_Color_slider.jpg?alt=media&#x26;token=6cc2aace-ed80-4dcb-82e4-f527b460237e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FrHY3SpXOgMrtEj33d4ve%2FBalance_Color_slider.jpg?alt=media&#x26;token=6cc2aace-ed80-4dcb-82e4-f527b460237e</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-100k-makhasette-2160826-3805874.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FBalance%20Color%20pexels-100k-makhasette-2160826-3805874-topaz-color.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-100k-makhasette-2160826-3805874.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FBalance%20Color%20pexels-100k-makhasette-2160826-3805874-topaz-color.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Balance Color** automatically corrects color casts and white balance problems to produce natural, consistent color across a wide range of images. It neutralizes tints from mixed or artificial lighting without manual grading, and keeps skin tones and neutrals where they should be.

It's a fast, reliable first step for any pipeline where images arrive with unpredictable color.

### Best Use Cases

* **Mixed and artificial lighting.** Remove the orange, green, or blue casts from tungsten, fluorescent, and LED light.
* **Indoor and event photography.** Neutralize venue lighting across a whole gallery.
* **Product photography.** Keep product colors accurate and consistent across shoots and sessions.
* **Underwater and tinted scenes.** Pull back natural color from strongly cast images.
* **Catalog normalization.** Give user-submitted or multi-source images a consistent white balance.

### Endpoint

`https://api.topazlabs.com/image/v1/lighting/async`

### Model Parameters

| Parameter          | Type      | Required / Default                           | Accepted values   | Description                                |
| ------------------ | --------- | -------------------------------------------- | ----------------- | ------------------------------------------ |
| `model`            | `string`  | Required                                     | `"White Balance"` | —                                          |
| `color_correction` | `boolean` | Optional                                     | —                 | Adjusts vibrance.                          |
| `exposure`         | `decimal` | Optional                                     | `0.0` to `2.0`    | Adjusts exposure.                          |
| `highlight`        | `decimal` | Optional                                     | `0.0` to `2.0`    | Adjusts highlights.                        |
| `opacity`          | `decimal` | Optional                                     | `0.01` to `1.0`   | Blends the result with the original image. |
| `saturation`       | `decimal` | <p>Optional<br>Default: <code>0.2</code></p> | `0.0` to `1.0`    | Adjusts saturation.                        |
| `shadow`           | `decimal` | Optional                                     | `0.0` to `2.0`    | Adjusts shadows.                           |
| `temperature`      | `decimal` | Optional                                     | `0.01` to `1.0`   | Adjusts overall warmth.                    |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Balance Color** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=White Balance" \
  -F "temperature=0.5"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "White Balance");
form.append("temperature", "0.5");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "White Balance",
            "temperature": "0.5"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Image Colorization

Automatic colorization for black & white images

<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%2FyCDL9IqpeDeAPyDuwsib%2FImage_Colorization_slider.jpg?alt=media&#x26;token=ff0abb47-24e6-4e5f-80bd-f389d0ee2184">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FyCDL9IqpeDeAPyDuwsib%2FImage_Colorization_slider.jpg?alt=media&#x26;token=ff0abb47-24e6-4e5f-80bd-f389d0ee2184</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpre%20color.jpeg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FColored.jpeg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpre%20color.jpeg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FColored.jpeg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Image Colorization automatically transforms black-and-white and faded images into natural, full-color results using context-aware color mapping.

It intelligently assigns realistic hues based on scene content, restoring life to historical photos and grayscale imagery while maintaining a natural, balanced appearance.

### Best Use Cases

* **Historical and archival photos.** Bring family albums, newspaper images, and museum collections to life.
* **Faded and desaturated prints.** Restore color to images that have lost it to age and light.
* **Film scans.** Colorize black-and-white negatives and slides.
* **Editorial and documentary projects.** Produce consistent colorization across a series.
* **Creative reinterpretation.** Give monochrome work a natural color treatment.

### Endpoint

`https://api.topazlabs.com/image/v1/lighting/async`

### Model Parameters

| Parameter    | Type      | Required / Default                           | Accepted values | Description                    |
| ------------ | --------- | -------------------------------------------- | --------------- | ------------------------------ |
| `model`      | `string`  | Required                                     | `"Colorize"`    | —                              |
| `saturation` | `decimal` | <p>Optional<br>Default: <code>0.2</code></p> | `0.0` to `1.0`  | Saturation of the added color. |

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Image Colorization** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Colorize" \
  -F "saturation=0.3"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Colorize");
form.append("saturation", "0.3");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Colorize",
            "saturation": "0.3"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Adjust Lighting 1

Deprecated. Replaced by Adjust Lighting 2.

{% hint style="warning" %}
**Adjust Lighting 1 is deprecated** and will be retired no sooner than January 1, 2027. Use Adjust Lighting 2 instead. See Model Deprecations for migration steps.
{% endhint %}

### Model Overview

**Adjust Lighting 1** is an earlier version of our lighting correction model. It is deprecated and no longer recommended for new integrations.

Use **Adjust Lighting 2** instead.

### Endpoint

`https://api.topazlabs.com/image/v1/lighting/async`

### Model Parameters

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

For request parameters shared by every image endpoint, see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

**Adjust Lighting 1** costs 1 credit per every 24 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 1       |
| 4000×3000  | 12 MP phone          | 12.00     | 1       |
| 5472×3648  | 20 MP camera         | 19.96     | 1       |
| 6000×4000  | 24 MP camera         | 24.00     | 1       |
| 7680×4320  | 8K UHD               | 33.18     | 2       |
| 7952×5304  | 42 MP camera         | 42.18     | 2       |
| 8192×5464  | 45 MP camera         | 44.76     | 2       |
| 9504×6336  | 61 MP camera         | 60.22     | 3       |
| 11648×8736 | 100 MP medium format | 101.76    | 5       |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 1 | 1  | 1  | 2  | 2  |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=Adjust"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Adjust");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "Adjust"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Migrating to Adjust Lighting 2

1. Keep the `/image/v1/lighting/async` endpoint and set `model` to `Adjust V2`.
2. Pricing is unchanged at 24 MP per credit.

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></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://playground.topazlabs.com/">https://playground.topazlabs.com/</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></td></tr></tbody></table>


# Image HDR

Intelligent SDR-to-HDR conversion for photos and images, delivering expanded dynamic range and more lifelike brightness on HDR-capable monitors and mobile devices.

<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://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FJHaeVgPNRfEJJAfuW9nl%2FImageHDR_pexels-samime-eroglu-852630836-34190394_slider.jpg?alt=media&amp;token=3e8947ed-9af0-459f-90b5-cf4d4d33eb71">ImageHDR_pexels-samime-eroglu-852630836-34190394_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-samime-eroglu-852630836-34190394-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2F7K3eJBG4gyMH4HN3tshh%2FImageHDR_pexels-alexandra-karnasopoulos-1962842-3680319_slider.jpg?alt=media&amp;token=65c48cb3-73a0-4683-9d25-f2100595ef41">ImageHDR_pexels-alexandra-karnasopoulos-1962842-3680319_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/pexels-alexandra-karnasopoulos-1962842-3680319%20copy.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/pexels-alexandra-karnasopoulos-1962842-3680319-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https://downloads.topazlabs.com/web-assets/model-examples/pexels-alexandra-karnasopoulos-1962842-3680319%20copy.jpg&#x26;src1label=Before&#x26;src2=https://downloads.topazlabs.com/web-assets/model-examples/pexels-alexandra-karnasopoulos-1962842-3680319-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2FGobJ5aN9Kh8hLBwrskTz%2FImageHDR_pexels-pixabay-60628_slider.jpg?alt=media&amp;token=f103937c-89f9-49c3-8251-b7532655c84d">ImageHDR_pexels-pixabay-60628_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-pixabay-60628-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view</td><td><a href="https://938351258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fik4tc42rkpL9SRR51NLK%2Fuploads%2Fo21pQaLXXBvKbzva40x7%2FImageHDR_pexels-thilina-alagiyawanna-3266092-30373052_slider.jpg?alt=media&amp;token=863a37dd-46fe-4a2b-9eb8-17e475704a89">ImageHDR_pexels-thilina-alagiyawanna-3266092-30373052_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-thilina-alagiyawanna-3266092-30373052%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-thilina-alagiyawanna-3266092-30373052-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-thilina-alagiyawanna-3266092-30373052%20copy.jpg&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpexels-thilina-alagiyawanna-3266092-30373052-hdr-image-testing.jpg&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

{% hint style="info" %}
HDR enhancements are only visible on HDR-capable displays. On standard SDR screens, the image will appear unchanged.
{% endhint %}

### Model Overview

**Image HDR** automatically transforms standard dynamic range (SDR) images into HDR images with brighter highlights, expanded dynamic range, and more lifelike contrast. Designed for modern HDR-capable displays, the model enhances the visual impact of everyday photos without changing their original content.

Using AI, Image HDR predicts how an SDR photograph would appear in HDR and generates a gain map to expand its dynamic range. Unlike traditional image adjustments, this non-destructive approach preserves the original photograph while adding HDR information for greater brightness and tonal depth. The entire process is automatic, with no parameters or manual adjustments.

### Key Capabilities

* **Automatic SDR-to-HDR conversion:** Expands the dynamic range of standard photographs in a single step, with no manual adjustments.
* **Non-destructive enhancement:** Uses an AI-generated gain map to add HDR information without altering the original image content.
* **Enhanced HDR appearance:** Delivers brighter highlights, greater tonal range, and more lifelike contrast on HDR-capable displays.
* **JPEG HDR output:** Creates JPEG HDR images with embedded gain maps, supporting the ISO 21496-1 standard for compatibility with Google Ultra HDR and Apple Adaptive HDR.

### Endpoint

`https://api.topazlabs.com/image/v1/lighting/async`

### Model Parameters

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

For request parameters shared by every image endpoint, see [Request Parameters](/getting-started/request-parameters/image). The full schema is also available in our [API Reference](https://developer.topazlabs.com/reference/) page.

### Model Pricing

**Image HDR** costs 1 credit per every 4 MP of generated output. The below table includes a list of common output resolutions with associated credit costs.

| Resolution | Typical Source       | Output MP | Credits |
| ---------- | -------------------- | --------- | ------- |
| 640×480    | VGA                  | 0.31      | 1       |
| 1280×720   | 720p                 | 0.92      | 1       |
| 1920×1080  | 1080p                | 2.07      | 1       |
| 2560×1440  | 1440p                | 3.69      | 1       |
| 3840×2160  | 4K UHD               | 8.29      | 3       |
| 4000×3000  | 12 MP phone          | 12.00     | 3       |
| 5472×3648  | 20 MP camera         | 19.96     | 5       |
| 6000×4000  | 24 MP camera         | 24.00     | 6       |
| 7680×4320  | 8K UHD               | 33.18     | 9       |
| 7952×5304  | 42 MP camera         | 42.18     | 11      |
| 8192×5464  | 45 MP camera         | 44.76     | 12      |
| 9504×6336  | 61 MP camera         | 60.22     | 16      |
| 11648×8736 | 100 MP medium format | 101.76    | 26      |

| Output MP | 1 | 4 | 8 | 16 | 24 | 32 | 40 |
| --------- | - | - | - | -- | -- | -- | -- |
| Credits   | 1 | 1 | 2 | 4  | 6  | 8  | 10 |

{% hint style="info" %}
For more accurate credit cost estimates, we recommend using our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Example Request

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

```bash
curl -X POST "https://api.topazlabs.com/image/v1/lighting/async" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -F "image=@photo.jpg" \
  -F "model=ImageHDR"
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
import fs from 'fs';
import FormData from 'form-data';

const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "ImageHDR");

const response = await fetch("https://api.topazlabs.com/image/v1/lighting/async", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    ...form.getHeaders(),
  },
  body: form,
});

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

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://api.topazlabs.com/image/v1/lighting/async",
        headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
        files={"image": image},
        data={
            "model": "ImageHDR"
        },
    )

response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

This model accepts up to 256 MP input and output.

### 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>Image Quickstart</h4></td><td>Quickly get started with our Image API.</td><td></td></tr><tr><td><i class="fa-codepen">:codepen:</i></td><td><h4>Model Playground</h4></td><td>Test and create with our models.</td><td><a href="https://playground.topazlabs.com/">https://playground.topazlabs.com/</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Credit Calculator</h4></td><td>Pricing for specific outputs, batches, and more.</td><td></td></tr></tbody></table>


# Upscaling & Enhancement

Precision, Generative, and Creative Upscaling for Video

### Best Models

<table data-view="cards"><thead><tr><th></th><th></th><th></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><a class="button secondary medium">Precision</a></td><td><strong>Proteus</strong></td><td>The default choice for video enhancement.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FUrxNNr6PLLPjh6Z9XyhU%2FProteus_(Ex_1)_slider.jpg?alt=media&#x26;token=ee198405-3d9f-458e-b946-a8272daf07b0">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FUrxNNr6PLLPjh6Z9XyhU%2FProteus_(Ex_1)_slider.jpg?alt=media&#x26;token=ee198405-3d9f-458e-b946-a8272daf07b0</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/proteus">Proteus</a></td></tr><tr><td><a class="button secondary medium">Generative</a></td><td><strong>Starlight Precise 2.6</strong></td><td>Our highest-quality generative video upscaler.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FTzrLBGS7de5x7Zd0EGiN%2Fslp-4k-upscale-example_slider.jpg?alt=media&#x26;token=fd897da0-97a2-4cee-9f9c-bbf1e1da2428">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FTzrLBGS7de5x7Zd0EGiN%2Fslp-4k-upscale-example_slider.jpg?alt=media&#x26;token=fd897da0-97a2-4cee-9f9c-bbf1e1da2428</a></td><td><a href="/video-models/upscaling-and-enhancement/generative/starlight-precise-2.6">Starlight Precise 2.6</a></td></tr><tr><td><a class="button secondary medium">Creative</a></td><td><strong>Astra 2</strong></td><td>Creative, prompt-guided upscaling for GenAI video.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYNF6oN4TP7jjpzsInYws%2Fvideo_12_slider.jpg?alt=media&#x26;token=10425eeb-84ba-4f43-bfa8-f2b4a9763863">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYNF6oN4TP7jjpzsInYws%2Fvideo_12_slider.jpg?alt=media&#x26;token=10425eeb-84ba-4f43-bfa8-f2b4a9763863</a></td><td><a href="/video-models/upscaling-and-enhancement/creative/astra-2">Astra 2</a></td></tr></tbody></table>

### Upscaling Tiers

These are our three tiers of upscaling, ordered from most precise to most generated detail. Here's more information on how to choose the best tier for your needs:

* [**Precision Upscaling**](/video-models/upscaling-and-enhancement/precision) **—** Faithful to the source. Upscales, denoises, and sharpens without generating new detail; best for camera footage, broadcast, and anything that must match the original. **Proteus** is our recommended general-purpose model for this tier.
* [**Generative Upscaling**](/video-models/upscaling-and-enhancement/generative) **—** Diffusion models that rebuild realistic faces, texture, and text frame by frame; best for GenAI, archival, and heavily degraded video. **Starlight Precise 2.6** is our recommended general-purpose model for this tier.
* [**Creative Upscaling**](/video-models/upscaling-and-enhancement/creative) **—** Reimagines the footage with bold new detail and optional prompts; best for GenAI and stylized video. **Astra 2** is our recommended general-purpose model for this tier.

### Pricing

Each tier has its own base rate, priced by the number of output frames at the output resolution:

`credits = ceil(output frames ÷ frames per credit)`

Credits per minute are estimates at 30 fps. Higher output frame rates use more frames and cost more.

|                                                                   | Frames per credit (1080p) | Frames per credit (4K) | Credits per minute, 1080p | Credits per minute, 4K |
| ----------------------------------------------------------------- | ------------------------- | ---------------------- | ------------------------- | ---------------------- |
| **Precision** (Proteus and the Precision models)                  | —                         | —                      | 8                         | 29                     |
| **Generative** (Starlight Precise 2.6, Fast 3, Mini, Precise 2.5) | 26.0417                   | 11.9179                | 70                        | 152                    |
| **Creative** (Astra 2)                                            | 10                        | 6                      | 180                       | 300                    |

A few models are priced off their tier's base rate: Gaia 2 is 300 frames per credit at 1080p (100 at 4K), and Starlight Fast 2 is 52.0833 frames per credit at 1080p (23.8357 at 4K). Each model page lists its exact rate and estimated costs for common durations and frame rates. For estimates on your own files, use the [Credit Calculator](https://developer.topazlabs.com/credit-calculator).

### Endpoints

| Endpoint                                  | Use when                                                                                                                                                                                                                                       |
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `https://api.topazlabs.com/video/`        | You can supply full source metadata and want a credit estimate before uploading. Follow with `PATCH /video/{requestId}/accept` and `PATCH /video/{requestId}/complete-upload/`.                                                                |
| `https://api.topazlabs.com/video/express` | You only know the container. Returns upload URLs right away, with no accept or complete-upload steps. **Note that this endpoint is only available for GAN models (i.e. most creative and generative upscaling models will not be supported).** |

Every model in this family works on both endpoints. Requests are JSON: put the model's code in a `filters` object, along with any of its model parameters. Poll `GET /video/{requestId}/status` and download the result from the URL in the status response.

```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": "slp-2.6" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

### Parameters

Request parameters (`source`, `output`, `destination`, `notifications`, and supported encoders and profiles) are the same for every video model and are listed on the Request Parameters page. Each model's filter parameters are listed on its model page.

### Limitations

Upscaling models are limited by the output encoder's maximum resolution; see Supported encoders and profiles on the Request Parameters page. Proteus Natural and Gaia 2 upscale 2× only, and Rhea upscales 4×. Dione models expect interlaced input.

### 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="/getting-started/video-quickstart">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/">https://developer.topazlabs.com/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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Precision Upscaling

Precision Upscaling for Video

* **Camera footage.** Upscale, denoise, and sharpen modern and older video in a single filter.
* **Match the source.** Pick a model by footage type: Proteus for general restoration, Dione for interlaced sources, Gaia for animation and CG, Iris for faces, Theia and Rhea for detail.
* **Full control.** Let the model estimate settings automatically, or set every parameter yourself.
* **Fast and affordable.** The lowest cost per frame of any upscaling tier.

{% hint style="success" %}
We recommend using **Proteus** for precision upscaling.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></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><strong>Proteus</strong></td><td>The default choice for video enhancement. Upscales, denoises, and sharpens with fine-grained control.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FUrxNNr6PLLPjh6Z9XyhU%2FProteus_(Ex_1)_slider.jpg?alt=media&#x26;token=ee198405-3d9f-458e-b946-a8272daf07b0">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FUrxNNr6PLLPjh6Z9XyhU%2FProteus_(Ex_1)_slider.jpg?alt=media&#x26;token=ee198405-3d9f-458e-b946-a8272daf07b0</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/proteus">Proteus</a></td></tr><tr><td><strong>Proteus Natural</strong></td><td>Softer, more natural 2× enhancement than Proteus.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FkKK9XePqJiHjPIvIGRmU%2FProteus_Natural_(Ex_1)_slider.jpg?alt=media&#x26;token=acbe2e65-7928-4940-b6a2-fac86dcf57b7">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FkKK9XePqJiHjPIvIGRmU%2FProteus_Natural_(Ex_1)_slider.jpg?alt=media&#x26;token=acbe2e65-7928-4940-b6a2-fac86dcf57b7</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/proteus-natural">Proteus Natural</a></td></tr><tr><td><strong>Rhea</strong></td><td>High-fidelity 4× upscaling for organic textures and fine detail.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FJU9tQIwWbavjQhBFO9cg%2FRhea_(Ex_1)_slider.jpg?alt=media&#x26;token=8012a8c7-8feb-421d-8d3d-f5fda0fe7310">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FJU9tQIwWbavjQhBFO9cg%2FRhea_(Ex_1)_slider.jpg?alt=media&#x26;token=8012a8c7-8feb-421d-8d3d-f5fda0fe7310</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/rhea">Rhea</a></td></tr><tr><td><strong>Theia Fine Tune Detail</strong></td><td>Aggressive per-frame detail enhancement.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FE5BMMk7eJjBczPSkVOU1%2FTheia_Fine_Tune_Detail_slider.jpg?alt=media&#x26;token=622392bc-1720-4276-a742-b96b52fa5028">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FE5BMMk7eJjBczPSkVOU1%2FTheia_Fine_Tune_Detail_slider.jpg?alt=media&#x26;token=622392bc-1720-4276-a742-b96b52fa5028</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/theia-fine-tune-detail">Theia Fine Tune Detail</a></td></tr><tr><td><strong>Theia Fine Tune Fidelity</strong></td><td>Stable, consistent detail with fewer artifacts.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYHpmB6kRQmj5nHcIMeTj%2FTheia_Fine_Tune_Fidelity_slider.jpg?alt=media&#x26;token=620ddaa1-0995-4548-a7ac-76c7613c7ef1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYHpmB6kRQmj5nHcIMeTj%2FTheia_Fine_Tune_Fidelity_slider.jpg?alt=media&#x26;token=620ddaa1-0995-4548-a7ac-76c7613c7ef1</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/theia-fine-tune-fidelity">Theia Fine Tune Fidelity</a></td></tr><tr><td><strong>Artemis High Quality</strong></td><td>Denoise and sharpen clean, high-quality footage.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F77nl6W7PsDSQXx8iMI8z%2FArtemis_HQ_slider.jpg?alt=media&#x26;token=40ca8128-617e-48a3-a235-8ddb5b777b50">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F77nl6W7PsDSQXx8iMI8z%2FArtemis_HQ_slider.jpg?alt=media&#x26;token=40ca8128-617e-48a3-a235-8ddb5b777b50</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/artemis-high-quality">Artemis High Quality</a></td></tr><tr><td><strong>Artemis Medium Quality</strong></td><td>Balanced enhancement for medium-quality footage.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FH7jw1laCuKoiRGSlS7Jw%2FArtemis_MQ_slider.jpg?alt=media&#x26;token=8bedaf94-b388-4364-b1f5-7546a56a5f08">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FH7jw1laCuKoiRGSlS7Jw%2FArtemis_MQ_slider.jpg?alt=media&#x26;token=8bedaf94-b388-4364-b1f5-7546a56a5f08</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/artemis-medium-quality">Artemis Medium Quality</a></td></tr><tr><td><strong>Artemis Low Quality</strong></td><td>Heavier restoration for low-quality footage.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FLcyZxPOIuVWsC39idqOx%2FArtemis_LQ_slider.jpg?alt=media&#x26;token=99951900-9041-4e15-9590-02b4f4612341">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FLcyZxPOIuVWsC39idqOx%2FArtemis_LQ_slider.jpg?alt=media&#x26;token=99951900-9041-4e15-9590-02b4f4612341</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/artemis-low-quality">Artemis Low Quality</a></td></tr><tr><td><strong>Artemis Medium Halo</strong></td><td>Removes moderate edge haloing.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuBLMWJbqUmhszwIq552R%2FArtemis_Medium_Halo_slider.jpg?alt=media&#x26;token=74d10e49-cad7-4243-b67f-9bcac7820163">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuBLMWJbqUmhszwIq552R%2FArtemis_Medium_Halo_slider.jpg?alt=media&#x26;token=74d10e49-cad7-4243-b67f-9bcac7820163</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/artemis-medium-halo">Artemis Medium Halo</a></td></tr><tr><td><strong>Artemis Strong Halo</strong></td><td>Removes pronounced edge haloing.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FynCEvrb1hQToWVqDlamH%2FArtemis_Strong_Halo_slider.jpg?alt=media&#x26;token=7001c961-6e63-45be-b60f-97a0a22ff2b1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FynCEvrb1hQToWVqDlamH%2FArtemis_Strong_Halo_slider.jpg?alt=media&#x26;token=7001c961-6e63-45be-b60f-97a0a22ff2b1</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/artemis-strong-halo">Artemis Strong Halo</a></td></tr><tr><td><strong>Artemis Aliasing &#x26; Moiré</strong></td><td>Reduces aliasing and moiré patterns.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F87ZIeJTp7Vk7C4etaNlM%2FArtemis_Aliasing-Moire_slider.jpg?alt=media&#x26;token=21b1172c-e0ab-4bf7-a5a6-52098ae5994b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F87ZIeJTp7Vk7C4etaNlM%2FArtemis_Aliasing-Moire_slider.jpg?alt=media&#x26;token=21b1172c-e0ab-4bf7-a5a6-52098ae5994b</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/artemis-aliasing-and-moire">Artemis Aliasing &amp; Moiré</a></td></tr><tr><td><strong>Dione DV</strong></td><td>Deinterlacing for DV sources.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPxHrtchaRwxJh389ZKGy%2FDione_DV_slider.jpg?alt=media&#x26;token=13092da7-755f-4a4d-aa89-60e030fe771c">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPxHrtchaRwxJh389ZKGy%2FDione_DV_slider.jpg?alt=media&#x26;token=13092da7-755f-4a4d-aa89-60e030fe771c</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/dione-dv">Dione DV</a></td></tr><tr><td><strong>Dione TV</strong></td><td>Deinterlacing for analog broadcast sources.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FRsaRo3zecDQBHrqZArVW%2FDione_TV_slider.jpg?alt=media&#x26;token=3bdb3ca9-c091-4813-bdcd-8d27124a6e7e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FRsaRo3zecDQBHrqZArVW%2FDione_TV_slider.jpg?alt=media&#x26;token=3bdb3ca9-c091-4813-bdcd-8d27124a6e7e</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/dione-tv">Dione TV</a></td></tr><tr><td><strong>Dione Robust</strong></td><td>Deinterlacing for challenging interlaced content.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FVMSKyDWLee7N0a4ySwbp%2FDione_Robust_slider.jpg?alt=media&#x26;token=28710724-68a3-44e6-aa04-24ac50bc6442">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FVMSKyDWLee7N0a4ySwbp%2FDione_Robust_slider.jpg?alt=media&#x26;token=28710724-68a3-44e6-aa04-24ac50bc6442</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/dione-robust">Dione Robust</a></td></tr><tr><td><strong>Dione Dehalo</strong></td><td>Deinterlacing with edge-fringe removal.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fi2dPiWlJxa3SHT3MGkZB%2FDione_Dehalo_slider.jpg?alt=media&#x26;token=3cea2785-c43f-4b54-a473-80808efbef7b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fi2dPiWlJxa3SHT3MGkZB%2FDione_Dehalo_slider.jpg?alt=media&#x26;token=3cea2785-c43f-4b54-a473-80808efbef7b</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/dione-dehalo">Dione Dehalo</a></td></tr><tr><td><strong>Dione Robust Dehalo</strong></td><td>Robust deinterlacing plus dehalo.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FmhnhPYVeyvbYoQkZIiIT%2FDione_Robust_Dehalo_slider.jpg?alt=media&#x26;token=7c7dfecf-6284-45af-a4d0-30ddf2c1c9c3">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FmhnhPYVeyvbYoQkZIiIT%2FDione_Robust_Dehalo_slider.jpg?alt=media&#x26;token=7c7dfecf-6284-45af-a4d0-30ddf2c1c9c3</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/dione-robust-dehalo">Dione Robust Dehalo</a></td></tr><tr><td><strong>Gaia CG</strong></td><td>Upscaling for animation, CG, and stylized footage.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/gaia-cg">Gaia CG</a></td></tr><tr><td><strong>Gaia High Quality</strong></td><td>Fine detail for already-clean sources.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/gaia-high-quality">Gaia High Quality</a></td></tr><tr><td><strong>Gaia 2 Animation</strong></td><td>Frame-by-frame 2× upscaling for animation.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fx2vW0qKwdml01Nvnq1ZB%2FGaia_2_-_482656_Clock_Man_Cartoon_Tiny_People_By_Alex_Grigg_Artlist_HD_slider.jpg?alt=media&#x26;token=fc0a13d7-2aa2-4b1f-b0ee-d047b4479fed">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fx2vW0qKwdml01Nvnq1ZB%2FGaia_2_-_482656_Clock_Man_Cartoon_Tiny_People_By_Alex_Grigg_Artlist_HD_slider.jpg?alt=media&#x26;token=fc0a13d7-2aa2-4b1f-b0ee-d047b4479fed</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/gaia-2-animation">Gaia 2 Animation</a></td></tr><tr><td><strong>Iris Medium Quality</strong></td><td>Face recovery for mid-quality footage.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZ0K392A55yT3Zj7Dmp4i%2FIris_MQ_slider.jpg?alt=media&#x26;token=18f2b26e-47f9-4185-b15e-5f1c5d0d73de">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZ0K392A55yT3Zj7Dmp4i%2FIris_MQ_slider.jpg?alt=media&#x26;token=18f2b26e-47f9-4185-b15e-5f1c5d0d73de</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/iris-medium-quality">Iris Medium Quality</a></td></tr><tr><td><strong>Iris Low Quality</strong></td><td>Face recovery for degraded footage.</td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F1BP3Nw36SdUpQIQXMCLn%2FIris_LQ_slider.jpg?alt=media&#x26;token=31229f72-53ec-4803-aca3-ffd1711b8f0f">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F1BP3Nw36SdUpQIQXMCLn%2FIris_LQ_slider.jpg?alt=media&#x26;token=31229f72-53ec-4803-aca3-ffd1711b8f0f</a></td><td><a href="/video-models/upscaling-and-enhancement/precision/iris-low-quality">Iris Low Quality</a></td></tr></tbody></table>

### 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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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 %}


# Proteus

The default choice for video enhancement

<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%2FUrxNNr6PLLPjh6Z9XyhU%2FProteus_(Ex_1)_slider.jpg?alt=media&#x26;token=ee198405-3d9f-458e-b946-a8272daf07b0">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FUrxNNr6PLLPjh6Z9XyhU%2FProteus_(Ex_1)_slider.jpg?alt=media&#x26;token=ee198405-3d9f-458e-b946-a8272daf07b0</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSC_RipAq_001_EPRIII_LQ2.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSC_RipAq_001_EPRIII_LQ2_1_prob4.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSC_RipAq_001_EPRIII_LQ2.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FSC_RipAq_001_EPRIII_LQ2_1_prob4.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FKj5VSU6rKrwpBpUZD8JZ%2FProteus_(Ex_2)_slider.jpg?alt=media&#x26;token=59acf95b-0091-4677-a273-b1c00cef09b4">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FKj5VSU6rKrwpBpUZD8JZ%2FProteus_(Ex_2)_slider.jpg?alt=media&#x26;token=59acf95b-0091-4677-a273-b1c00cef09b4</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_hyper-real_Astronaut_in_space_waving_at_an_alien__0ac3e91e-399a-4309-8780-a6b8b7c9466b_1.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_hyper-real_Astronaut_in_space_waving_at_an_alien__0ac3e91e-399a-4309-8780-a6b8b7c9466b_1_prob4.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_hyper-real_Astronaut_in_space_waving_at_an_alien__0ac3e91e-399a-4309-8780-a6b8b7c9466b_1.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_hyper-real_Astronaut_in_space_waving_at_an_alien__0ac3e91e-399a-4309-8780-a6b8b7c9466b_1_prob4.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Proteus delivers high quality results across a wide range of sources and is recommended as the default model for most common video upscaling projects. A versatile, general purpose enhancement model for upscaling, denoising, and sharpening a wide range of low to medium quality video sources.

Proteus performs especially well on low to medium quality footage, including old, grainy, or heavily compressed video.

### Best Use Cases

* **General camera footage.** A reliable default for modern and older video.
* **All-in-one enhancement.** Upscale, denoise, and sharpen in one filter.
* **Compressed sources.** Recover detail lost to streaming and web compression.
* **Fine-tuned pipelines.** Set each parameter manually for consistent results across a project.
* **Pre-generative cleanup.** Clean footage before a Starlight pass.

### Endpoint

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

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

### Model Parameters

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

Proteus 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           | `"prob-4"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "prob-4", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "prob-4",
      "auto": "Auto"
    }
  ],
  "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': 'prob-4', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Proteus Natural

Next-generation natural enhancement

<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%2FkKK9XePqJiHjPIvIGRmU%2FProteus_Natural_(Ex_1)_slider.jpg?alt=media&#x26;token=acbe2e65-7928-4940-b6a2-fac86dcf57b7">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FkKK9XePqJiHjPIvIGRmU%2FProteus_Natural_(Ex_1)_slider.jpg?alt=media&#x26;token=acbe2e65-7928-4940-b6a2-fac86dcf57b7</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpn1-before-opt.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpn1-after-opt.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpn1-before-opt.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fpn1-after-opt.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Proteus Natural is an update to the popular Proteus model, designed to eliminate over sharpening and over enhancement that can occasionally occur during upscaling. This next generation refinement delivers a more natural, softer output while preserving texture and source character.

Proteus Natural reduces sharpening halos, aliasing, and background distortion, producing clean, stable upscales across a wide range of video sources and supporting both local and cloud workflows.

### Best Use Cases

* **Natural-looking upscales.** Enhance footage without visible processing.
* **Documentary and interview footage.** Keep skin and textures realistic.
* **Already-good sources.** Light enhancement for clean, modern video.
* **Broadcast delivery.** A natural 2× upscale for HD to 4K workflows.
* **Projects sensitive to sharpening.** Avoid halos and crunchy edges.

### Endpoint

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

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

### Model Parameters

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

Proteus Natural 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           | `"pnat-1"`                                                 | —                                                                                                                                              |
| `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.

### 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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "pnat-1", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "pnat-1",
      "auto": "Auto"
    }
  ],
  "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': 'pnat-1', 'auto': 'Auto'}],
 '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 %}

### Limitations

Upscales 2× only.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Rhea

High-fidelity 4× upscaling for fine detail

<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%2FJU9tQIwWbavjQhBFO9cg%2FRhea_(Ex_1)_slider.jpg?alt=media&#x26;token=8012a8c7-8feb-421d-8d3d-f5fda0fe7310">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FJU9tQIwWbavjQhBFO9cg%2FRhea_(Ex_1)_slider.jpg?alt=media&#x26;token=8012a8c7-8feb-421d-8d3d-f5fda0fe7310</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FTRex-Interview-Cam1_1_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FTRex-Interview-Cam1_1_rhea1.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FTRex-Interview-Cam1_1_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FTRex-Interview-Cam1_1_rhea1.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr><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%2FMUWh7A5uqATjNLJr1J39%2FRhea_(Ex_2)_slider.jpg?alt=media&#x26;token=bdfe18f0-71ea-484b-a1a0-49b642e0fcfd">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FMUWh7A5uqATjNLJr1J39%2FRhea_(Ex_2)_slider.jpg?alt=media&#x26;token=bdfe18f0-71ea-484b-a1a0-49b642e0fcfd</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F6274900_Surreal-Painted-Illusion-Monster_By_Gundars_Magone_Artlist_HD.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F6274900_Surreal-Painted-Illusion-Monster_By_Gundars_Magone_Artlist_HD_rxl1.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F6274900_Surreal-Painted-Illusion-Monster_By_Gundars_Magone_Artlist_HD.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F6274900_Surreal-Painted-Illusion-Monster_By_Gundars_Magone_Artlist_HD_rxl1.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

Rhea is a high fidelity enhancement model designed for 4× upscaling of organic textures and fine detail, delivering clean, controlled sharpness while preserving natural structure.

Rhea blends the general enhancement strengths of Proteus with the facial recovery capabilities of Iris to recover fine detail and faces from lower resolution sources such as 480p footage. It operates natively at a 4× scale and is best suited for workflows where maximum detail preservation is prioritized over render speed.

### Best Use Cases

* **SD to 4K.** Large upscales in a single pass.
* **Organic textures.** Foliage, hair, fabric, and skin at high resolution.
* **Nature and travel footage.** Fine detail without artificial sharpening.
* **Archival footage.** Bring low-resolution masters up to modern formats.
* **Large-format display.** Prepare footage for big screens.

### Endpoint

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

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

### Model Parameters

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

Rhea 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           | `"rhea-1"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "rhea-1", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "rhea-1",
      "auto": "Auto"
    }
  ],
  "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': 'rhea-1', 'auto': 'Auto'}],
 '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 %}

### Limitations

Upscales 4× natively.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Theia Fine Tune Detail

Aggressive per-frame detail enhancement

<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%2FE5BMMk7eJjBczPSkVOU1%2FTheia_Fine_Tune_Detail_slider.jpg?alt=media&#x26;token=622392bc-1720-4276-a742-b96b52fa5028">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FE5BMMk7eJjBczPSkVOU1%2FTheia_Fine_Tune_Detail_slider.jpg?alt=media&#x26;token=622392bc-1720-4276-a742-b96b52fa5028</a></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FE5BMMk7eJjBczPSkVOU1%2FTheia_Fine_Tune_Detail_slider.jpg?alt=media&#x26;token=622392bc-1720-4276-a742-b96b52fa5028">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FE5BMMk7eJjBczPSkVOU1%2FTheia_Fine_Tune_Detail_slider.jpg?alt=media&#x26;token=622392bc-1720-4276-a742-b96b52fa5028</a></td></tr></tbody></table>

### Model Overview

**Theia Fine Tune Detail** adds as much per-frame detail as possible, with manual control over clarity and sharpness. Detail can vary slightly from frame to frame.

Use it when maximum sharpness matters more than temporal consistency. For more stable results, use Theia Fine Tune Fidelity.

### Best Use Cases

* **Maximum detail.** Pull the most detail out of each frame.
* **Static or slow shots.** Where frame-to-frame variation is less visible.
* **Stills from video.** Extract sharp frames for thumbnails and print.
* **Manual grading workflows.** Fine control over clarity and detail.
* **Clean sources.** Push already-good footage further.

### Endpoint

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

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

### Model Parameters

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

Theia Fine Tune Detail 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           | `"thd-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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "thd-3", "details": 0.3 } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "thd-3",
      "details": 0.3
    }
  ],
  "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': 'thd-3', 'details': 0.3}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Theia Fine Tune Fidelity

Stable, consistent detail with fewer artifacts

<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%2FYHpmB6kRQmj5nHcIMeTj%2FTheia_Fine_Tune_Fidelity_slider.jpg?alt=media&#x26;token=620ddaa1-0995-4548-a7ac-76c7613c7ef1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FYHpmB6kRQmj5nHcIMeTj%2FTheia_Fine_Tune_Fidelity_slider.jpg?alt=media&#x26;token=620ddaa1-0995-4548-a7ac-76c7613c7ef1</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F219153_small.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F219153_small_thf4.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F219153_small.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F219153_small_thf4.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Theia Fine Tune Fidelity** enhances detail while keeping results stable across frames, with fewer artifacts than Theia Fine Tune Detail.

Use it when temporal consistency matters, such as footage with motion or long shots. For maximum per-frame detail, use Theia Fine Tune Detail.

### Best Use Cases

* **Motion-heavy footage.** Stable detail without flicker.
* **Long takes.** Consistent results across the whole shot.
* **Client deliverables.** Fewer artifacts in final output.
* **Interviews and talking heads.** Clean, steady detail on faces.
* **Manual control.** Tune clarity and sharpness yourself.

### Endpoint

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

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

### Model Parameters

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

Theia Fine Tune Fidelity 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           | `"thf-4"`                                                  | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "thf-4", "details": 0.2 } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "thf-4",
      "details": 0.2
    }
  ],
  "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': 'thf-4', 'details': 0.2}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Artemis High Quality

<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%2F77nl6W7PsDSQXx8iMI8z%2FArtemis_HQ_slider.jpg?alt=media&#x26;token=40ca8128-617e-48a3-a235-8ddb5b777b50">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F77nl6W7PsDSQXx8iMI8z%2FArtemis_HQ_slider.jpg?alt=media&#x26;token=40ca8128-617e-48a3-a235-8ddb5b777b50</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short_ahq12_HQ.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short_ahq12_HQ.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Artemis High Quality** balances denoising and sharpening for footage that is already in good shape, adding clarity without introducing artifacts.

Artemis models share the Precision filter parameters, so you can let them estimate settings automatically or tune them manually. For general-purpose enhancement, start with Proteus.

### Best Use Cases

* **Clean modern footage.** Light enhancement for high-quality sources.
* **HD to 4K upscales.** Sharpen and clean while upscaling.
* **Broadcast masters.** Subtle improvement for delivery.
* **Camera originals.** Remove light noise and softness.
* **Final polish.** A last pass before delivery.

### Endpoint

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

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

### Model Parameters

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

Artemis High Quality 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           | `"ahq-12"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "ahq-12", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "ahq-12",
      "auto": "Auto"
    }
  ],
  "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': 'ahq-12', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Artemis Medium Quality

Balanced enhancement for medium-quality 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%2FH7jw1laCuKoiRGSlS7Jw%2FArtemis_MQ_slider.jpg?alt=media&#x26;token=8bedaf94-b388-4364-b1f5-7546a56a5f08">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FH7jw1laCuKoiRGSlS7Jw%2FArtemis_MQ_slider.jpg?alt=media&#x26;token=8bedaf94-b388-4364-b1f5-7546a56a5f08</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short_amq13_MQ.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short_amq13_MQ.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Artemis Medium Quality** balances denoising and sharpening for typical footage with moderate noise, softness, or compression.

Artemis models share the Precision filter parameters, so you can let them estimate settings automatically or tune them manually. For general-purpose enhancement, start with Proteus.

### Best Use Cases

* **Web and streaming video.** Clean up moderate compression.
* **Consumer camera footage.** Reduce noise and soften artifacts.
* **Mixed-quality projects.** A safe middle setting for varied sources.
* **Older digital video.** Restore moderate detail loss.
* **Social content.** Improve quality for re-publishing.

### Endpoint

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

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

### Model Parameters

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

Artemis Medium Quality 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           | `"amq-13"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "amq-13", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "amq-13",
      "auto": "Auto"
    }
  ],
  "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': 'amq-13', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Artemis Low Quality

Heavier restoration for low-quality 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%2FLcyZxPOIuVWsC39idqOx%2FArtemis_LQ_slider.jpg?alt=media&#x26;token=99951900-9041-4e15-9590-02b4f4612341">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FLcyZxPOIuVWsC39idqOx%2FArtemis_LQ_slider.jpg?alt=media&#x26;token=99951900-9041-4e15-9590-02b4f4612341</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short_alq13_LQ.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F8mm_Nature_EPRIII_1_tvai_short_alq13_LQ.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Artemis Low Quality** applies stronger denoising and sharpening for heavily degraded, noisy, or compressed footage.

Artemis models share the Precision filter parameters, so you can let them estimate settings automatically or tune them manually. For general-purpose enhancement, start with Proteus.

### Best Use Cases

* **Heavily compressed video.** Recover detail from low-bitrate sources.
* **Old home video.** Restore noisy, soft recordings.
* **Low-light footage.** Stronger noise reduction.
* **Archival transfers.** Clean up degraded film and tape transfers.
* **Security and phone footage.** Improve very low-quality sources.

### Endpoint

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

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

### Model Parameters

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

Artemis Low Quality 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           | `"alq-13"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "alq-13", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "alq-13",
      "auto": "Auto"
    }
  ],
  "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': 'alq-13', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Artemis Medium Halo

Removes moderate edge haloing

<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%2FuBLMWJbqUmhszwIq552R%2FArtemis_Medium_Halo_slider.jpg?alt=media&#x26;token=74d10e49-cad7-4243-b67f-9bcac7820163">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuBLMWJbqUmhszwIq552R%2FArtemis_Medium_Halo_slider.jpg?alt=media&#x26;token=74d10e49-cad7-4243-b67f-9bcac7820163</a></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuBLMWJbqUmhszwIq552R%2FArtemis_Medium_Halo_slider.jpg?alt=media&#x26;token=74d10e49-cad7-4243-b67f-9bcac7820163">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FuBLMWJbqUmhszwIq552R%2FArtemis_Medium_Halo_slider.jpg?alt=media&#x26;token=74d10e49-cad7-4243-b67f-9bcac7820163</a></td></tr></tbody></table>

### Model Overview

**Artemis Medium Halo** targets moderate haloing, the bright or dark outlines around edges left by over-sharpening or older processing.

Artemis models share the Precision filter parameters, so you can let them estimate settings automatically or tune them manually. For general-purpose enhancement, start with Proteus.

### Best Use Cases

* **Over-sharpened sources.** Remove edge outlines from previous processing.
* **Broadcast captures.** Clean up halos from analog sharpening.
* **Upscaled footage.** Fix halos from earlier upscales.
* **Graphics in video.** Clean edges around text and logos.
* **Moderate halos.** When halos are visible but not severe.

### Endpoint

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

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

### Model Parameters

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

Artemis Medium Halo 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           | `"amqs-2"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "amqs-2", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "amqs-2",
      "auto": "Auto"
    }
  ],
  "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': 'amqs-2', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Artemis Strong Halo

Removes pronounced edge haloing

<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%2FynCEvrb1hQToWVqDlamH%2FArtemis_Strong_Halo_slider.jpg?alt=media&#x26;token=7001c961-6e63-45be-b60f-97a0a22ff2b1">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FynCEvrb1hQToWVqDlamH%2FArtemis_Strong_Halo_slider.jpg?alt=media&#x26;token=7001c961-6e63-45be-b60f-97a0a22ff2b1</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FVHS-C_SFCity_HomeVideo_EPRIII_CLIP.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FVHS-C_SFCity_HomeVideo_EPRIII_CLIP_alqs2.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FVHS-C_SFCity_HomeVideo_EPRIII_CLIP.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FVHS-C_SFCity_HomeVideo_EPRIII_CLIP_alqs2.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Artemis Strong Halo** removes pronounced haloing artifacts, common in VHS, home video, and heavily processed footage.

Artemis models share the Precision filter parameters, so you can let them estimate settings automatically or tune them manually. For general-purpose enhancement, start with Proteus.

### Best Use Cases

* **VHS and home video.** Remove heavy halos from tape sources.
* **Heavily processed footage.** Undo aggressive sharpening.
* **Archival restoration.** Clean up strong edge artifacts.
* **Before upscaling.** Remove halos so they aren't enlarged.
* **Severe halos.** When Medium Halo isn't enough.

### Endpoint

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

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

### Model Parameters

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

Artemis Strong Halo 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           | `"alqs-2"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "alqs-2", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "alqs-2",
      "auto": "Auto"
    }
  ],
  "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': 'alqs-2', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Artemis Aliasing & Moiré

Reduces aliasing and moiré patterns

<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%2F87ZIeJTp7Vk7C4etaNlM%2FArtemis_Aliasing-Moire_slider.jpg?alt=media&#x26;token=21b1172c-e0ab-4bf7-a5a6-52098ae5994b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2F87ZIeJTp7Vk7C4etaNlM%2FArtemis_Aliasing-Moire_slider.jpg?alt=media&#x26;token=21b1172c-e0ab-4bf7-a5a6-52098ae5994b</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_Masquerade_done_in_a_2D_animation_from_the_90s_-_ad6b7fb0-9033-420f-844d-724c946d2d91_2.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_Masquerade_done_in_a_2D_animation_from_the_90s_-_ad6b7fb0-9033-420f-844d-724c946d2d91_2_aaa9.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_Masquerade_done_in_a_2D_animation_from_the_90s_-_ad6b7fb0-9033-420f-844d-724c946d2d91_2.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2Fu5739975918_Masquerade_done_in_a_2D_animation_from_the_90s_-_ad6b7fb0-9033-420f-844d-724c946d2d91_2_aaa9.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Artemis Aliasing & Moiré** reduces jagged edges and moiré patterns, common on fine textures, screens, and fabric.

Artemis models share the Precision filter parameters, so you can let them estimate settings automatically or tune them manually. For general-purpose enhancement, start with Proteus.

### Best Use Cases

* **Moiré on fabric and screens.** Remove interference patterns.
* **Jagged edges.** Smooth aliasing on diagonal lines.
* **Architecture and patterns.** Clean repetitive textures.
* **Screen recordings and captures.** Reduce aliasing in captured footage.
* **Downscaled sources.** Fix artifacts from poor resizing.

### Endpoint

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

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

### Model Parameters

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

Artemis Aliasing & Moiré 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           | `"aaa-9"`                                                  | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "aaa-9", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "aaa-9",
      "auto": "Auto"
    }
  ],
  "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': 'aaa-9', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Dione DV

Deinterlacing for DV sources

<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%2FPxHrtchaRwxJh389ZKGy%2FDione_DV_slider.jpg?alt=media&#x26;token=13092da7-755f-4a4d-aa89-60e030fe771c">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FPxHrtchaRwxJh389ZKGy%2FDione_DV_slider.jpg?alt=media&#x26;token=13092da7-755f-4a4d-aa89-60e030fe771c</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGuerrilla-NTSC-Interlaced-before_short_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGuerrilla-NTSC-Interlaced-before_short_ddv3.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGuerrilla-NTSC-Interlaced-before_short_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FGuerrilla-NTSC-Interlaced-before_short_ddv3.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Dione DV** deinterlaces and enhances interlaced digital video (DV) sources, producing clean progressive frames.

Dione models expect interlaced input and output progressive frames. For progressive sources, use Proteus or Artemis.

### Best Use Cases

* **MiniDV and DV tapes.** Deinterlace camcorder footage.
* **Digital interlaced captures.** Convert to progressive for modern playback.
* **Family archives.** Restore DV home movies.
* **Event footage.** Clean up interlaced weddings and events.
* **Before upscaling.** Deinterlace first, then upscale.

### Endpoint

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

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

### Model Parameters

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

Dione DV 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           | `"ddv-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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "ddv-3", "videoType": "Interlaced", "fieldOrder": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "ddv-3",
      "videoType": "Interlaced",
      "fieldOrder": "Auto"
    }
  ],
  "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': 'ddv-3', 'videoType': 'Interlaced', 'fieldOrder': 'Auto'}],
 '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 %}

### Limitations

Expects interlaced input; outputs progressive video.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Dione TV

<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%2FRsaRo3zecDQBHrqZArVW%2FDione_TV_slider.jpg?alt=media&#x26;token=3bdb3ca9-c091-4813-bdcd-8d27124a6e7e">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FRsaRo3zecDQBHrqZArVW%2FDione_TV_slider.jpg?alt=media&#x26;token=3bdb3ca9-c091-4813-bdcd-8d27124a6e7e</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_Angel_short_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_Angel_short_dtv4.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_Angel_short_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_Angel_short_dtv4.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Dione TV** deinterlaces and enhances analog broadcast sources, such as off-air recordings and broadcast tape.

Dione models expect interlaced input and output progressive frames. For progressive sources, use Proteus or Artemis.

### Best Use Cases

* **Broadcast recordings.** Deinterlace off-air captures.
* **Analog tape transfers.** Convert interlaced tape to progressive.
* **Archive digitization.** Restore broadcast libraries.
* **Sports and news footage.** Smooth interlaced motion.
* **Before upscaling.** Deinterlace first, then upscale.

### Endpoint

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

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

### Model Parameters

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

Dione TV 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           | `"dtv-4"`                                                  | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "dtv-4", "videoType": "Interlaced", "fieldOrder": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "dtv-4",
      "videoType": "Interlaced",
      "fieldOrder": "Auto"
    }
  ],
  "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': 'dtv-4', 'videoType': 'Interlaced', 'fieldOrder': 'Auto'}],
 '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 %}

### Limitations

Expects interlaced input; outputs progressive video.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Dione Robust

Deinterlacing for challenging interlaced content

<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%2FVMSKyDWLee7N0a4ySwbp%2FDione_Robust_slider.jpg?alt=media&#x26;token=28710724-68a3-44e6-aa04-24ac50bc6442">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FVMSKyDWLee7N0a4ySwbp%2FDione_Robust_slider.jpg?alt=media&#x26;token=28710724-68a3-44e6-aa04-24ac50bc6442</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_VHSC_HL2_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_VHSC_HL2_dtd4.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_VHSC_HL2_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FEPRIII_VHSC_HL2_dtd4.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Dione Robust** handles challenging interlaced content, such as noisy, damaged, or unusual sources that other Dione models struggle with.

Dione models expect interlaced input and output progressive frames. For progressive sources, use Proteus or Artemis.

### Best Use Cases

* **Damaged interlaced tape.** Deinterlace noisy, degraded sources.
* **VHS-C and Hi8.** Handle unstable consumer formats.
* **Mixed or irregular field order.** Robust results on tricky sources.
* **Archival restoration.** A safer choice for unknown sources.
* **When Dione TV or DV fails.** A fallback for hard content.

### Endpoint

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

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

### Model Parameters

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

Dione Robust 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           | `"dtd-4"`                                                  | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "dtd-4", "videoType": "Interlaced", "fieldOrder": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "dtd-4",
      "videoType": "Interlaced",
      "fieldOrder": "Auto"
    }
  ],
  "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': 'dtd-4', 'videoType': 'Interlaced', 'fieldOrder': 'Auto'}],
 '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 %}

### Limitations

Expects interlaced input; outputs progressive video.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Dione Dehalo

<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%2Fi2dPiWlJxa3SHT3MGkZB%2FDione_Dehalo_slider.jpg?alt=media&#x26;token=3cea2785-c43f-4b54-a473-80808efbef7b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fi2dPiWlJxa3SHT3MGkZB%2FDione_Dehalo_slider.jpg?alt=media&#x26;token=3cea2785-c43f-4b54-a473-80808efbef7b</a></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fi2dPiWlJxa3SHT3MGkZB%2FDione_Dehalo_slider.jpg?alt=media&#x26;token=3cea2785-c43f-4b54-a473-80808efbef7b">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fi2dPiWlJxa3SHT3MGkZB%2FDione_Dehalo_slider.jpg?alt=media&#x26;token=3cea2785-c43f-4b54-a473-80808efbef7b</a></td></tr></tbody></table>

### Model Overview

**Dione Dehalo** deinterlaces while removing halos and edge fringing common in interlaced sources.

Dione models expect interlaced input and output progressive frames. For progressive sources, use Proteus or Artemis.

### Best Use Cases

* **Interlaced sources with halos.** Deinterlace and dehalo in one pass.
* **Sharpened broadcast captures.** Remove edge fringes.
* **VHS transfers.** Clean outlines around edges.
* **Archive restoration.** Fix two common problems at once.
* **Before upscaling.** Avoid enlarging halos.

### Endpoint

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

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

### Model Parameters

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

Dione Dehalo 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           | `"dtvs-2"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "dtvs-2", "videoType": "Interlaced", "fieldOrder": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "dtvs-2",
      "videoType": "Interlaced",
      "fieldOrder": "Auto"
    }
  ],
  "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': 'dtvs-2', 'videoType': 'Interlaced', 'fieldOrder': 'Auto'}],
 '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 %}

### Limitations

Expects interlaced input; outputs progressive video.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Dione Robust Dehalo

Robust deinterlacing plus dehalo

<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%2FmhnhPYVeyvbYoQkZIiIT%2FDione_Robust_Dehalo_slider.jpg?alt=media&#x26;token=7c7dfecf-6284-45af-a4d0-30ddf2c1c9c3">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FmhnhPYVeyvbYoQkZIiIT%2FDione_Robust_Dehalo_slider.jpg?alt=media&#x26;token=7c7dfecf-6284-45af-a4d0-30ddf2c1c9c3</a></td><td><a href="https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FB-Roll-02_RexJaw_int.mov&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FB-Roll-02_RexJaw_int_dtds2.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/image?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FB-Roll-02_RexJaw_int.mov&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2FB-Roll-02_RexJaw_int_dtds2.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Dione Robust Dehalo** combines Dione Robust's handling of difficult interlaced content with halo removal.

Dione models expect interlaced input and output progressive frames. For progressive sources, use Proteus or Artemis.

### Best Use Cases

* **Difficult interlaced sources with halos.** The most thorough Dione option.
* **Degraded archival tape.** Deinterlace, dehalo, and stabilize.
* **B-roll from mixed sources.** Robust results on varied footage.
* **Heavily processed captures.** Remove fringes and field artifacts.
* **When other Dione models fall short.** The strongest Dione model.

### Endpoint

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

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

### Model Parameters

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

Dione Robust Dehalo 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           | `"dtds-2"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "dtds-2", "videoType": "Interlaced", "fieldOrder": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "dtds-2",
      "videoType": "Interlaced",
      "fieldOrder": "Auto"
    }
  ],
  "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': 'dtds-2', 'videoType': 'Interlaced', 'fieldOrder': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Gaia High Quality

Fine detail for already-clean sources

### Model Overview

**Gaia High Quality** enhances fine detail and aliased edges in already-clean sources, including CG and high-quality footage.

It is not suited to damaged or heavily compressed footage. For animation specifically, use Gaia CG or Gaia 2.

### Best Use Cases

* **Clean CG and renders.** Sharpen fine detail.
* **Aliased edges.** Smooth jagged lines.
* **High-quality masters.** Subtle enhancement before delivery.
* **Product and motion graphics.** Crisp detail on clean content.
* **Upscaling clean footage.** Detail-focused upscales.

### Endpoint

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

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

### Model Parameters

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

Gaia High Quality 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           | `"ghq-5"`                                                  | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "ghq-5", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "ghq-5",
      "auto": "Auto"
    }
  ],
  "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': 'ghq-5', 'auto': 'Auto'}],
 '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 %}

### Limitations

Not suited to damaged footage.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Gaia CG

Upscaling for animation, CG, and stylized 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%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c</a></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c</a></td></tr></tbody></table>

### Model Overview

**Gaia CG** upscales animation, linework, and stylized imagery, keeping clean lines and flat color without adding photographic texture.

It is best on already-clean sources and is not suited to damaged footage. For hand-drawn animation, also consider Gaia 2.

### Best Use Cases

* **2D and 3D animation.** Clean upscales for animated content.
* **CG and motion graphics.** Keep crisp edges and flat color.
* **Game footage.** Upscale captures and cinematics.
* **Stylized video.** Preserve the look of illustrated content.
* **Clean sources.** Best results on undamaged footage.

### Endpoint

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

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

### Model Parameters

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

Gaia CG 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           | `"gcg-5"`                                                  | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "gcg-5", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "gcg-5",
      "auto": "Auto"
    }
  ],
  "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': 'gcg-5', 'auto': 'Auto'}],
 '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 %}

### Limitations

Not suited to damaged footage.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Gaia 2 Animation

<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%2Fx2vW0qKwdml01Nvnq1ZB%2FGaia_2_-_482656_Clock_Man_Cartoon_Tiny_People_By_Alex_Grigg_Artlist_HD_slider.jpg?alt=media&#x26;token=fc0a13d7-2aa2-4b1f-b0ee-d047b4479fed">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fx2vW0qKwdml01Nvnq1ZB%2FGaia_2_-_482656_Clock_Man_Cartoon_Tiny_People_By_Alex_Grigg_Artlist_HD_slider.jpg?alt=media&#x26;token=fc0a13d7-2aa2-4b1f-b0ee-d047b4479fed</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F482656_Clock%20Man%20Cartoon%20Tiny%20People_By_Alex_Grigg_Artlist_HD_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F482656_Clock%20Man%20Cartoon%20Tiny%20People_By_Alex_Grigg_Artlist_HD_ganim1.mp4&#x26;src2label=Gaia%202&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F482656_Clock%20Man%20Cartoon%20Tiny%20People_By_Alex_Grigg_Artlist_HD_tvai.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F482656_Clock%20Man%20Cartoon%20Tiny%20People_By_Alex_Grigg_Artlist_HD_ganim1.mp4&#x26;src2label=Gaia%202&#x26;zoom=1</a></td></tr><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%2FeWTWc13TMrK5V0t9Chs4%2FGaia_2_-_760257_Victory_Anime_2d_Sunset_By_David_Octane_Artlist_4K_slider.jpg?alt=media&#x26;token=6af55311-f31c-4370-a97a-0eefa2c2a452">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FeWTWc13TMrK5V0t9Chs4%2FGaia_2_-_760257_Victory_Anime_2d_Sunset_By_David_Octane_Artlist_4K_slider.jpg?alt=media&#x26;token=6af55311-f31c-4370-a97a-0eefa2c2a452</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F760257_Victory%20Anime%202d%20Sunset_By_David_Octane_Artlist_4K.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F760257_Victory%20Anime%202d%20Sunset_By_David_Octane_Artlist_4K_ganim1.mp4&#x26;src2label=Gaia%202&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F760257_Victory%20Anime%202d%20Sunset_By_David_Octane_Artlist_4K.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F760257_Victory%20Anime%202d%20Sunset_By_David_Octane_Artlist_4K_ganim1.mp4&#x26;src2label=Gaia%202&#x26;zoom=1</a></td></tr></tbody></table>

### Model Overview

**Gaia 2 Animation** is a next-generation upscaler for animation, processing frame by frame to deliver clean 2× upscales of cartoons and animated content.

It is priced at roughly half the rate of the other Precision models.

### Best Use Cases

* **Cartoons and 2D animation.** Clean 2× upscales.
* **Animated series libraries.** Bring older animation to HD and 4K.
* **Anime.** Keep linework crisp.
* **Motion graphics.** Upscale animated graphics.
* **High-volume animation.** Lower cost for large catalogs.

### 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           | `"ganim-1"`     | —           |

Gaia 2 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

**Gaia 2** is priced per output frame. Credits = ceil(output frames ÷ frames per credit).

| Output resolution | Frames per credit |
| ----------------- | ----------------- |
| 1080p             | 300               |
| 4K                | 100               |

#### 1080p Output

| Duration | 24 fps | 30 fps | 60 fps |
| -------- | ------ | ------ | ------ |
| 5 s      | 1      | 1      | 1      |
| 10 s     | 1      | 1      | 2      |
| 30 s     | 3      | 3      | 6      |
| 1 min    | 5      | 6      | 12     |
| 5 min    | 24     | 30     | 60     |
| 10 min   | 48     | 60     | 120    |

#### 4K Output

| Duration | 24 fps | 30 fps | 60 fps |
| -------- | ------ | ------ | ------ |
| 5 s      | 2      | 2      | 3      |
| 10 s     | 3      | 3      | 6      |
| 30 s     | 8      | 9      | 18     |
| 1 min    | 15     | 18     | 36     |
| 5 min    | 72     | 90     | 180    |
| 10 min   | 144    | 180    | 360    |

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

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "ganim-1"
    }
  ],
  "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': 'ganim-1'}],
 '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 %}

### Limitations

Upscales 2× only.

### 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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>


# Iris Medium Quality

Face recovery for mid-quality 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%2FZ0K392A55yT3Zj7Dmp4i%2FIris_MQ_slider.jpg?alt=media&#x26;token=18f2b26e-47f9-4185-b15e-5f1c5d0d73de">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZ0K392A55yT3Zj7Dmp4i%2FIris_MQ_slider.jpg?alt=media&#x26;token=18f2b26e-47f9-4185-b15e-5f1c5d0d73de</a></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZ0K392A55yT3Zj7Dmp4i%2FIris_MQ_slider.jpg?alt=media&#x26;token=18f2b26e-47f9-4185-b15e-5f1c5d0d73de">https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2FZ0K392A55yT3Zj7Dmp4i%2FIris_MQ_slider.jpg?alt=media&#x26;token=18f2b26e-47f9-4185-b15e-5f1c5d0d73de</a></td></tr></tbody></table>

### Model Overview

**Iris Medium Quality** improves facial detail in mid-quality sources while enhancing the rest of the frame.

Use it when faces are the focus. For heavily degraded footage, use Iris Low Quality.

### Best Use Cases

* **Interviews and talking heads.** Sharper, more natural faces.
* **Event and wedding video.** Improve faces in typical footage.
* **Web video.** Recover facial detail lost to compression.
* **Documentary footage.** Clearer faces in mid-quality sources.
* **People-focused content.** Prioritize faces in enhancement.

### Endpoint

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

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

### Model Parameters

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

Iris Medium Quality 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           | `"iris-2"`                                                 | —                                                                                                                                              |
| `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    |
| 480p → 1080p   | 4×   | 2880×1920   | 4    | 20    | 97    | 194    |
| 1080p → 4K     | 2×   | 3840×2160   | 5    | 29    | 145   | 290    |
| 720p → 4K      | 4×   | 5120×2880   | 9    | 52    | 258   | 515    |
| 4K → 4K        | 1×   | 3840×2160   | 5    | 29    | 145   | 290    |

Scales up to 1.2 bill as 1×, above 1.2 up to 2.4 as 2×, and above 2.4 as 4×.

{% hint style="info" %}
See the 'Per Output Duration' section in [Video Pricing](/getting-started/model-pricing/video-models) 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": "iris-2", "auto": "Auto" } ],
    "output": { "resolution": { "width": 3840, "height": 2160 } }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "iris-2",
      "auto": "Auto"
    }
  ],
  "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': 'iris-2', 'auto': 'Auto'}],
 '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="/getting-started/video-quickstart">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="/getting-started/model-pricing">Model Pricing</a></td></tr></tbody></table>




---

[Next Page](https://developer.topazlabs.com/llms-full.txt/1)

