AI relighting (also called image relighting) is the use of neural networks to change the illumination of an existing image or video after capture, altering light direction, intensity, color temperature, softness and shadows while preserving the subject’s identity and geometry. In generative media, it turns lighting from a decision fixed on set into an editable parameter in post-production.
Traditional relighting required a 3D model of the scene or a controlled capture rig. Modern AI relighting instead infers the missing scene properties from a single frame, or generates a plausible new lighting state with a diffusion model, which makes it practical for portraits, product photos and video clips shot under imperfect conditions.
How AI relighting reconstructs and replaces light
Every photograph is a mixture of surface properties and incoming light. Relighting therefore starts by separating the two, a problem known as inverse rendering or intrinsic decomposition. A network estimates per-pixel surface normals, albedo (the color of a surface without lighting), roughness and sometimes depth, then renders the scene again under a new light source.
A second family of methods skips explicit decomposition. Diffusion-based relighting conditions a generative model on the original image and a target lighting description, such as a background image, an environment map or a text prompt, and synthesizes a newly lit version directly. The table summarizes the intermediate signals that many pipelines estimate.
| Property | What it describes | Why relighting needs it |
|---|---|---|
| Surface normals | Orientation of each surface point | Determines how light falls on each pixel |
| Albedo | Base color without shading | Keeps skin and material color stable |
| Depth | Distance from the camera | Supports cast shadows and falloff |
| Roughness and specularity | How glossy a surface is | Controls highlights and reflections |
| Environment map | Light arriving from all directions | Defines the target illumination |
Main approaches and model families
AI relighting systems fall into three broad approaches, each with a different balance of control, realism and speed. Physically based pipelines give precise control, while generative pipelines give convincing results from very little input. The comparison below covers the most common families.
| Approach | Typical input | Strength | Weakness |
|---|---|---|---|
| Intrinsic decomposition and re-rendering | Single image plus light parameters | Precise, predictable light control | Errors in normals cause artifacts |
| Diffusion-based relighting | Image plus background or prompt | Highly realistic, handles complex scenes | May alter fine identity details |
| Neural fields and 3D Gaussian splatting | Multi-view captures | Consistent relighting from any viewpoint | Requires many input images |
| Light stage trained portrait models | Single portrait | Accurate skin and hair response | Limited to faces and upper bodies |
Portrait relighting models are often trained on light stage data, in which a subject is photographed under hundreds of controlled lights. Because light is additive, these captures allow researchers to synthesize ground-truth images under any environment, which gives the network accurate supervision.
Video relighting adds a further requirement: temporal consistency. A model that relights each frame independently can produce shadows that jump between frames, so video-capable systems either propagate lighting estimates through time or use video diffusion backbones that process several frames jointly. The practical choice depends on whether the job needs interactive speed on a single photo or a stable result across a long clip, and on how much compute and capture effort the team can afford.
Controls and parameters in relighting tools
Most relighting tools expose a small set of photographic controls that mirror decisions a lighting director makes on set. Understanding these parameters helps a user request physically plausible results instead of contradictory ones.
| Control | Typical range | Visible effect |
|---|---|---|
| Light direction | Azimuth 0-360 degrees, elevation | Moves highlights and shadow side |
| Intensity | Several stops up or down | Brightens or darkens the key light |
| Color temperature | Roughly 2,700-7,500 K | Warm tungsten to cool daylight look |
| Softness | Hard point light to large diffuse source | Sharp or gradual shadow edges |
| Background match | Reference image or HDR map | Harmonizes subject with a new scene |
Background matching is especially important in compositing workflows. When a subject is cut out and placed on a new background, relighting adjusts the spill, rim light and shadow direction so that the subject no longer looks pasted in.
AI relighting compared with related editing techniques
AI relighting is often confused with exposure correction and color grading, but those operations change pixel values globally without understanding geometry. Relighting changes where light falls on the subject, which global adjustments cannot do.
| Technique | Changes light direction | Understands geometry | Typical use |
|---|---|---|---|
| AI relighting | Yes | Yes, estimated | Reshaping light after capture |
| Exposure and tone adjustment | No | No | Brightness and contrast fixes |
| Color grading | No | No | Mood and look of footage |
| Generative fill | Only in new regions | Partially | Adding or removing content |
Related tasks in the same field include AI product photography, which often combines background generation with relighting, and face restoration, which repairs detail but does not move light sources.
Limitations, artifacts and responsible use
Relighting quality depends heavily on how much information the source image contains. Clipped highlights, deep shadows and heavy compression remove detail that no model can recover, so the network must invent it. Common failure modes are listed below.
- Identity drift: diffusion models may subtly reshape facial features or change skin texture.
- Inconsistent shadows: cast shadows on the ground may not match the new light direction.
- Temporal flicker: per-frame video relighting can shimmer unless the model enforces consistency.
- Material errors: glass, hair and glossy metal often reflect light incorrectly.
Relighting also raises authenticity questions. A relit image can change the apparent time of day or setting of a documented event. Newsrooms and evidence workflows therefore treat relighting as a material manipulation that should be disclosed, and content credential standards such as C2PA can record that the edit took place.
Put simply
AI relighting lets you move the lamps after the photo is taken. The software studies the picture and guesses the shape of the face or object. Then it shows how the scene would look with light from another side, in another color or with softer shadows.
It is a bit like a stage technician who can redo the lighting of a play that already happened. The result can look natural. Still, the software is making an educated guess, so small details may change.
In practice
A small online furniture shop photographs forty chairs in one afternoon using a single window as the light source. The window light comes from the left, so half of each chair falls into deep shadow, and the catalog pages look uneven next to older product images shot under softer studio lights.
The retoucher runs the photos through an AI relighting tool, sets a large soft key light at about 45 degrees from the front right, adds a faint fill and matches the color temperature to about 5,500 K. Two images show warped reflections on chrome legs and are reshot, but the remaining thirty-eight are approved. The shop avoids a full studio reshoot and publishes a visually consistent catalog within one day, with each relit image noted as edited in its internal asset records.