Face and Hairstyle Swap for Studio Portrait

Face and Hairstyle Swap for Studio Portrait

Prompt

{ "Ultra-realistic studio portrait of a young woman in a three-quarter profile pose, head slightly turned toward the camera. She is wearing a black textured blazer over a dark top with minimal accessories, including a small hoop earring. Background is a solid deep red studio backdrop with a smooth gradient. Lighting is soft, diffused studio lighting with gentle shadows and even skin tones. Replace ONLY the face and hairstyle using the reference image. Keep body, pose, clothing, background, lighting, camera angle, framing, and image quality exactly the same. Ensure the new face matches the original head size, angle, and expression with seamless skin blending and natural hair integration. Photorealistic, cinematic quality, sharp focus on eyes, shallow depth of field.", "negative_prompt": "face distortion, wrong head size, mismatched skin tone, altered pose, changed clothing, different background, lighting mismatch, blurry face, artifacts, unrealistic hair, over-smoothing", "style": "photorealistic", "camera": { "shot": "close-up portrait", "angle": "three-quarter view", "depth_of_field": "shallow" }, "lighting": "soft studio lighting", "background": "solid deep red", "quality": "high resolution", "face_swap": { "enabled": true, "change_only": ["face", "hairstyle"], "preserve": ["pose", "body", "clothing", "background", "lighting", "camera_angle"] } }

Runs on 21 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +9 more

What this prompt produces

FLUX prompt: retro leopard Santa graphic Not specified flux-2-pro
FLUX prompt: 	distressed Christmas shirt Not specified flux-2-pro
Hunyuan  prompt: archhitecture/ interior Not specified hunyuan-3
Hunyuan  prompt: earrings Not specified hunyuan-3
Hunyuan  prompt: jewerly Not specified hunyuan-3
Hunyuan  prompt: wedding Not specified hunyuan-3

Run this prompt with the API

The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

Prompt API docs
/api/v1/nano_banana/text_to_image
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"Ultra-realistic studio portrait of a young woman in a three-quarter profile pose, head slightly turned toward the camera. She is wearing a black textured blazer over a dark top with minimal accessories, including a small hoop earring. Background is a solid deep red studio backdrop with a smooth gradient. Lighting is soft, diffused studio lighting with gentle shadows and even skin tones. Replace ONLY the face and hairstyle using the reference image. Keep body, pose, clothing, background, lighting, camera angle, framing, and image quality exactly the same. Ensure the new face matches the original head size, angle, and expression with seamless skin blending and natural hair integration. Photorealistic, cinematic quality, sharp focus on eyes, shallow depth of field.\",\n  \"negative_prompt\": \"face distortion, wrong head size, mismatched skin tone, altered pose, changed clothing, different background, lighting mismatch, blurry face, artifacts, unrealistic hair, over-smoothing\",\n  \"style\": \"photorealistic\",\n  \"camera\": {\n    \"shot\": \"close-up portrait\",\n    \"angle\": \"three-quarter view\",\n    \"depth_of_field\": \"shallow\"\n  },\n  \"lighting\": \"soft studio lighting\",\n  \"background\": \"solid deep red\",\n  \"quality\": \"high resolution\",\n  \"face_swap\": {\n    \"enabled\": true,\n    \"change_only\": [\"face\", \"hairstyle\"],\n    \"preserve\": [\"pose\", \"body\", \"clothing\", \"background\", \"lighting\", \"camera_angle\"]\n  }\n}"
}
JSON

Try a prompt