AI relighting

Also known as: image relighting

On this page 7

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.

PropertyWhat it describesWhy relighting needs it
Surface normalsOrientation of each surface pointDetermines how light falls on each pixel
AlbedoBase color without shadingKeeps skin and material color stable
DepthDistance from the cameraSupports cast shadows and falloff
Roughness and specularityHow glossy a surface isControls highlights and reflections
Environment mapLight arriving from all directionsDefines the target illumination
Scene properties estimated during relighting

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.

ApproachTypical inputStrengthWeakness
Intrinsic decomposition and re-renderingSingle image plus light parametersPrecise, predictable light controlErrors in normals cause artifacts
Diffusion-based relightingImage plus background or promptHighly realistic, handles complex scenesMay alter fine identity details
Neural fields and 3D Gaussian splattingMulti-view capturesConsistent relighting from any viewpointRequires many input images
Light stage trained portrait modelsSingle portraitAccurate skin and hair responseLimited to faces and upper bodies
Families of AI relighting methods

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.

ControlTypical rangeVisible effect
Light directionAzimuth 0-360 degrees, elevationMoves highlights and shadow side
IntensitySeveral stops up or downBrightens or darkens the key light
Color temperatureRoughly 2,700-7,500 KWarm tungsten to cool daylight look
SoftnessHard point light to large diffuse sourceSharp or gradual shadow edges
Background matchReference image or HDR mapHarmonizes subject with a new scene
Typical relighting controls and their effect

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

TechniqueChanges light directionUnderstands geometryTypical use
AI relightingYesYes, estimatedReshaping light after capture
Exposure and tone adjustmentNoNoBrightness and contrast fixes
Color gradingNoNoMood and look of footage
Generative fillOnly in new regionsPartiallyAdding or removing content
How relighting differs from neighboring edits

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.