Task prompt · Photo Editing
Change the background of a photo
by Agent Yard TeamSwap any background while keeping the subject untouched.
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.
Featured in: Best Grok prompts for photo editing, Best Gemini prompts for photo editing, Best Grok prompts for Grok Imagine images and video.
How to use it
- 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).
- Attach the photo or image.
- Fill in the highlighted blank ([NEW BACKGROUND]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
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 Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.