Replace Background in a Photo
Say what should be behind the subject, and say what must stay the same. That second half is the whole trick.
1 — Your photo
2 — The new background
Pick a background or describe your own.
Why background replacement is the most reliable edit here
Most edits ask the model to change something it can barely see. A background replacement asks it to paint an area that is mostly empty, which is what image models are best at. That is why this page produces the fewest broken results — and why it is the first thing worth trying on a new photo.
It is also the edit with the clearest failure mode: the subject's edge. Everything else can be fixed by changing one clause; an edge is fixed by choosing a background that forgives it.
Give the background a light direction
The most common reason a replacement looks fake is that the new background is lit differently from the subject. Two sentences fix it:
- Name the light. "soft window light from the left" is a different instruction from "bright studio lighting".
- Ask for the shadow. A product or a person with no contact shadow floats. "a soft shadow beneath the subject" is the cheapest realism you can add.
A real example
Produced by this page with the instruction:
Replace the background with a plain light grey studio backdrop and a soft shadow under the mug. Keep the mug and the table surface unchanged.
Before
AfterWindow scene replaced with a studio backdrop
“Replace the background with a plain light grey studio backdrop and a soft shadow under the mug. Keep the mug and the table surface unchanged.”
Backgrounds that survive hair and fur
Hair is the hard part. Straight, dark hair against a bright background is the worst case; wavy or curly hair against a similar tone is the easiest. Three background choices that hide the seam:
- A soft gradient — no hard edges for the model to contradict.
- A slightly blurred scene — depth of field forgives an imperfect cut.
- A tone close to the hair — a dark background behind dark hair hides the halo.
A crisp high-contrast background behind fine hair is the one combination that almost never works.
Product shots: the two-sentence formula
Replace the background with a seamless pure white studio background. Keep the product, its label text and its proportions exactly unchanged. Add a soft shadow beneath it.
The label clause matters: without it, the model will often "helpfully" re-render small text on packaging and get it wrong.
When it goes wrong
- Halo around the subject — the old background is bleeding through. Ask for the background to be replaced "completely, with no remnants of the original scene".
- Subject colour shifted — the new light is tinting it. Add "keep the colours of the subject unchanged".
- Product floating — add a shadow and a surface.
- Background too sharp — add "slightly out of focus, shallow depth of field".
Replacement or cut-out — which one do you need?
These are different jobs and people confuse them. A cut-out removes the background to transparency, and you composite it yourself in a design tool. A replacement paints a new background and returns a finished photo. If you are making a listing image, a profile picture or a simple before-and-after, replacement is the shorter path — and it avoids the halo problem you get when a cut-out is dropped onto a bright surface. If you need the subject layered on several backgrounds at once, cut it out once and reuse it.
Related
Want the background gone rather than replaced? Use object removal. Want the subject in different clothes? See the AI clothes changer.
Free edits and credits
One edit a day is free and needs no account. Credit packs start at $9.90 for 100 edits, one-off. Failed edits are never charged.
Frequently asked questions
How do I replace the background of a photo for free?
Upload the photo, describe the new background and add keep the subject unchanged. One free edit a day, no account needed.
Why do the edges of my subject look cut out?
Hair, fur and thin edges are the hardest part. Naming the background precisely, and matching its light direction to the subject, reduces the halo noticeably.
Can I get a pure white background for a product shot?
Yes. Ask for a seamless pure white studio background with a soft shadow beneath the product. Naming the shadow is what stops it floating.
Can I replace the background instead of removing it?
Replacement is usually more reliable than removal to transparent, because the model paints new pixels rather than leaving a hole you have to composite yourself.
Does it work on people?
Yes, and portraits are the most common use. Front-on photos with even light work best; hair against a busy new background is where it breaks.
What does it cost?
One free edit a day. Extra edits are one-off credit packs from $9.90 for 100, and failed edits are never charged.