AI Portrait Relighting

Open a photo, let the depth model estimate its shape, choose a lighting preset, drag lights into place, adjust colour, power and softness, and export.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open a photo

    Up to 1,024 px.

  2. 2
    Estimate depth

    AI or quick.

  3. 3
    Pick a preset

    Window, rim, neon.

  4. 4
    Place lights

    Tap and drag.

  5. 5
    Fine-tune and export

    Before and after.

About this tool

Lighting makes or breaks a portrait, but you cannot always control it when you take the photo. Relighting adds light afterwards. This tool first estimates the depth of the scene from a single photo, using Depth Anything V2, an open AI model that runs inside your browser after a one-time download of about 27 MB. From the depth it works out which way each surface faces, so a virtual light placed to the left brightens the left side of a face and leaves the right side in shadow, just as a real lamp would. Place up to four lights by tapping the photo, set each one's colour, power, height and softness, or start from presets such as soft window light, Rembrandt, rim light, key and fill, neon and sunset glow.

Who this is for

Portrait and headshot photographers fixing flat light, social media creators adding mood, product photographers adding a highlight, and designers exploring lighting ideas before a shoot.

How to use it

1. Open a photo; it is scaled to 1,024 pixels. 2. Wait for the depth estimate (the model downloads once, then works offline from the cache), or choose Quick depth for an instant guess. 3. Pick a lighting preset as a starting point. 4. Tap or drag on the photo to move the selected light. 5. Adjust colour, power, height and softness; add up to four lights. 6. Set ambient light and how much of the original lighting to keep. 7. Compare before and after, then download.

Understanding the controls

**Height** moves a light towards the camera (higher values, flatter light) or behind the subject (negative values) for rim light. **Softness** wraps light around curved surfaces like a large softbox; low softness gives crisp, dramatic shading. **Ambient** is the light that fills the shadows. **Keep original** blends the result with the untouched photo for a subtler effect. **Surface relief** exaggerates or flattens the shape taken from the depth map.

Classic lighting set-ups

Window light from one side gives soft, natural portraits. Rembrandt light, high and to one side, creates a small triangle of light on the far cheek. Rim light from behind separates a subject from a dark background. Key and fill uses a strong main light and a weaker opposite light to control contrast. Coloured lights on both sides give the popular neon look.

AI depth or quick depth?

The AI model understands faces, bodies and objects and produces a convincing shape. Quick depth guesses shape from brightness and blur; it is instant and needs no download, and works for simple, evenly lit subjects but can confuse dark clothes with distance.

Privacy

The photo is processed in your browser. Only the model files are downloaded from the Hugging Face CDN; nothing is uploaded.

A worked example

A flatly lit headshot taken under office lights gets the Rembrandt preset, with the light moved slightly higher and its softness raised to 40 percent, and Keep original at 20 percent. The face gains shape and the background stays natural.

Limits

Relighting adds and shapes light; it cannot remove strong existing shadows or hard highlights. Hair, glasses and fine edges may light imperfectly. It is a creative editing tool, not a physical lighting simulation.

Worked example

A flat office headshot gains shape with a softened Rembrandt light and 20% of the original kept.

Quick facts

Frequently asked questions

How does it know the shape of the face?

An open depth model estimates depth from the single photo in your browser.

How big is the download?

About 27 MB, once; then it is cached.

Can I use it without the AI model?

Yes, Quick depth works instantly from brightness.

How many lights can I add?

Up to four, each with colour, power, height and softness.

Can it remove shadows?

It can brighten them, but cannot fully remove hard existing shadows.

Is my photo uploaded?

No.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages