Gemini prompt to change only the sofa in a living room photo

An official Google example prompt that changes only the sofa in a living room photo and keeps the rest.

Model
Gemini / Nano Banana
Task
Photo editing
Source
Official example from Google

The prompt asks Gemini to replace the blue sofa in a provided living room photo with a vintage brown leather chesterfield, keeping the rest of the room, the pillows and the lighting unchanged. It illustrates the inpainting template in Google’s guide, which edits one specific area conversationally while leaving the rest untouched. To adapt it, name the object to change, the replacement and what must stay the same.

The prompt is quoted from How to prompt Gemini 2.5 Flash Image Generation for the best results - Google Developers Blog.

Prompt
Using the provided image of a living room, change only the blue sofa to be a vintage, brown leather chesterfield sofa. Keep the rest of the room, including the pillows on the sofa and the lighting, unchanged.
What it produces
Asks the model to swap only the sofa in an uploaded living room photo and leave everything else unchanged.
Source link
developers.googleblog.com
Added

Questions

Why does the prompt say “change only”?
Google’s inpainting template edits one specific area and states what must stay unchanged, here the room, pillows and lighting.
How do I edit my own photo with this prompt in Gemini?
Open the image from Library or upload it, click Chat under it and describe the change; Google’s help page says editing uploaded photos requires being 18 or over.
Where does this prompt come from?
It is quoted from Google’s Developers Blog post on prompting Gemini 2.5 Flash Image, as the inpainting example.

See also

Sources: each prompt is quoted from the official example or the public post linked on its page. Promptline is not affiliated with OpenAI, Anthropic, Google or Midjourney.

Promptline

What are you looking for?

Search by headline, topic or keyword.