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 المزيد

ما الذي ينتجه هذا الـ prompt؟

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/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

جرب المطالبة