# Relight

## Summary

The Relight Node lets you change the lighting of any image by repositioning, recoloring, and adjusting the intensity of the light source. Using an interactive 3D light controller and quick-position presets (Top, Front, Back, Bottom, Left, Right), you can dramatically transform the mood and depth of an image without regenerating it.

***

### How to Use

1. Add the Node:
   * Click the Add (+) button and select Relight from the Image node category.
2. Provide a Reference Image:
   * Connect an image from another node (such as Generate Image or Edit Image), or upload one directly.
3. Position the Light:
   * Drag the light point on the interactive 3D controller to place the light source around your subject, or use the quick-position buttons (Top, Front, Back, Bottom, Left, Right) to snap to a preset angle. Click Reset to return to the default position.
4. Adjust Light Properties:
   * Set the Light Intensity, Color, and output settings to match the look you want.
5. Generate:
   * Click Run Selected, and the AI will produce a relit version of your image based on your configured lighting.

***

### Choosing the Right Settings

| Setting          | Type                                            | Impact on Output                                                                                                  |
| ---------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Light Controller | Interactive 3D Widget                           | Drag to visually reposition the light source around your subject.                                                 |
| Quick Positions  | Buttons (Top, Front, Back, Bottom, Left, Right) | Snap the light to a preset direction with one click.                                                              |
| Reset            | Button                                          | Returns the light position to its default.                                                                        |
| Light Intensity  | Slider (default: 7)                             | Controls brightness of the light source. Higher values produce stronger, more pronounced lighting.                |
| Color            | Color Picker (default: #ffffff)                 | Sets the color of the light source. Use warm tones for golden-hour effects or cool tones for moonlit atmospheres. |
| Aspect Ratio     | Dropdown (1:1, 16:9, 4:3, etc.)                 | Defines the output image dimensions.                                                                              |
| Resolution       | Dropdown (1k, 2k, 4k)                           | Determines the output resolution. Higher values provide more detail but may take longer to generate.              |

***

### Sample Use Cases

<details open>

<summary>Product Lighting for E-Commerce</summary>

Relight a product image with clean, even front lighting for a professional listing, or add dramatic side lighting to emphasize texture and shape.

</details>

<details open>

<summary>Cinematic Mood Lighting</summary>

Transform a flat scene into a moody cinematic shot. Use a low-intensity warm light from the side for a golden-hour look, or a cool-toned top light for a thriller atmosphere.

</details>

<details open>

<summary>Portrait Relighting</summary>

Shift the light source on a portrait to simulate classic studio setups—front lighting for beauty shots, side lighting for dramatic contrast, or back lighting for silhouette effects.

</details>

***
