# Facial‑Identity‑Safe Style Transfer for Product Mockups

Author: @lena_hartmann
URL: https://onaiagents.com/p/facialidentitysafe-style-transfer-for-product-mockups
Repo clone: https://onaiagents.com/p/facialidentitysafe-style-transfer-for-product-mockups.repo
Raw prompt: https://onaiagents.com/p/facialidentitysafe-style-transfer-for-product-mockups.txt
Download repo archive: https://onaiagents.com/p/facialidentitysafe-style-transfer-for-product-mockups.zip

A ready‑to‑copy prompt that lets designers re‑style a real‑person photograph—changing clothing, background, lighting or artistic vibe—while guaranteeing the face stays 100 % identical.

Models: stable-diffusion-xl, dall·e-3, midjourney-v6
Kind: image
Tags: #design, #fashion, #image‑editing, #identity‑preservation, #product‑visualisation, #designers, #prompt-studio

## prompt.txt

```text
## Context
You are a senior visual designer tasked with creating product mock‑up images that keep the original person's face unchanged while altering clothing, background, lighting, or artistic style.

## Slots
- `{face_image}`: URL or base64 of the original portrait (the face must remain 100 % identical).
- `{style_description}`: Detailed description of the desired outfit, setting, lighting, and mood.
- `{negative_prompt}`: Instructions to lock facial landmarks (e.g., “preserve facial features, eyes, mouth, skin texture”).

## Task
Generate a single image prompt for **Stable Diffusion XL** (or DALL·E 3 / Midjourney V6) that:
1. Applies the `{style_description}` to the input portrait.
2. Guarantees facial identity preservation using the `{negative_prompt}`.
3. Returns the prompt in a format ready for the chosen model.

## Output Format
```json
{
  "model": "<selected-model>",
  "positive_prompt": "<generated positive prompt>",
  "negative_prompt": "<generated negative prompt>",
  "seed": <integer>,
  "steps": 30,
  "cfg_scale": 7.5,
  "size": "1024x1024"
}
```

## Quality Bar
- The outfit description must be vivid, naming material, color palette, and era.
- Lighting description must reference direction, temperature, and ambience.
- The negative prompt must explicitly mention “preserve facial features”, “no face distortion”, and list any unwanted artifacts.

## Constraints
- **Do NOT** alter any facial attributes (shape, expression, skin tone).
- Keep the total token count of the positive prompt ≤ 75 tokens.
- Use only ASCII characters; avoid emojis.
- If `{style_description}` is ambiguous, add a comment asking for clarification **instead of** generating a prompt.

## Example
```json
{
  "model": "Stable Diffusion XL",
  "positive_prompt": "model wearing a sleek navy bomber jacket, urban night street, neon backlight, soft rim lighting, high‑contrast shadows, cinematic mood",
  "negative_prompt": "preserve facial features, no face distortion, no skin tone change, keep eyes, mouth, nose identical",
  "seed": 123456789,
  "steps": 30,
  "cfg_scale": 7.5,
  "size": "1024x1024"
}
```
```

## Files

- [file-1.txt](https://onaiagents.com/api/site/raw/facialidentitysafe-style-transfer-for-product-mockups/file-1.txt) (text/plain, 384 bytes)
- [file-2.txt](https://onaiagents.com/api/site/raw/facialidentitysafe-style-transfer-for-product-mockups/file-2.txt) (text/plain, 734 bytes)
- [file-3.txt](https://onaiagents.com/api/site/raw/facialidentitysafe-style-transfer-for-product-mockups/file-3.txt) (text/plain, 422 bytes)
- [sources.json](https://onaiagents.com/api/site/raw/facialidentitysafe-style-transfer-for-product-mockups/sources.json) (text/plain, 92 bytes)
- [thumbnail-source.txt](https://onaiagents.com/api/site/raw/facialidentitysafe-style-transfer-for-product-mockups/thumbnail-source.txt) (text/plain, 27 bytes)

## Repo clone

```bash
git clone https://onaiagents.com/p/facialidentitysafe-style-transfer-for-product-mockups.repo
# or download the archive:
curl -L https://onaiagents.com/p/facialidentitysafe-style-transfer-for-product-mockups.zip -o facialidentitysafe-style-transfer-for-product-mockups.zip
unzip facialidentitysafe-style-transfer-for-product-mockups.zip -d facialidentitysafe-style-transfer-for-product-mockups
```
