# GPT Image Hub prompt

## Subject Replacement in Reference Photo
- URL: https://www.gptimagehub.com/library/subject-replacement-in-reference-photo
- Generator URL: https://www.gptimagehub.com/generate?promptId=oss-ym-mm-7975
- Markdown URL: https://www.gptimagehub.com/api/agent/markdown?path=%2Flibrary%2Fsubject-replacement-in-reference-photo
- Category: Portrait &amp; Photography
- Model: nanobananapro
- Aspect ratio: 3:4
- Style: photorealistic
- Tags: image editing, subject replacement, reference photo, portrait, photo manipulation
- Updated: 2026-10-27T18:39:23.098Z
- Created: 2026-10-27T18:39:23.098Z

Replaces the person in an uploaded photo with a new subject while preserving the original environment and lighting. Customize the subject and outfit color to fit your scene.

### Full prompt
```text
Based on the reference photo, replace the person with a [man] wearing a [red] coat. Maintain all other visual elements exactly as in the original, including the background environment, camera angle, perspective, depth of field, and lighting conditions.
```