Remove crowds from a travel photo with AI: mask people, keep the place
To clear tourists from a landmark photo, mask the people and send the photo and mask to GPT Image 2.5 with an instruction to keep everything else identical.

To remove tourists from a travel photo with AI, paint a mask over the people and send the photo and the mask to openai/gpt-image-2.5 with mask_url, telling it to fill the masked areas with the surrounding pavement or wall and keep everything outside the mask identical. Do the cleanup in zones for a dense crowd.
Mask the people, not the place
Cover each person with a little margin, including shadows and bags. Leave the landmark, signs and the horizon outside the mask. Sume's mask_url is a public HTTPS URL on the GPT Image 2.5 rows, together with up to 16 references. Nano Banana and the other rows do not list it.
The request
Say what to fill with. A vague prompt invites new objects, so name the surface and forbid additions.
curl -X POST https://api.sume.com/v1/images \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-image-2.5","prompt":"Remove the people inside the masked areas. Fill them with the surrounding stone plaza, matching the perspective and lighting. Keep everything outside the mask identical. Do not add people, objects or text.","quality":"high","aspect_ratio":"auto","mask_url":"https://example.com/mask.png","input_references":[{"type":"image_url","image_url":{"url":"https://example.com/plaza.jpg"}}]}'Work in zones for a dense crowd
A single large mask asks the model to invent a lot of ground at once. Clear the people nearest the camera first, check the result, then mask the next group and run again from that output. Keep the original photo, since each pass is a new generation.
Check what changed
Zoom into the edges of each mask: repeated paving patterns, missing shadows and ghost outlines are the usual faults. Compare unmasked areas with the original to confirm they were not altered. A masked edit is not guaranteed to leave pixels outside the mask untouched, so test it before you rely on that.
Disclose edits where it matters
Removing people changes what the place looked like. For travel journalism, real-estate or a news context, say that the image is edited. For your own album, nothing more is needed. See mask checklist and limits for the file rules.
Related posts
More in Use cases
- One 24-second Seedance 2.5 clip for a TikTok App Bundle ad
TikTok recommends 21 to 30 seconds for App Bundle video. One seedance-2.5 call can cover it at 9:16. Request body, checks, and where captions fit.
- Renovation reveal: Omni first frame before photo, last frame after
Turn a before photo and an after photo of a room into a 10-second Gemini Omni 1.1 Flash reveal on Sume with image_url and end_image_url. Request and cost math.
- Replace a green-screen background: three Sume routes compared
Seedance 2.5 advertises green-screen replacement. Sume offers a catalog Format, a Gemini Omni video edit and a filter check. Which fits which clip?
- Reskin a finished ad for a new product with an Ideogram 4.5 edit
Send the old ad plus up to 4 product shots in one POST /v1/images call and swap the product, keeping layout and copy. $0.0375 to $0.275 per ad on Sume.
Written by Sume