Detailed Mirror Selfie Image Generation with Face Preservation

Detailed Mirror Selfie Image Generation with Face Preservation
Detailed Mirror Selfie Image Generation with Face Preservation

prompt

{ "image_prompt": { "face_preservation": { "use_reference_face": true, "accuracy": "match face exactly from reference image", "preserve_details": ["eyes", "nose shape", "cheek structure", "skin texture", "lip style"] }, "subject": { "gender": "female", "description": "girl taking a mirror selfie indoors while squatting", "pose": { "body_position": "low squat with heel slightly lifted, leaning in confidently", "head": "slightly tilted, gaze downward at phone", "hands": ["right hand holding phone in front", "left hand lightly touching hair"], "expression": "soft confident look" }, "hair": { "style": "half-up pony with soft loose strands", "texture": "smooth straight" }, "attire": { "dress": { "type": "black ribbed bodycon mini hot dress transparent ", "pattern": "plain sleek", "details": "short sleeves, form-fitting silhouette" }, "shoes": "black ankle strap heels", "accessories": ["gold necklace", "bracelet", "rings"] } }, "environment": { "setting": "modern indoor room", "background": "beige curtains & minimal decor", "floor": "reflective marble surface", "lighting": { "type": "warm artificial lighting", "effect": "smooth shadows and glossy highlights" } }, "props": { "phone": { "type": "smartphone","case": "matte black","position": "vertical selfie mode" } }, "style": { "photography": "mirror aesthetic selfie", "color_grade": "warm glossy tones", "sharpness": "high clarity", "mood": "classy & stylish" }, "composition": { "framing": "full body squatting frame", "angle": "eye-level reflection capture", "focus": "sharp facial detail", "aspect_ratio": "4:5" }, "output": { "resolution": "8K ultra realistic", "negative_prompt": ["wrong face", "extra limbs", "dress mismatch", "noise", "text", "blur"] } } }

Funciona con 21 modelos

  • 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 Más

Lo que produce este prompt

Nano Banana prompt: Kavya covering full bicep, bold American style wit No especificado nano-banana-2.1
Nano Banana prompt: traditional eagle covering full bicep, bold Americ... No especificado nano-banana-2.1
Hero prompt: nos podrias hacer una foto con la pose de la prime... No especificado 1.0
Seedream 5 prompt: Hot dress No especificado v2
Nano Banana prompt: Match the same pose from the 1st image No especificado nano-banana-2.1
Seedream 5 prompt: Modern minimalist mobile app icon logo design for ... No especificado seedream-5-pro

Run este prompt con el API

La siguiente solicitud envía este mensaje, con sus valores predeterminados completados, al primer modelo en el que se ejecuta. Cambie el nombre del modelo por cualquier otro modelo enumerado anteriormente.

Documentación de la API de prompts
/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  \"image_prompt\": {\n    \"face_preservation\": {\n      \"use_reference_face\": true,\n      \"accuracy\": \"match face exactly from reference image\",\n      \"preserve_details\": [\"eyes\", \"nose shape\", \"cheek structure\", \"skin texture\", \"lip style\"]\n    },\n\n    \"subject\": {\n      \"gender\": \"female\",\n      \"description\": \"girl taking a mirror selfie indoors while squatting\",\n      \"pose\": {\n        \"body_position\": \"low squat with heel slightly lifted, leaning in confidently\",\n        \"head\": \"slightly tilted, gaze downward at phone\",\n        \"hands\": [\"right hand holding phone in front\", \"left hand lightly touching hair\"],\n        \"expression\": \"soft confident look\"\n      },\n      \"hair\": {\n        \"style\": \"half-up pony with soft loose strands\",\n        \"texture\": \"smooth straight\"\n      },\n      \"attire\": {\n        \"dress\": {\n          \"type\": \"black ribbed bodycon mini hot dress transparent \",\n          \"pattern\": \"plain sleek\",\n          \"details\": \"short sleeves, form-fitting silhouette\"\n        },\n        \"shoes\": \"black ankle strap heels\",\n        \"accessories\": [\"gold necklace\", \"bracelet\", \"rings\"]\n      }\n    },\n\n    \"environment\": {\n      \"setting\": \"modern indoor room\",\n      \"background\": \"beige curtains & minimal decor\",\n      \"floor\": \"reflective marble surface\",\n      \"lighting\": {\n        \"type\": \"warm artificial lighting\",\n        \"effect\": \"smooth shadows and glossy highlights\"\n      }\n    },\n\n    \"props\": {\n      \"phone\": { \"type\": \"smartphone\",\"case\": \"matte black\",\"position\": \"vertical selfie mode\" }\n    },\n\n    \"style\": {\n      \"photography\": \"mirror aesthetic selfie\",\n      \"color_grade\": \"warm glossy tones\",\n      \"sharpness\": \"high clarity\",\n      \"mood\": \"classy & stylish\"\n    },\n\n    \"composition\": {\n      \"framing\": \"full body squatting frame\",\n      \"angle\": \"eye-level reflection capture\",\n      \"focus\": \"sharp facial detail\",\n      \"aspect_ratio\": \"4:5\"\n    },\n\n    \"output\": {\n      \"resolution\": \"8K ultra realistic\",\n      \"negative_prompt\": [\"wrong face\", \"extra limbs\", \"dress mismatch\", \"noise\", \"text\", \"blur\"]\n    }\n  }\n}"
}
JSON

Probar a prompt