8K Night Portrait with Face Preservation

A complex JSON prompt for the Google Gemini Nano Banana Pro model to generate an 8K hyper-realistic night portrait of a young man on a city balcony. Crucially, it includes detailed face preservation instructions, requiring the generated image to exactly match a reference face's features, hairstyle, and skin tone, while setting a festive, cinematic mood with warm golden lighting and bokeh.

Prompt

{ "image_prompt": { "type": "night_portrait", "quality": "8K hyper-realistic, ultra-detailed, cinematic lighting", "style": "modern festive outdoor portrait with warm golden accent lights, slight bokeh glow and soft contrast", "face_preservation": { "use_reference_face": true, "accuracy": "match exactly", "preserve_features": [ "hairstyle and volume", "jawline shape", "eyebrow thickness", "smile curve", "skin tone and texture" ] }, "subject": { "gender": "male", "description": "young man posing confidently on a balcony decorated with warm lights", "pose": "leaning on railing with one hand in pocket, relaxed stance, natural smile", "outfit": { "top": "grey t-shirt with open black denim jacket", "bottom": "dark slim-fit jeans", "accessories": ["gold wristwatch", "bracelet"], "shoes": "not visible due to framing" } }, "environment": { "location": "city balcony at night", "details": [ "vertical warm fairy lights hanging behind", "soft shadows on railing", "slightly blurred city buildings", "dark blue night sky with warm highlights" ], "lighting": "warm golden lights illuminating subject's face and jacket edges" }, "camera": { "angle": "eye-level medium shot", "lens": "50mm portrait lens effect", "focus": "sharp on face and torso, background bokeh" }, "mood": "confident, festive, cinematic", "signature": "VIVEK HY" } }

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    \"type\": \"night_portrait\",\n    \"quality\": \"8K hyper-realistic, ultra-detailed, cinematic lighting\",\n    \"style\": \"modern festive outdoor portrait with warm golden accent lights, slight bokeh glow and soft contrast\",\n    \n    \"face_preservation\": {\n      \"use_reference_face\": true,\n      \"accuracy\": \"match exactly\",\n      \"preserve_features\": [\n        \"hairstyle and volume\",\n        \"jawline shape\",\n        \"eyebrow thickness\",\n        \"smile curve\",\n        \"skin tone and texture\"\n      ]\n    },\n\n    \"subject\": {\n      \"gender\": \"male\",\n      \"description\": \"young man posing confidently on a balcony decorated with warm lights\",\n      \"pose\": \"leaning on railing with one hand in pocket, relaxed stance, natural smile\",\n      \"outfit\": {\n        \"top\": \"grey t-shirt with open black denim jacket\",\n        \"bottom\": \"dark slim-fit jeans\",\n        \"accessories\": [\"gold wristwatch\", \"bracelet\"],\n        \"shoes\": \"not visible due to framing\"\n      }\n    },\n\n    \"environment\": {\n      \"location\": \"city balcony at night\",\n      \"details\": [\n        \"vertical warm fairy lights hanging behind\",\n        \"soft shadows on railing\",\n        \"slightly blurred city buildings\",\n        \"dark blue night sky with warm highlights\"\n      ],\n      \"lighting\": \"warm golden lights illuminating subject's face and jacket edges\"\n    },\n\n    \"camera\": {\n      \"angle\": \"eye-level medium shot\",\n      \"lens\": \"50mm portrait lens effect\",\n      \"focus\": \"sharp on face and torso, background bokeh\"\n    },\n\n    \"mood\": \"confident, festive, cinematic\",\n    \"signature\": \"VIVEK HY\"\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.