Face and Hairstyle Swap for Studio Portrait

Face and Hairstyle Swap for Studio Portrait

즉각적인

{ "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"] } }

21 모델에서 실행됩니다.

  • 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 이상

이 프롬프트의 출력

FLUX prompt: retro leopard Santa graphic 지정되지 않음 flux-2-pro
FLUX prompt: 	distressed Christmas shirt 지정되지 않음 flux-2-pro
Hunyuan  prompt: archhitecture/ interior 지정되지 않음 hunyuan-3
Hunyuan  prompt: earrings 지정되지 않음 hunyuan-3
Hunyuan  prompt: jewerly 지정되지 않음 hunyuan-3
Hunyuan  prompt: wedding 지정되지 않음 hunyuan-3

API를 사용하여 이 프롬프트를 실행하세요.

아래 요청은 기본값이 채워진 이 프롬프트를 실행되는 첫 번째 모델로 보냅니다. 위에 나열된 다른 모델의 모델 이름을 바꾸십시오.

프롬프트 API 문서
/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

메시지를 보내보세요