Object Replacement Inpainting Prompt

Object Replacement Inpainting Prompt

A specific inpainting instruction for Nano Banana Pro to replace color-marked regions with new objects that match the original scene's lighting and shape.

The skill

Replace the magenta region with an object matching the size/shape/lighting of nearby {argument name="subject" default="subject"}, but in {argument name="color" default="color"}. Keep everything else unchanged.

How to install it

Gemini

1. Open Gems → New Gem.
2. Paste the text below into the instructions field.
3. Save. The Gem appears in the sidebar and keeps the instructions
   across conversations.

In Google AI Studio the same text goes in System instructions.

Did it work for you?

Where it came from

YouMind OpenLab MIT The original

2026 YouMind-OpenLab