# GPT Image Hub prompt

## Color-Masked Inpainting Object Replacement
- URL: https://www.gptimagehub.com/library/color-masked-inpainting-object-replacement
- Generator URL: https://www.gptimagehub.com/generate?promptId=oss-ym-mm-32413
- Markdown URL: https://www.gptimagehub.com/api/agent/markdown?path=%2Flibrary%2Fcolor-masked-inpainting-object-replacement
- Category: Other
- Model: nanobananapro
- Aspect ratio: 1:1
- Style: 3d
- Tags: inpainting, image editing, object replacement, photo retouching, mask edit
- Updated: 2026-10-27T14:02:56.589Z
- Created: 2026-10-27T14:02:56.589Z

Replaces a color-masked region in an image with a contextual object while preserving scene lighting. Customize the target subject and replacement color.

### Full prompt
```text
In the image, seamlessly replace the magenta-marked area with an object matching the size, shape, and lighting of the nearby [subject], rendered in [color]. Keep all other areas of the image unchanged.
```