# Redefine

### 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.

Redefine is also the only local, prompt-driven generative image model available, giving artists direct control over generation without relying on cloud processing. 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.

### Key Capabilities

* Generative enhancement that adds new detail and structure; local and cloud
* Prompt-driven control for creative and VFX workflows without cloud dependency
* Powerful recovery of blurry, low-resolution, and heavily degraded images

### Model Pricing

<table data-header-hidden data-full-width="false"><thead><tr><th width="119.84765625">Text</th><th width="60.390625" data-type="number">Number</th><th width="59.5390625" data-type="number"></th><th width="60.0859375" data-type="number"></th><th width="60.265625" data-type="number"></th><th width="59.94140625" data-type="number"></th><th width="59.5390625" data-type="number"></th><th width="60.34375" data-type="number"></th><th width="59.9296875" data-type="number"></th><th width="59.828125" data-type="number"></th><th width="59.5078125" data-type="number"></th></tr></thead><tbody><tr><td><code>Output MP</code></td><td>1</td><td>4</td><td>8</td><td>16</td><td>24</td><td>32</td><td>40</td><td>50</td><td>64</td><td>100</td></tr><tr><td><code>Credits</code></td><td>1</td><td>1</td><td>2</td><td>4</td><td>6</td><td>8</td><td>10</td><td>13</td><td>16</td><td>25</td></tr></tbody></table>

### Getting Started

**Endpoint**

* <https://api.topazlabs.com/image/v1/enhance-gen/async>
  * `model` — `"Redefine"`

<details>

<summary><strong>Endpoint-Specific Parameters</strong></summary>

* `face_enhancement` — boolean
  * Leverages our face recovery model to enhance faces.
* `face_enhancement_strength` — decimal between 0 and 1 *(required if `face_enhancement=true`)*
  * Sets the strength of the face recovery.
* `face_enhancement_creativity` — decimal between 0 and 1 *(required if `face_enhancement=true`)*
  * Choose realistic or creative face recovery.
* `subject_detection` — `"foreground"`, `"background"`, or `"all"`
  * Choose where enhancements are applied.
* `prompt` — string, default `""`; max 1024 char
  * A description of the resulting image you are looking for. **The model responds more to a descriptive statement versus a directive one**. For example, use the phrase "girl with red hair and blue eyes" instead of "change the girl's hair to red and make her eyes blue"
* `autoprompt` — boolean *(if enabled, ignores value given to `prompt`)*
  * Whether you want to use our state-of-the-art auto-prompting model to auto-generate a prompt for you.
* `creativity` — integer between 1 and 9, default 3
  * Lower creativity values maintain the highest fidelity to the original image. Higher values take more liberties and provide more creative results for specific details.
* `texture` — integer between 1 and 5 *(recommend 1 at low creativity, 3 at higher creativity)*
  * Add texture to the image. Recommend setting texture to 1 for at a low creativity level, and 3 for more creative results at a higher creativity level.
* `sharpen` — decimal between 0 and 1
  * Slightly sharpens the image.
* `denoise` — decimal between 0 and 1
  * Reduces noise in the image.
* `detail` — boolean, default `false`
  * Adjusts the level of added detail after rendering.
* `detail_strength` — decimal between 0 and 10 *(required if `detail=true`)*
  * Sets the strength of the detail.

These parameters should be appended as key-value fields in the form-data request bodies (i.e. alongside the `model`, `output_height`, and `face_enhancement` etc. fields). Any parameters not explicitly provided are **automatically** configured by our auto-parameter model. Extra parameters provided that are not supported are ignored.

</details>

**Model-Specific Parameters**

* No parameters

**Resolution Limits**

* `input` — 256 MP
* `output` — 256 MP

### Examples

<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<br><code>Redefine Realistic</code></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">Redefine_Realistic_-_Creative_(Ex_1)_slider.jpg</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<br><code>Redefine Creative</code></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">Redefine_Realistic_-_Creative_(Ex_2)_slider.jpg</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>
