Removing Objects From a Generated Image
There is no delete in image generation. Every removal is a replacement — you are telling the model what occupies that space instead, and the quality of the result depends almost entirely on how well you answer that question. “Remove the car” is a weak instruction because it describes an absence. “Empty asphalt road surface, wet, same lane markings” describes something the model can actually paint.
Say What Belongs There
Start by looking at what surrounds the object on all sides and naming the material that should continue through it. Grass, plain wall, sky, wood grain, carpet. If the object sits across a boundary — half on a table, half against a window — say both, and say where the boundary runs. That single sentence prevents the most common failure, which is a patch of plausible texture that ignores the line it should have continued.
Negative wording alone rarely works. Asking for “no dog” while the rest of the prompt still describes a park scene with a dog-shaped hole in the composition tends to produce a smaller dog, a different animal, or a dog-shaped smudge. Positive description of the replacement is what actually removes things.
Mask Wider Than the Object
Tight masks are the second big source of trouble. An object leaves more evidence than its own outline: a shadow on the ground, a reflection in glass, a bright rim where light bounced off it, a dent in the grass. Mask only the object and all of that stays behind, which reads as haunted — a shadow with nothing casting it.
Give the mask room. Include the shadow, include the contact area, include a margin of surrounding surface so the model has somewhere to blend. If the object was reflective or brightly coloured, check nearby surfaces for colour spill and clean those in the same pass. A red jacket removed from a white room often leaves a faint pink cast on the wall that nobody notices until the picture is finished.
When the Object Keeps Coming Back
Persistent reappearance usually means the composition still calls for it. If the object was the visual centre — the thing the framing pointed at, the reason for the arrangement of everything else — the model will keep filling that hole with something, because the picture is built around it. In that case the honest fix is to reframe rather than repair: crop the object out, or regenerate the scene without it in the first place.
The other recurring problem is repeated texture. Large removals against patterned surfaces produce visible tiling, the same knot of wood or clump of leaves stamped twice. Break the region into two or three smaller passes and describe each slightly differently, or accept the fill and then run one light pass over the whole area to vary it.
Finally, judge the result at full size, not zoomed in. Removals often look flawless close up and obvious at a glance, because the repaired area has slightly less detail and slightly less noise than everything around it.
