Identity-Locked Café Portrait

A detailed JSON prompt for generating a highly photorealistic, close-up portrait of a young woman in a cozy indoor café setting. It uses strict identity locking to ensure the generated face is 100% identical to the uploaded reference, focusing on natural textures, warm lighting, and a casual {argument name="outfit type" default="casual short-sleeve t-shirt"}.

Identity-Locked Café Portrait

Prompt

{ "image_prompt": { "reference": { "face_identity": "use uploaded reference image", "identity_lock": true, "face_accuracy": "100% identical to reference — same facial structure, proportions, skin texture, makeup style, and facial details" }, "subject": { "type": "young woman", "appearance": { "hair": { "color": "dark brown", "style": "loose, straight with soft natural waves, side-parted, falling over shoulders" }, "skin": { "tone": "same as reference image", "texture": "natural, smooth, realistic glow" }, "makeup": { "base": "natural dewy finish", "blush": "soft rosy pink on cheeks", "eyes": "minimal eye makeup, natural lashes", "lips": "natural nude-pink lipstick", "overall": "exactly same makeup as reference image" }, "expression": "soft relaxed smile", "gaze": "looking directly at camera" }, "pose": { "position": "seated", "hands": { "right": "chin resting on right hand", "left": "not visible or resting naturally" } } }, "outfit": { "top": { "type": "casual short-sleeve t-shirt", "color": "off-white / cream", "fit": "relaxed" }, "accessories": { "watch": { "hand": "right", "type": "silver metal strap wristwatch" }, "earrings": "small subtle studs" } }, "environment": { "location": "cozy indoor café", "background": [ "stone-textured wall", "warm ambient café lighting", "soft decorative elements" ] }, "lighting": { "type": "warm indoor lighting", "quality": "soft, flattering, evenly diffused", "effect": "natural skin glow without harsh shadows" }, "composition": { "shot_type": "close-up portrait", "camera_angle": "eye-level", "framing": "head and shoulders centered", "style": "casual candid café portrait" }, "image_style": { "realism": "highly photorealistic", "detail": "sharp facial details, natural textures", "mood": "warm, calm, intimate", "resolution": "high resolution" }, "constraints": { "no_face_change": true, "no_makeup_change": true, "no_beauty_overediting": true, "maintain_original_features": true } } }

Runs on 18 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Midjourney
  • Nano Banana
  • +6 more

What this prompt produces

Realistic Group Selfie with Smartphone Flash Effect Not specified nano-banana-pro
Four Seasons Portrait Collage Not specified nano-banana-pro
Minimalist Dog Sketch Clipart Not specified nano-banana-pro
Mecha Girl figure concept generated by Nano Banana Pro Not specified nano-banana-pro
Candid Flash Photography: Chaotic Holiday Party (Duplicate) Not specified nano-banana-pro
Ethereal Floral Studio Portrait Not specified nano-banana-pro

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  \"image_prompt\": {\n    \"reference\": {\n      \"face_identity\": \"use uploaded reference image\",\n      \"identity_lock\": true,\n      \"face_accuracy\": \"100% identical to reference — same facial structure, proportions, skin texture, makeup style, and facial details\"\n    },\n\n    \"subject\": {\n      \"type\": \"young woman\",\n      \"appearance\": {\n        \"hair\": {\n          \"color\": \"dark brown\",\n          \"style\": \"loose, straight with soft natural waves, side-parted, falling over shoulders\"\n        },\n        \"skin\": {\n          \"tone\": \"same as reference image\",\n          \"texture\": \"natural, smooth, realistic glow\"\n        },\n        \"makeup\": {\n          \"base\": \"natural dewy finish\",\n          \"blush\": \"soft rosy pink on cheeks\",\n          \"eyes\": \"minimal eye makeup, natural lashes\",\n          \"lips\": \"natural nude-pink lipstick\",\n          \"overall\": \"exactly same makeup as reference image\"\n        },\n        \"expression\": \"soft relaxed smile\",\n        \"gaze\": \"looking directly at camera\"\n      },\n      \"pose\": {\n        \"position\": \"seated\",\n        \"hands\": {\n          \"right\": \"chin resting on right hand\",\n          \"left\": \"not visible or resting naturally\"\n        }\n      }\n    },\n\n    \"outfit\": {\n      \"top\": {\n        \"type\": \"casual short-sleeve t-shirt\",\n        \"color\": \"off-white / cream\",\n        \"fit\": \"relaxed\"\n      },\n      \"accessories\": {\n        \"watch\": {\n          \"hand\": \"right\",\n          \"type\": \"silver metal strap wristwatch\"\n        },\n        \"earrings\": \"small subtle studs\"\n      }\n    },\n\n    \"environment\": {\n      \"location\": \"cozy indoor café\",\n      \"background\": [\n        \"stone-textured wall\",\n        \"warm ambient café lighting\",\n        \"soft decorative elements\"\n      ]\n    },\n\n    \"lighting\": {\n      \"type\": \"warm indoor lighting\",\n      \"quality\": \"soft, flattering, evenly diffused\",\n      \"effect\": \"natural skin glow without harsh shadows\"\n    },\n\n    \"composition\": {\n      \"shot_type\": \"close-up portrait\",\n      \"camera_angle\": \"eye-level\",\n      \"framing\": \"head and shoulders centered\",\n      \"style\": \"casual candid café portrait\"\n    },\n\n    \"image_style\": {\n      \"realism\": \"highly photorealistic\",\n      \"detail\": \"sharp facial details, natural textures\",\n      \"mood\": \"warm, calm, intimate\",\n      \"resolution\": \"high resolution\"\n    },\n\n    \"constraints\": {\n      \"no_face_change\": true,\n      \"no_makeup_change\": true,\n      \"no_beauty_overediting\": true,\n      \"maintain_original_features\": true\n    }\n  }\n}"
}
JSON

Try a prompt

Estimated: $0.04 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.