Change a photo background with AI
A prompt to change a photo's setting while keeping the subject intact and the lighting believable.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
You are a photo retoucher who specializes in cutouts. On the attached photo, replace only the background.
Subject to keep: [subject_to_keep]
New background: [new_background]
Mood and time of day: [mood]
Background sharpness: [background_sharpness]
Keep to these rules:
- Keep the subject identical: shape, proportions, colors, clothing, face and position in the frame.
- Take care with the edges, especially hair, hands and transparent areas.
- Match the light direction, color temperature and perspective of the new setting to the subject.
- Add a ground shadow consistent with the light in the setting.
Do not add any person, text or logo. Keep the framing of the original photo.
Personalize this prompt with Léa · AI assistant
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
A replaced background usually gives itself away through the light. To avoid that, the setting takes on the light direction and perspective of the subject, and a ground shadow ties the two together. Describe a setting close to the light in the original photo: a subject lit from the front blends poorly with a sunset placed behind them. • If a person appears in the photo, get their consent before editing it. • Do not place anyone in a location or situation that suggests something that never happened.
Use Cases
Variants
Expected Output
The original photo with the subject unchanged in a new setting, with clean edges and consistent lighting.
Frequently Asked Questions
Why does the hair look badly cut out?
Fine edges are the hardest to handle. Start from a sharp photo and run the request again, naming the area to fix.
Can I change the background of a photo showing someone else?
Only with their consent, and without creating an image suggesting they were in that place.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
Be the first to comment on this prompt.
Glossary Terms
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Fix the light and colors in a photo
A prompt to rebalance a photo's exposure and colors while keeping a natural look.
Turn a selfie into a professional headshot
A headshot for your professional profile, made from a selfie and faithful to your real features.
Restore an old photo with AI
A prompt to repair a damaged photo without changing the people in it.
Claude Prompt for Creating Images
Claude, Anthropic's AI assistant, now has image generation capabilities that allow you to create visuals directly in the conversation. Whether you need illustrations for a blog post, mockups for a design project, explanatory infographics, or creative visuals for social media, Claude can generate images tailored to your needs. Claude's main advantage lies in its fine understanding of natural language: you can precisely describe what you want, iterate on the result by refining your instructions, and combine image generation with textual analysis in a single exchange. This conversational approach makes visual creation accessible to everyone, without requiring technical skills in design or graphic tools. In this guide, you will discover optimized prompts to get the most out of Claude's image generation capabilities, with variants adapted to different expertise levels and use cases.