Object-Oriented Prompt for Composition and Lighting Study

This is an extremely detailed, structured YAML-style prompt designed for the Nano Banana Pro AI, focusing on logical composition and visual flow. It uses object-oriented concepts like 'class definition' to logically define elements, ensuring the AI understands complex instructions like '12 placements' and an 'S-curve visual path' for generating high-contrast concept art. The goal is to move beyond random generation ('gacha') to deliberate visual 'architecture'.

Object-Oriented Prompt for Composition and Lighting Study

Prompt

# Composition & Lighting Study Generator # Project: "Zodiac Parade" - Emotional Night Illustration # Purpose: コントラストの高いコンセプトアートを作成し、全体の「流れ」と「配置」を確定させる # ▼ 1. プロジェクトのゴール定義 project_goal: type: "Atmospheric Concept Art / Lighting Study" # ここで「S字の光の道」を視覚的な最優先事項としてAIに認識させる visual_priority: "Establish a strong S-curve visual path using light." canvas_configuration: aspect_ratio: "9:16" # 色塗りに惑わされないよう、あえてモノクロやセピアのスケッチとして出力指示 rendering_mode: "Monochrome or Sepia Sketch with Strong Lighting Bloom." camera_angle: "High Angle (Cinematic overview)." # ▼ 2. 視線誘導ロジック(ここが重要) visual_guidance_logic: # 視線のスタートとゴールを言語化する path_of_light: "視線は『左下(少女)』から始まり、水面の灯籠を辿って『右上(奥)』へ抜ける。" # 明暗のルールを決めることで、画面が散らかるのを防ぐ contrast_strategy: - "Darkest Areas: River surface (reflecting lights)." - "Brightest Areas: Lanterns (Light Sources)." # テキストを入れるための「左上」の余白を確保 negative_space: "Top-Left (Dark Sky) should be kept empty for text placement." # ▼ 3. オブジェクトのクラス定義 scene_elements: # --- 境界線 (Terrain) --- - element: "Terrain_Divider" visual: "Diagonal separation." # ここで「陸」と「川」を明確に分けないと、キャラが水没したり浮いたりする details: "Bottom-Left is the Snowy River Bank (Land). Top-Right is the flowing River (Water)." # --- 人物 (Character) --- - element: "Girl_Silhouette" position: "Bottom_Left (On the snow)" pose: "Crouching/Sitting, facing the river." # 初期段階では「顔」よりも「着物のボリューム感(塊)」を重視 style: "Rough sketch style, showing the volume of the Kimono." # --- 灯籠の配置 (Lanterns) --- # ▼「12個」と一言で書くより、グループ分けしたほうがAIは数を守りやすい - element: "Lantern_Group_Water (Past/Present)" count: "7 lanterns (1 in hand + 6 on water)." arrangement: "Forming a beautiful S-Curve flowing towards top-right." - element: "Lantern_Group_Land (Future)" count: "5 lanterns." arrangement: "Clustered neatly, waiting to be released." rendering_style: - "Chiaroscuro (Strong contrast between light and dark)." - "Focus on Composition balance and Visual Flow."

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": "# Composition & Lighting Study Generator\n# Project: \"Zodiac Parade\" - Emotional Night Illustration\n# Purpose: コントラストの高いコンセプトアートを作成し、全体の「流れ」と「配置」を確定させる\n\n# ▼ 1. プロジェクトのゴール定義\nproject_goal:\n  type: \"Atmospheric Concept Art / Lighting Study\"\n  # ここで「S字の光の道」を視覚的な最優先事項としてAIに認識させる\n  visual_priority: \"Establish a strong S-curve visual path using light.\"\n\ncanvas_configuration:\n  aspect_ratio: \"9:16\"\n  # 色塗りに惑わされないよう、あえてモノクロやセピアのスケッチとして出力指示\n  rendering_mode: \"Monochrome or Sepia Sketch with Strong Lighting Bloom.\"\n  camera_angle: \"High Angle (Cinematic overview).\"\n\n# ▼ 2. 視線誘導ロジック(ここが重要)\nvisual_guidance_logic:\n  # 視線のスタートとゴールを言語化する\n  path_of_light: \"視線は『左下(少女)』から始まり、水面の灯籠を辿って『右上(奥)』へ抜ける。\"\n  # 明暗のルールを決めることで、画面が散らかるのを防ぐ\n  contrast_strategy:\n    - \"Darkest Areas: River surface (reflecting lights).\"\n    - \"Brightest Areas: Lanterns (Light Sources).\"\n  # テキストを入れるための「左上」の余白を確保\n  negative_space: \"Top-Left (Dark Sky) should be kept empty for text placement.\"\n\n# ▼ 3. オブジェクトのクラス定義\nscene_elements:\n\n  # --- 境界線 (Terrain) ---\n  - element: \"Terrain_Divider\"\n    visual: \"Diagonal separation.\"\n    # ここで「陸」と「川」を明確に分けないと、キャラが水没したり浮いたりする\n    details: \"Bottom-Left is the Snowy River Bank (Land). Top-Right is the flowing River (Water).\"\n\n  # --- 人物 (Character) ---\n  - element: \"Girl_Silhouette\"\n    position: \"Bottom_Left (On the snow)\"\n    pose: \"Crouching/Sitting, facing the river.\"\n    # 初期段階では「顔」よりも「着物のボリューム感(塊)」を重視\n    style: \"Rough sketch style, showing the volume of the Kimono.\"\n\n  # --- 灯籠の配置 (Lanterns) ---\n  # ▼「12個」と一言で書くより、グループ分けしたほうがAIは数を守りやすい\n  - element: \"Lantern_Group_Water (Past/Present)\"\n    count: \"7 lanterns (1 in hand + 6 on water).\"\n    arrangement: \"Forming a beautiful S-Curve flowing towards top-right.\"\n\n  - element: \"Lantern_Group_Land (Future)\"\n    count: \"5 lanterns.\"\n    arrangement: \"Clustered neatly, waiting to be released.\"\n\nrendering_style:\n  - \"Chiaroscuro (Strong contrast between light and dark).\"\n  - \"Focus on Composition balance and Visual Flow.\""
}
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.