Replace a Person While Preserving the Scene
Replace the person in a target photo using a separate identity reference while keeping the target scene unchanged
Example media
These files may include inputs, references, or generated results
Prompt template
- Format
- Text Parameterized
- Inputs
- target_photo (image) · Required identity_reference (image) · Required
- Outputs
- Edited_photo (image)
Use ${target-photo} as the exact reference for the scene, pose, composition, and environment, and use ${identity-reference} as the ONLY identity reference. Replace ONLY the original person with the person in the identity reference. Keep the entire target scene exactly unchanged: wooden bench, black railing, foggy resort background, distant cottage/building, plants and flowers, glass/wooden roof structure, grass, pavement, sky, mist, camera position, perspective, lighting, colors, and framing.
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${target-photo}
target-photo
Required
${identity-reference}
identity-reference
Required
What you'll create
This prompt replaces the original person in a photo with the person from a separate identity reference. It preserves the target photo’s environment, composition, lighting, colors, and framing
Usage instructions
Frequently asked questions
Which image controls the scene?
The target photo controls the scene, pose, composition, and environment; the identity reference is used only for the replacement person
Can the background or lighting be changed?
No. The prompt requires the target scene, lighting, colors, perspective, and framing to remain unchanged
Comments
Tried this prompt? Share what you made, compare results, or ask a question