Detailed JSON-based Image Generation Prompt for Gemini Nano Banana Pro

This is a highly structured, JSON-formatted prompt designed for the Gemini Nano Banana Pro image generation tool. It specifies a complete pipeline sequence for creating an 'Evening Festival Portrait' image, including detailed settings for subject identity preservation (using an attached image buffer), kinematics control (OpenPose), wardrobe assembly, environment staging (Outdoor Night Market), and lighting setup. It's useful for users who want precise control over every aspect of the generated image, especially when starting from a reference photo.

Detailed JSON-based Image Generation Prompt for Gemini Nano Banana Pro

Prompt

{ "pipeline_sequence_v5": { "global_settings": { "project_name": "EVENING_FESTIVAL_PORTRAIT", "render_target": { "width": 1080, "height": 1920, "ratio": "9:16" }, "seed_strategy": "Fixed", "steps": 50 }, "node_01_subject_initialization": { "module": "Identity_Preservation", "parameters": { "source_input": "Attached_Image_Buffer", "face_restore_strength": 1.0, "feature_lock": { "eyes": "Strict", "nose": "Strict", "mouth": "Strict", "skin_texture": "Blend_with_Prompt" } }, "morphology": { "hair": { "style": "Long_Wavy", "color": "Brown", "physics": "Natural_Soft" }, "makeup": { "lips": "Soft_Natural_Pink", "finish": "Dewy", "intensity": "Natural_Glow" } } }, "node_02_kinematics_control": { "module": "ControlNet_OpenPose", "pose_skeleton": { "body_orientation": "Standing", "spine_curve": "Slight_Lean_Back", "right_arm": { "state": "Relaxed_Down" }, "left_arm": { "state": "Relaxed_Down" }, "head_vector": { "pitch": 0, "yaw": 10, "target": "Lens_Direct" } } }, "node_03_wardrobe_assembly": { "module": "Layered_Clothing_Generator", "layers": [ { "layer_id": 1, "item": "Sleeveless Crop Top", "pattern": "Floral_Oriental", "color_palette": "Navy_Orange_Green", "fit": "Fitted" }, { "layer_id": 2, "item": "Accessories", "elements": [ { "type": "Necklace", "style": "Layered_Gold_Choker" }, { "type": "Earrings", "style": "Small_Drop" } ] } ] }, "node_04_environment_stage": { "module": "Scene_Builder", "setting_type": "Outdoor_Night_Market", "assets": { "lighting_decor": "Hanging_Warm_String_Lights", "background_elements": "Plants_Shops_People", "ground_material": "Soft_Dirt" }, "atmosphere": { "mood": "Warm_Festive_Evening", "clutter_density": "Medium_Lively" } }, "node_05_lighting_engine": { "module": "Illumination", "setup": { "primary_source": "Warm_Festoon_Lights", "fill_light": "Ambient_Night_Soft", "color_grading_lut": "Warm_Glow", "shadow_quality": "Soft" } } } }

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    \"pipeline_sequence_v5\": {\n      \"global_settings\": {\n        \"project_name\": \"EVENING_FESTIVAL_PORTRAIT\",\n        \"render_target\": {\n          \"width\": 1080,\n          \"height\": 1920,\n          \"ratio\": \"9:16\"\n        },\n        \"seed_strategy\": \"Fixed\",\n        \"steps\": 50\n      },\n\n      \"node_01_subject_initialization\": {\n        \"module\": \"Identity_Preservation\",\n        \"parameters\": {\n          \"source_input\": \"Attached_Image_Buffer\",\n          \"face_restore_strength\": 1.0,\n          \"feature_lock\": {\n            \"eyes\": \"Strict\",\n            \"nose\": \"Strict\",\n            \"mouth\": \"Strict\",\n            \"skin_texture\": \"Blend_with_Prompt\"\n          }\n        },\n        \"morphology\": {\n          \"hair\": {\n            \"style\": \"Long_Wavy\",\n            \"color\": \"Brown\",\n            \"physics\": \"Natural_Soft\"\n          },\n          \"makeup\": {\n            \"lips\": \"Soft_Natural_Pink\",\n            \"finish\": \"Dewy\",\n            \"intensity\": \"Natural_Glow\"\n          }\n        }\n      },\n\n      \"node_02_kinematics_control\": {\n        \"module\": \"ControlNet_OpenPose\",\n        \"pose_skeleton\": {\n          \"body_orientation\": \"Standing\",\n          \"spine_curve\": \"Slight_Lean_Back\",\n          \"right_arm\": {\n            \"state\": \"Relaxed_Down\"\n          },\n          \"left_arm\": {\n            \"state\": \"Relaxed_Down\"\n          },\n          \"head_vector\": {\n            \"pitch\": 0,\n            \"yaw\": 10,\n            \"target\": \"Lens_Direct\"\n          }\n        }\n      },\n\n      \"node_03_wardrobe_assembly\": {\n        \"module\": \"Layered_Clothing_Generator\",\n        \"layers\": [\n          {\n            \"layer_id\": 1,\n            \"item\": \"Sleeveless Crop Top\",\n            \"pattern\": \"Floral_Oriental\",\n            \"color_palette\": \"Navy_Orange_Green\",\n            \"fit\": \"Fitted\"\n          },\n          {\n            \"layer_id\": 2,\n            \"item\": \"Accessories\",\n            \"elements\": [\n              { \"type\": \"Necklace\", \"style\": \"Layered_Gold_Choker\" },\n              { \"type\": \"Earrings\", \"style\": \"Small_Drop\" }\n            ]\n          }\n        ]\n      },\n\n      \"node_04_environment_stage\": {\n        \"module\": \"Scene_Builder\",\n        \"setting_type\": \"Outdoor_Night_Market\",\n        \"assets\": {\n          \"lighting_decor\": \"Hanging_Warm_String_Lights\",\n          \"background_elements\": \"Plants_Shops_People\",\n          \"ground_material\": \"Soft_Dirt\"\n        },\n        \"atmosphere\": {\n          \"mood\": \"Warm_Festive_Evening\",\n          \"clutter_density\": \"Medium_Lively\"\n        }\n      },\n\n      \"node_05_lighting_engine\": {\n        \"module\": \"Illumination\",\n        \"setup\": {\n          \"primary_source\": \"Warm_Festoon_Lights\",\n          \"fill_light\": \"Ambient_Night_Soft\",\n          \"color_grading_lut\": \"Warm_Glow\",\n          \"shadow_quality\": \"Soft\"\n        }\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.