Skip to main content
Tutorials

Remove Objects From Photos With AI: 3 Methods Compared

Remove people, objects or a whole background with AI: Magic Eraser brush, instruction edit or cut-out, with a real before-and-after and what each costs.

LT

Lovino Team

September 29, 2026•6 min read
Remove Objects From Photos With AI: 3 Methods Compared

The right way to remove something from a photo depends on what you are removing, not on which tool has the best name. A stranger in the distance, a cable across the sky and a cluttered background call for three different approaches. This page compares them with a real before-and-after, gives the exact prompt for the instruction method, and says where AI removal should not be used.

Object removal methods at a glance

MethodUse it whenCost on Lovino
Magic Eraser (brush)One or two clear objects: a passer-by, litter, a cable2 credits, free daily credits work
Instruction editSeveral objects at once, or a group such as the people in the backgroundMagic Edit 3 credits (paid credits), or an edit model in the Studio from 1 credit
Background RemoverEverything behind the subject is clutter1 credit, free daily credits work

Method one: brush over it

Magic Eraser works from a mask. You paint over what you want gone, and the model fills the space so the background looks continuous. This is how the beach photo below would be marked: red over each distant walker.

Where a Magic Eraser brush would go on the beach photo: red marks over each distant walker (drawn by hand for this article, not a tool screenshot)
Where a Magic Eraser brush would go on the beach photo: red marks over each distant walker (drawn by hand for this article, not a tool screenshot)

The red marks are drawn by hand for this article, not a screenshot of the tool. Three habits make the brush work better:

  • Paint a little beyond the edge. A margin of background around the object gives the fill something to match.
  • Paint the shadow and reflection too. A person gone but their shadow left behind is the classic giveaway.
  • Work one object at a time on a busy scene. Each pass leaves a cleaner background for the next.

Magic Eraser costs 2 credits per erase, so the free plan's 3 daily credits (signup required) cover one erase a day.

The brush method, step by step

  1. Upload the photo and zoom in on the area.
  2. Brush over the object, its shadow and a thin margin of background.
  3. Run it, then check the fill for smearing or repeated texture.
  4. If it is wrong, adjust the brush area and run it again from the original.
  5. Keep the original file and download the result.

Method two: describe what should disappear

An instruction edit skips the mask. You write what to remove and what to keep. This example used FLUX Kontext Fast.

Before and after: a text instruction removed the distant people and left the umbrella, sand and sea the same (FLUX Kontext Fast)
Before and after: a text instruction removed the distant people and left the umbrella, sand and sea the same (FLUX Kontext Fast)

Prompt: Remove the people in the background. Keep the umbrella, sand and sea exactly the same.

Every walker is gone, and the red umbrella, sand and sea are in place. Look closely, though: the sea line and sand are a little smoother than in the original. The whole image is regenerated, so always compare areas you did not touch. The second sentence, "Keep the umbrella, sand and sea exactly the same", is there to tell the model what not to redraw.

Lovino's Magic Edit tool runs this kind of edit for 3 credits per image and needs paid credits. In the Studio you can pick an edit model such as FLUX Kontext Fast (2 credits) or FLUX.2 Klein (1 credit) and send your photo with the instruction.

How to write the instruction

Name the thing by what it is and where it is: "the people in the background" beats "clean this up". Add what to keep. On a detailed scene, remove one thing per run so each pass has a cleaner image to work from. If a result changes something you liked, make the keep clause more specific and run it again.

Method three: remove everything behind the subject

When the subject is fine and the whole background is the problem, do not erase object by object. Replace it. This edit turned a cafe table and coffee cup into a plain studio backdrop.

Before and after: a cafe table and coffee cup replaced by a clean white studio backdrop while the sneaker stays the same (FLUX Kontext Fast)
Before and after: a cafe table and coffee cup replaced by a clean white studio backdrop while the sneaker stays the same (FLUX Kontext Fast)

Prompt: Replace the background with a clean seamless white studio backdrop and soft studio shadow. Keep the sneaker exactly the same.

The Background Remover takes the other route: it returns a transparent cut-out for 1 credit, and you place the subject on your own backdrop. Check hair and edges on a cut-out, since fine detail is where they go wrong.

Which method for which job

Table comparing three removal methods by best use, credit cost and what to watch out for
Table comparing three removal methods by best use, credit cost and what to watch out for

Templates to adapt

These are patterns, not tested prompts.

  • Remove [object]. Keep everything else exactly the same.
  • Remove the people in the background. Keep [foreground subject] and the [setting] exactly the same.
  • Remove the text on the [sign]. Keep the sign and the wall the same.
  • Replace the background with [a plain colour or scene]. Keep [subject] exactly the same.

Common removal jobs

JobGood starting methodNote
A stranger in the backgroundBrush, or an instruction that names the groupPaint or name their shadow too
A cable or pole across the skyBrushThin objects are quick to mask
A date stamp on your own photoBrushOnly on photos you own
Clutter on a table or deskBrush, one item at a timeCompare table texture afterwards
A whole messy backgroundInstruction edit or cut-outCheck edges and shadows

Which photos are easier

  • Easier: plain or uniform surroundings such as sand, sky, water or grass, where the fill has little to get wrong.
  • Harder: repeating patterns such as brick, tiles or fabric, where the fill can smear or repeat.
  • Hardest: objects that overlap a face or a line of text, because a wrong guess is obvious.

What the fill cannot know

The model invents whatever was hidden behind the object. If a pole crosses a window, the filled area is a plausible window, not the real one. That is fine for a holiday photo. It is not fine where accuracy matters: a listing photo should not hide a real defect or fixture, and a survey or insurance photo should not be altered at all. Clutter can go. Facts should stay.

Where AI removal should not be used

  • Copyright watermarks. Removing a watermark from an image you do not own is not appropriate. Use these methods on your own photos.
  • Evidence and news. Do not remove people or objects from a photo that is presented as a record of an event.
  • Product accuracy. Do not erase a defect from a product photo and then sell the product as flawless.

When a desktop editor is the better tool

For a single small blemish on a photo you will print, a clone or healing tool in a desktop editor gives you exact control, and the result is the same every time you open it. AI removal is faster and needs no skill, but it is less predictable. Use it when speed matters more than pixel-level control, and keep the original file either way.

Keep going

Try the brush method in the Magic Eraser. For a wider walkthrough see our AI magic eraser guide and the AI background remover guide. If you want to change something rather than remove it, AI photo editing prompts has real examples.

LT

Written by Lovino Team

Lovino's editorial team documents practical, reproducible workflows for AI image and video creation.

Follow on Instagram

AI-assisted media is identified in context. Product workflows are tested by the Lovino team; outcomes vary by prompt, model, and source material.

Read our editorial and testing policy

Ready to try it yourself?