Task prompt · Photo Editing

Change the background of a photo

by Agent Yard Team

Swap any background while keeping the subject untouched.

You'll attach

Needs photo

Works with

ChatGPTGeminiGrok

Use cases

  • Swap any background while keeping the subject untouched.
  • When you already have a photo and want the AI to work from it instead of starting from scratch.
  • Reuse it as often as you like: fill in the blanks (new background) with new details and copy again.
  • As one step of the Edit your photos with AI prompt pack.

How to use it

  1. Open chatgpt.com or gemini.google.com (or another AI listed here) and use its image generation (in Gemini, the image model; in Grok, Imagine).
  2. Attach the photo or image.
  3. Fill in the highlighted blank ([NEW BACKGROUND]) below, or edit them after pasting.
  4. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
Replace the background of the attached photo with [NEW BACKGROUND].
Keep the person or object exactly as is: same pose, edges, hair detail and colors. Match the new background's lighting direction, color temperature and perspective to the subject so it looks like one photo, and add a natural contact shadow.
One email a week

The best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Photo Editing prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →