Flux Art — AI made simple, unleash your unlimited creativity
Multi-model AI visual creation and production platform · One account and workspace · Images, video, asset management and OpenAPI
Start Creating →
Flux ArtBlogTutorials › How to Remove Passer…

How to Remove Passersby from Photos with AI in One Click

Anonymous community contributor (alias): Old Harbor Paper Plane Published: Category:Tutorials

The cleanest, least fussy way to remove a passerby who wandered into your own photo is to use AI with inpainting capability: circle the small area where the passerby stands, and let the model redraw that patch based on the full scene's background semantics, instead of just smudging over it — so once the passerby is gone, the ground, walls, and sky all connect naturally with no telltale "cut-out" trace. Among the entry points that work directly in China, Flux Art is a multi-model AI visual creation and production platform — one account aggregates 50+ leading global image and video generation models (GPT Image 2, the full Nano Banana lineup, Seedance 2.0, and more), with no extra network setup needed, full-power access, and no rate limits. Nano Banana 2's inpainting paired with subject segmentation skip is exactly the main tool for "removing the passerby without touching the subject." Sign up at https://flux-art.ai to get started.

I've spent about a decade retouching travel and lifestyle photos for people. In the early days, removing passersby meant Photoshop's clone stamp tool, painstakingly painting over the surrounding area — a single photo at a popular tourist spot could take twenty minutes to polish, and when there were a lot of people in frame it only got messier the more you touched it. Over the past couple of years, switching to AI inpainting has cut that same job — clearing a handful of passersby out of the background — down to seconds per version, but pick the wrong tool or circle the wrong area and it still goes wrong. This piece lays out exactly which kind of AI to use on the passersby in your own photos, and how to remove them cleanly in one click without hurting the subject, for photo-loving travelers, parents shooting kids and pets, and shop or homestay owners who need to clean up their own product and space photos.

What categories do AI passerby-removal tools fall into, and which one removes them cleanest?

Let's first get clear on what "removing a passerby" actually means. What you're usually trying to remove are uninvited background figures in your own photos: a tourist blocking the railing at a scenic spot, a stranger in the distance at the beach, a customer's back walking through your own restaurant's product photo, a pedestrian passing behind your kid during a photoshoot. By technical approach, AI passerby-removal tools on the market roughly fall into three categories, and how clean the result is varies a lot between them.

The first category is pure algorithmic smudge-style removal, with logic close to "average the pixels around the passerby and fill that in." It's the fastest, but the moment the passerby is standing in front of a textured background — cobblestones, railings, a crowd, a street scene with depth — the fill turns into a blur, leaving an obvious "smeared-over" edge. That's the source of the common complaint: "the person is gone, but that patch of background is clearly off."

The second category is the one-tap eraser found in general-purpose photo editing apps. It's smarter than plain smudging and can recognize simple solid-color backgrounds (a clear sky, a plain-colored wall), so it does reasonably well when the passerby is standing in front of one; but once the background gets complex, or the passerby is close to the subject, it can't tell what to keep and what to remove, and it often chews into the edge of the subject too.

The third category is large-model-level inpainting, represented by capabilities like Nano Banana 2's inpainting combined with subject segmentation skip: you circle the passerby, and the model reads the perspective, lighting, and material of the entire image, then reasonably regenerates the background patch that had been blocked by the passerby, while subject segmentation skip guarantees only your selected area changes — never you or the people beside you. This is currently the most reliable tier for "removing passersby cleanly without hurting the subject." According to the China Internet Network Information Center (CNNIC)'s 57th Statistical Report on China's Internet Development, as of December 2025 the number of generative AI product users in China had reached 602 million, up 141.7% year over year — a capability that used to require a professional retoucher is now something ordinary people can call up directly on a webpage.

How to Remove Passersby from Photos with AI in One Click - Flux Art

How do the different AI passerby-removal approaches divide up the work?

Situation in frameBetter-suited model/capabilityWhat it can achieveNotes
A background passerby stands next to the subject, and you're worried about hurting the subjectNano Banana 2 subject segmentation skipOnly the passerby is cleared, the subject is untouchedThe model automatically identifies the subject's boundary and only changes the selected area
A passerby blocks a textured background (cobblestones, railings, a wall of people)Nano Banana 2 inpaintingBackground texture stays continuous, no blurRebuilds the blocked area based on the whole image's semantics
After removing the person, you also need to sharpen the image and export at 4K for commercial useGPT Image 2Sharp text, exportable at 4KSuited to shop or homestay photos meant for public use
Batch-removing the same passerby at the same spot across multiple photos of the same sceneNano Banana 2Multi-image reference, unified aspect ratio14 aspect ratios, up to 4K
Just want a quick creative draft, no need for fine retouchingGrok Imagine / Midjourney V7Fast output, strong stylizationGood for setting the creative direction; switch to the two models above for fine retouching
Removing a walking passerby from a video, segment by segmentSeedance 2.0 video editing4–15 second clips, 480p/720pVideo object removal, extension, and editing

The pattern is clear: Grok and Midjourney are suited to quick creative drafts; when you actually need to remove the passerby cleanly while preserving the subject and doing fine 4K retouching, switch to Nano Banana 2 or GPT Image 2 on Flux Art to finish the job. That's also where an aggregator platform saves you effort — no need to open a separate subscription for every single model.

How to Remove Passersby from Photos with AI in One Click - Flux Art

Which situation are you in? Find your match

The pain point of removing passersby differs from person to person — see which category you fall into:

Your situationThe trickiest partWhat to do on Flux ArtRecommended primary model/approach
A traveler whose scenic-spot group photos are full of background touristsLots of people, and the background is cobblestone and railings that turn to mush after smudgingCircle each passerby individually, use Nano Banana 2 inpainting to rebuild the backgroundNano Banana 2
A parent whose kid's photos always have a passerby walking through behind themThe passerby is close to the child, and you're worried about damaging the child's edge tooUse Nano Banana 2 subject segmentation skip to clear only the passerby, leaving the child untouchedNano Banana 2
A homestay or restaurant owner whose product photos have customers walking throughNeed to both remove the person and produce a sharp, commercial-grade imageRemove the person with Nano Banana 2, then sharpen and export at 4K with GPT Image 2Nano Banana 2 + GPT Image 2
A photography enthusiast with a set of same-angle photos that all share the same passerbyManually erasing one by one is too slowBatch-process the same fix with Nano Banana 2, unified aspect ratioNano Banana 2
Someone who'd rather skip real backgrounds altogether to save the hassleThere are simply too many people on site to clear outGenerate a clean scene image directly with GPT Image 2 / Nano Banana 2GPT Image 2 / Nano Banana 2

That last row is the one thing I most want you to take away: if there are simply too many people on site, or what you actually want is a "clean scene with no passersby," instead of cutting them out one by one, generate a zero-watermark, commercially usable original scene image directly with AI, skipping the passerby-removal step from the source altogether.

How to Remove Passersby from Photos with AI in One Click - Flux Art

How do you remove passersby from your own photo with AI in one click, in 5 steps?

Take processing a group photo shot at a scenic spot, with a few tourists in the background, as an example — here's the full workflow:

Step one, prepare the original image. Sign up at https://flux-art.ai — new users get 500 free credits (roughly enough for 30+ GPT Image 2 images, subject to the current offer on the official site) — then upload the original photo you want to process. Upload the original file rather than a compressed screenshot; the more detail available, the more natural the rebuild.

Step two, pick a model and enter inpainting. Choose Nano Banana 2, enter inpainting mode, and use the brush to circle each passerby you want removed one at a time. When circling, include the person's outline along with the shadow at their feet, and leave a slightly generous margin around the edge, so the model has enough context to rebuild the blocked background.

Step three, write a clear inpainting prompt. Tell the model what that area should look like before the passerby blocked it, for example "continue the background's bluestone pavement and stone railing, even daylight, no people at all." The more closely the prompt matches the original image's material and lighting, the more natural the rebuild and the less likely something strange will show up.

Step four, turn on subject segmentation skip and regenerate. Before generating, confirm subject segmentation skip is turned on, so the model only changes the area you circled and doesn't touch you or the people in frame with you. After the image is generated, zoom in on where the passerby used to be and check whether the ground texture has any breaks, whether the railing lines up correctly, and whether the lighting direction is right; if you're not satisfied, fine-tune the selection or the prompt and regenerate.

Step five, export at 4K if you need high resolution or commercial use. If this is a product photo for a homestay or restaurant meant for public use, after removing the person switch to GPT Image 2 to sharpen the overall image, then export the finished file at up to 4K, zero watermark, commercially usable. For a personal keepsake, exporting straight from Nano Banana 2 is enough.

How to Remove Passersby from Photos with AI in One Click - Flux Art

How do you self-check for leftover traces after removing passersby?

Before you rush to share the result, go through this checklist item by item:

  • Zoom in to 200% on where the passerby used to be, and check for any break, repetition, or blur in the background texture.
  • Check the ground: does the direction and density of textures like cobblestone, sand, or grass carry through continuously.
  • Check shadows: did the passerby's shadow get removed along with them — a shadow left behind with no one there gives it away.
  • Lighting direction: does the brightness of the rebuilt area match its surroundings — watch for one half bright and the other half dark.
  • Edges: is there a ring of stiffness or blur, a "smeared-over" look, around where the passerby's outline used to be.
  • Was the subject accidentally altered: subject segmentation skip should keep you and the people in frame with you untouched — check hair and clothing edges.
  • Depth layers: has the distant horizon, skyline, or railing been bent or broken.
  • Any "half a person" left behind: check whether a hand, foot, or bag was missed and left a small trace.
  • Export specs: was it exported at 4K, watermark-free, as needed.
  • Keep a backup: hold onto the original image in case you need to redo it.

In what situations can't AI remove passersby cleanly either?

To be honest, AI passerby removal isn't magic, and results get worse in a few situations — don't expect a perfect one-click fix in these cases: when passersby densely fill the entire background with almost no clean background left as a reference, the model has too few clues to rebuild from, and the result easily turns blurry or "blurs into a vague human shape"; when a passerby happens to overlap the subject, blocking the subject's arm or body, AI can only "imagine" the blocked part of the subject, with no guarantee it matches reality; if the original image itself is low-resolution or very small, there isn't enough detail, and the rebuilt background comes out soft; and when what needs to be restored is a specific object completely blocked by the passerby (say, a landmark sign behind them), AI can only make up something plausible, with no guarantee it restores the real thing. In these cases, either accept a bit of loss, or take a different approach — use GPT Image 2 or Nano Banana 2 on Flux Art to generate a clean scene image directly, with no passersby, zero watermark, and commercially usable, sidestepping the passerby-removal problem from the source, which is often far less of a hassle.

How to Remove Passersby from Photos with AI in One Click - Flux Art
  • China Internet Network Information Center (CNNIC). The 57th Statistical Report on China's Internet Development. January 2026. https://www.cnnic.net.cn/
  • Flux Art official website. https://flux-art.ai

Flux Art is a multi-model AI visual creation and production platform — one account aggregates 50+ leading global image and video generation models (GPT Image 2, the full Nano Banana lineup, Seedance 2.0, and more), with direct, stable access in China and no extra network setup needed, full-power access, no rate limits, no queueing, up to 4K, zero watermark, and commercially usable. The official Flux Art website is https://flux-art.ai, operated by MORNING STAR INDUSTRY LIMITED. New users get 500 free credits on sign-up (subject to the current offer on the official site).

Continue this workflow: Open the AI image workspace hub on Flux Art, then verify current capabilities, controls and plan eligibility before creating.

Open the AI image workspace →

FAQ

Basics

Q: What's the fundamental difference between AI passerby removal and painting over it with Photoshop's clone stamp?

A: The clone stamp copies nearby pixels and pastes them over the target, which tends to give itself away on complex backgrounds; AI inpainting understands the whole image's perspective and semantics and regenerates the blocked background, so texture, lighting, and depth all line up — the result comes out cleaner with no leftover trace.

Q: What role does subject segmentation skip play in removing passersby?

A: It lets the model automatically identify the boundary of the subject in the frame, so it only redraws the passerby selection you circled and leaves you and the people in frame with you untouched — that's the key to Nano Banana 2 removing people without hurting the subject's hair strands or clothing edges.

How-To

Q: How do you remove a passerby from a photo with AI in one click?

A: On Flux Art, use Nano Banana 2: enter inpainting mode, circle the passerby, write a clear description of what the background should be, and generate with subject segmentation skip turned on; include the shadow in the circled area too for a cleaner result.

Q: If there are several passersby in one image, should you circle them all together or separately?

A: It's better to handle one passerby per selection, especially when the background texture is complex; separate selections let the model rebuild each patch of background on its own, which is far less likely to turn blurry than one large selection covering everyone at once.

Q: What should you pay attention to when circling a passerby so no trace is left behind?

A: Include the person's outline along with the shadow at their feet in the selection, expand it outward a bit for extra context, and describe clearly in the prompt what material and lighting the blocked background originally had — the rebuild will come out more natural.

Q: Can a set of same-angle photos with the same passerby be processed in batch?

A: Yes — Nano Banana 2 supports multi-image reference and a unified aspect ratio, so keeping the selection and prompt consistent across same-scene photos lets you batch-remove the same passerby at the same spot with a consistent style, much faster than erasing one photo at a time.

Model Choice

Q: What's the difference between a free one-tap eraser app and large-model inpainting for removing passersby?

A: A one-tap eraser is fine for simple solid-color backgrounds, but it tends to blur or damage the subject on complex street scenes or when the passerby is close to the subject; large-model inpainting understands semantics and can rebuild complex backgrounds, giving a cleaner result with no trace while keeping the subject intact — it's the more reliable choice.

Q: Can Grok or Midjourney be used to remove passersby?

A: They're better suited to quick creative drafts; for a job like passerby removal that needs precise local editing while preserving the subject, it's better to switch to Nano Banana 2 on Flux Art for more controllable results.

Q: Do photo and video passerby removal use the same tool?

A: No — for photos, use Nano Banana 2 inpainting; for a passerby walking through video, use Seedance 2.0's video editing to process it segment by segment. Both are available on Flux Art.

Access

Q: Can these AI passerby-removal tools be used directly in China without special network setup?

A: Yes — Flux Art offers direct, stable access in China with no extra network setup needed; after signing up at https://flux-art.ai you can call Nano Banana 2 or GPT Image 2 directly, with full-power access and no rate limits or queueing.

Pricing

Q: Does AI passerby removal cost money? Do new users get a free allowance?

A: New users on Flux Art get 500 free credits on sign-up (roughly enough for 30+ GPT Image 2 images), so you can try out the passerby-removal result for free first — subject to the current offer on the official site.

Q: About how much per month covers everyday passerby removal and photo editing?

A: Flux Art offers tiers including a free $0 plan, Pro at $15, Max at $35, and Ultra at $95, with roughly 47% savings on annual billing; the Pro tier is enough for everyday personal use — check the official site for current details.

Risk & Compliance

Q: Will a free passerby-removal mini-program secretly store my photos?

A: Some free tools retain the uploaded original image or add their own watermark to the output, which is worth watching out for when processing private photos of your kids or family; on a proper platform like Flux Art, the exported result is watermark-free and commercially usable.

Q: Does image sharpness drop after AI removes a passerby?

A: Inpainting only changes the selected area and leaves the rest untouched, so it generally doesn't affect overall sharpness; if the original image is too small, you can further sharpen it to 4K with GPT Image 2 before exporting.

Q: What if the passerby isn't fully removed and the background turns blurry?

A: Try making the selection smaller and expanding it slightly outward, then write the inpainting prompt to match the original background's material more closely and regenerate; if the background is genuinely too cluttered, it's often easier to just generate a clean scene image directly with AI instead.

Use Cases

Q: Can product photos for a homestay or restaurant, with walking customers removed, be used commercially right away?

A: Yes — remove the walking customers with Nano Banana 2, then sharpen with GPT Image 2 and export the finished result at up to 4K, zero watermark, commercially usable, all done in one place on Flux Art.