UniqAIopen source Make an image

free · open source · MIT

Remove a person from a photo with AI: the prompt

The prompt people type, the rewrite, and what changed. Both scores come from the real checker, not from a guess.

How do you remove a person from a photo with an AI prompt?

Say who goes, say what should fill the space, and forbid any crop or zoom so the whole frame comes back. The checker scores the original 5/100 and the rewrite 100/100, finding 1 of 6 edit parts before and 6 after.

The prompt before and after

Mode editBefore 5/100 (F)After 100/100 (A)6 words → 87 words

Before · 5/100

Remove the guy in the background

After · 100/100

Remove the stranger walking in the background behind her shoulder and fill the space with matching sand, sea and sky so nothing looks patched. Keep the woman, her pose, the lighting and everything else exactly as they are. Output the full original frame at exactly the same zoom and position; do not crop, zoom in or recompose. Do not change the framing, crop, camera angle, or anything not mentioned. The result must look like an untouched real photograph, with no smudges, repeated textures, halos or visible seams.

Check the before prompt yourself

What was wrong with the original

What the rewrite added

Fields the rewrite added: keep exactly, framing lock, no seams or halos, realism clause, scope limit. Copy the pattern, not the wording: keep your own subject and swap in your own light and lens.

PartBeforeAfter
one named change“Remove”“Remove”
identity locknone“Keep the woman, her pose, the lighting and everything else exactly as they are”
framing locknone“full original frame”, “same zoom”, “do not crop”
no seams / halosnone“fill the space”, “matching sand”, “nothing looks patched”
realism clausenone“untouched real photograph”
scope limitnone“and everything else”, “anything not mentioned”

Matches are the exact phrases the checker found in each prompt.

Why the rewrite works

Removing an object leaves a hole, and a model fills it with whatever it likes. The rewrite says what should fill the space, here sand, sea and sky, keeps the subject by name and forbids a crop or zoom so the full original frame comes back unpatched.

Remove an object from your own photo in UniqAI's object remover.

Open the object remover
The command-line report for the original
no-plastic lint  examples/07-edit-remove-stranger/before.txt
mode: edit      words: 6     score: 5/100  (F)

coverage
  [x] one named change         "Remove"
  [ ] identity lock            list what must survive and say 'exactly as they are': face, skin tone, hair edges, expression, clothes, light
  [ ] framing lock             lock the frame: 'Output the full original frame at the same zoom; do not crop, zoom in or recompose'
  [ ] no seams / halos         for removals say what fills the hole ('matching sand, sea and sky') and forbid 'smudges, repeated textures, halos or visible seams'
  [ ] realism clause           say the result must read as an untouched real photograph, natural and not over-processed, no plastic skin
  [ ] scope limit              close the door on side effects: 'Do not change ... or anything not mentioned'

flags
  !! too short               "6 words"  (-10)
     under 15 words the model fills every gap with its default look; a working brief is usually 40-120 words

next: add identity lock, framing lock, no seams / halos, realism clause; then re-lint and pilot one image

More examples

Curated by Vlad Yasinski, AI growth consultant (roimobi.com, LinkedIn, GitHub). Published with UniqAI under the MIT license. Your prompt text never leaves your browser. Only anonymous page views, button clicks and scores are counted.

More free tools from UniqAI