Short answer. To change the lighting of a photo with AI, give a relighting model the photo and the light you want (a preset like golden hour, a description, or a second photo whose light to copy). It redraws the shadows, highlights and colour of the light while keeping the subject, pose and background. You can try it free once a day at keystyle.app/relight; in Keystyle each relight costs about 10 credits (10 cents).
The photo is right except for the light. It was shot at noon and you need golden hour. It's flat and you need contrast. It's for a night campaign and it looks like a Tuesday morning. Reshooting costs a day. Hand-painting light in an editor takes skill and still looks painted.
AI relighting changes where the light comes from and keeps everything else. Here's what it does, seven looks on the same photo, and how to relight a whole set so it matches.
Try it on your own photo: the free relight tool runs one relight a day with no sign-up. Pick a light, add a photo, and compare before and after.
What relighting changes (and what it keeps)
A relight should change:
- direction, meaning where the light comes from and which side the shadows fall on
- colour, from warm sunset orange to cool moonlight blue or mixed neon
- softness, hard shadows from a single source or soft wrap from a big window
- how light lands on materials, such as highlights on skin, glass and fabric
And keep: the subject, the face and identity, the pose, the composition and the background content. If the relight moves things around, it's regenerating the image, not relighting it.
Seven lights, one photo
Here's one portrait run through seven lighting looks. Each is a single relight with no other edits.
How to relight a photo, step by step
- Open the image in Keystyle's Edit screen and pick Relight.
- Choose a light: golden hour, studio softbox, overcast, neon night, backlit rim, candlelight or moonlight.
- Or describe it in your own words: "late sun through blinds from the right", "single bare bulb overhead". You can combine a preset with a description.
- Or match a photo: add a reference image whose light you want. The relight copies its direction, colour temperature and softness, and nothing else from it.
- Run it and use the compare slider to check the result against the original.
The default model is Nano Banana (about 10 credits). Switch models in the settings if a relight needs more care, for example a complex scene with many light sources.
Writing your own light description
Presets cover the common moods. For anything specific, describe the light the way a photographer would: source + direction + colour + quality + mood.
| Element | Examples |
|---|---|
| Source | window, bare bulb, neon sign, candle, phone screen, sunset, streetlamp |
| Direction | from the left, from behind, from above, low from below, through blinds |
| Colour | warm amber, cool blue, mixed pink and teal, neutral white |
| Quality | hard and sharp, soft and diffused, dappled, flickering |
| Mood | intimate, clinical, dramatic, calm |
Put together: late afternoon sun through venetian blinds from the right, warm amber, hard striped shadows, or a single phone screen lighting her face from below, cool blue, dark room.
Name the source even when it's off-screen ("off-screen window on the left"). Models handle light much better when they know what's making it.
Matching the light of another photo
Matching is the most useful relight for real work, because you rarely need "golden hour". You need the same light as the hero shot.
- Pick a reference where the light is obvious: clear shadow direction, a visible colour cast.
- Content doesn't matter. A street photo can lend its light to a product shot. The relight copies only the light.
- Avoid busy mixed lighting (neon plus daylight plus flash) unless that's exactly what you want. The model averages it.
- Use the same reference for the whole set. That's what makes a campaign look shot on one day.
Relighting product photos
Product shots are where relighting pays for itself: one clean packshot becomes a warm lifestyle version, a cool tech version and a seasonal one.
- Keep labels readable: check text and logos at full size after a strong relight. Small type is the first thing to soften.
- Watch reflective materials. Glass, chrome and glossy packaging pick up new highlights. That's usually what you want, but check that they still read as the right material.
- Match the catalogue: relight every product in a range with the same preset or reference. Customers notice when one product sits under different light.
Relight vs exposure and curves
Exposure, brightness and curves change every pixel's value. They make the whole image brighter or more contrasty, but the light still comes from the same place. Relighting moves the light. A face lit from the left gets its shadow on the right. A product gets a rim highlight it never had. That's why a relit photo looks reshot rather than graded.
Use both: relight for the light, then grade for the final colour.
Relight a whole set to match
Campaigns, catalogues and game scenes break when one image is warm and the next is cool. None of the guides we found cover this, but it's often the real job.
In a Keystyle workflow, add an Images step with the whole set, wire it into a Relight step with one setting (or one reference photo to match) and run it. Every image gets the same direction and colour of light, and you can re-run it later for new images. If you work from code, the same thing is a single API call per image:
POST https://app.keystyle.app/api/v1/edits
{ "tool": "relight", "image": "<image id>", "params": { "preset": "golden" }, "wait": 60 }
Where relighting breaks
- Extra light sources: strong looks like neon can add a visible lamp or tube to the scene to justify the light. In our neon example the model added two neon tubes. Describe the source you want ("off-screen neon sign") or pick a softer look.
- Pushing it too far: turning a bright noon street into deep night strains any model. Big jumps work better in two steps: dusk first, then night.
- Low-resolution inputs: small or heavily compressed photos give soft results. Upscale first.
- Fine detail at dramatic settings: candlelight and deep shadow can soften skin texture and small text. Check faces and labels at full size.
Light recipes by job
| Job | Try | Why |
|---|---|---|
| Portrait or headshot | Studio softbox, or golden hour | Flattering, soft shadows on the face |
| Product packshot | Studio softbox with a backlit rim | Clean shape, separation from the background |
| Lifestyle or campaign | Golden hour, or match a hero photo | Warm and consistent across a set |
| Food | Soft window light from the side, described | Texture and gloss without harsh shine |
| Moody or editorial | Candlelight, moonlight, or a described single source | Strong shadows tell the story |
| Night version of a day shot | Moonlight, then neon in a second pass | Big changes work better in steps |
We've tested Relight mostly on photos. On illustrations and game art, try one image first and check that the line work stays crisp before you run a whole set.
Checking a relight before you use it
Zoom in and run through five checks before a relit image goes anywhere public:
- Shadows agree. Every shadow falls away from the light you asked for, including under the chin, the nose and the objects on a table.
- Skin still looks like skin. Strong colour casts can turn skin waxy or flat. Back off to a softer look if it does.
- Nothing new appeared. Look for added lamps, windows or light sources you didn't ask for (see the neon example above).
- Edges are clean. Hair, fur and glass edges are where artefacts hide.
- It matches its neighbours. If the image sits in a set, view it next to the others at the size people will see it.
If one check fails, adjust the description rather than regenerating blindly. Name the source, soften the quality, or reduce the change.
When to relight and when to reshoot
Relight when the composition, styling and expression are right and only the light is wrong, or when you need several moods from one shoot. If what you want is a different look rather than different light, use style transfer instead. Reshoot when the light is only half the problem, or when the final use is a large print where every pore counts.
Questions
Can I relight a photo with AI for free?
Yes. keystyle.app/relight gives you one free relight a day with no account: pick one of seven lights, add your photo and download the result. More relights cost about 10 credits (10 cents) each.
Is AI relighting the same as adjusting brightness or curves?
No. Brightness and curves change every pixel's value. Relighting changes where the light comes from: new shadows, new highlights, new colour of light on each surface. A face lit from the left gets its shadow on the right, which no exposure slider can do.
Will relighting change the person's face?
A good relight keeps the subject, pose, framing and background the same and changes only the light. Check faces closely at strong settings: very dramatic looks such as candlelight can soften fine detail.
Can I match the lighting of another photo?
Yes. Add the photo whose light you want as a reference and the relight copies its direction, colour temperature and softness without copying anything else from it.
Can I relight a batch of photos so they match?
Yes. Put a Relight step in a workflow and run a whole folder through it with the same setting, so every image in a set gets the same light.
How much does it cost?
About 10 credits a relight with Nano Banana in Keystyle (roughly 10 cents). You can pick a stronger model for harder jobs.
More from the blog

