> For the complete documentation index, see [llms.txt](https://developer.topazlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.topazlabs.com/image-models/color-and-lighting/relight-creative-1.md).

# Relight Creative 1

Intelligent exposure correction

### Model Overview

**Adjust Lighting 2** is a second-generation lighting correction model that automatically improves exposure, contrast, and tonal balance while preserving natural image appearance.

### Key Capabilities

* Automatically adjusts exposure and contrast for balanced results
* Improves highlight and shadow detail without harsh transitions
* Second-generation model with improved consistency and tonal handling

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

### Endpoint

[https://api.topazlabs.com/image/v1/lighting/async](<https://api.topazlabs.com/image/v1/lighting/async&#xA;&#xA;>)

### Parameters

`inputHeight` <a class="button secondary medium">integer</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="null"</a>

Input image height in pixels.

***

`inputWidth` <a class="button secondary medium">integer</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="null"</a>

Input image width in pixels.

***

`outputHeight` <a class="button secondary medium">integer</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="null"</a>

Output image height in pixels.

***

`outputWidth` <a class="button secondary medium">integer</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="null"</a>

Output image width in pixels.

***

`grain` <a class="button secondary medium">boolean</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="false"</a>

Whether to add grain to the output.

***

`grainDensity` <a class="button secondary medium">decimal</a><a class="button secondary medium">optional</a><a class="button secondary medium">default=0.5</a>

Intensity of the grain effect.

Range: <a class="button secondary medium">0.0</a> to <a class="button secondary medium">1.0</a>

***

`grainModel` <a class="button secondary medium">string</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="silver"</a>

Grain model.

Possible values: <a class="button secondary medium">"silver"</a>, <a class="button secondary medium">"gaussian"</a>, <a class="button secondary medium">"grey"</a>

***

`grainSize` <a class="button secondary medium">decimal</a><a class="button secondary medium">optional</a><a class="button secondary medium">default=1.0</a>

Size of the grain particles.

Range: <a class="button secondary medium">1.0</a>to<a class="button secondary medium">5.0</a>

***

`grainStrength`  <a class="button secondary medium">decimal</a><a class="button secondary medium">optional</a><a class="button secondary medium">default=0.5</a>

Strength of the grain effect.

Range: <a class="button secondary medium">0.0</a>to<a class="button secondary medium">1.0</a>

***

`dehaze` <a class="button secondary medium">boolean</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="false"</a>

Whether to watermark the output

***

`gain` <a class="button secondary medium">boolean</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="false"</a>

Whether to watermark the output

***

`seed` <a class="button secondary medium">boolean</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="false"</a>

Whether to watermark the output

***

`style` <a class="button secondary medium">boolean</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="false"</a>

Whether to watermark the output

***

`watermark` <a class="button secondary medium">boolean</a><a class="button secondary medium">optional</a><a class="button secondary medium">default="false"</a>

Whether to watermark the output.

**Endpoint**

* [https://api.topazlabs.com/image/v1/lighting/async](<https://api.topazlabs.com/image/v1/lighting/async&#xA;&#xA;>)
  * `model` — `"Relight Creative V1"`

**Model-Specific Parameters**

* `inputWidth` — integer (optional), default `null`
  * Width of the source image in pixels.
* `inputHeight` — integer (optional), default `null`
  * Height of the source image in pixels.
* `outputWidth` — integer (optional), default `null`
  * Width of the rendered output in pixels.
* `outputHeight` — integer (optional), default `null`
  * Height of the rendered output in pixels.
* `style` — `"none"`, `"hdr"`, `"cinematic"`, `"clarity"`, or `"vibrant"` (optional), default `"none"`
  * Sets the creative relighting style. Use `"none"` for default behavior, the least creative option.
* `gain` — decimal between -1 and 1 (optional), default `0.0`
  * Controls brightness. Lower is less bright, higher is brighter; `0.0` is balanced.
* `dehaze` — boolean (optional), default `false`
  * Whether to apply dehazing to the output.
* `seed` — integer (optional), default `0`
  * Seed to control consistency between runs.
* `grain` — boolean (optional), default `false`
  * Whether to add grain to the output.
* `grainModel` — `"silver"`, `"gaussian"`, or `"grey"` (optional), default `"silver"`
  * Selects the grain model used to generate the effect.
* `grainStrength` — decimal between 0 and 1 (optional), default `0.5`
  * Strength of the grain effect.
* `grainDensity` — decimal between 0 and 1 (optional), default `0.5`
  * Intensity of the grain effect.
* `grainSize` — decimal between 1 and 5 (optional), default `1.0`
  * Size of the grain particles.
* `watermark` — boolean (optional), default `false`
  * Whether to watermark the output.

### 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</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&amp;token=0a84f010-574e-4517-ad56-b8369cb6e00e">relight-creative-v1-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%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&amp;token=70cc5ddb-c6e6-41d5-aebd-9de8128c463f">relight-creative-v1-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%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>


---

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

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.topazlabs.com/image-models/color-and-lighting/relight-creative-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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

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