YAML Template for Web Manga Creation using Gemini (Nano Banana Pro)

A comprehensive YAML-based prompt template designed for Gemini (referred to as Nano Banana Pro) to generate a four-tier web manga strip. It includes strict adherence rules for character consistency, detailed style guides (lighting, background, dialogue bubbles, visual effects), and a structured storyboard format for defining scenes and dialogue in each panel.

YAML Template for Web Manga Creation using Gemini (Nano Banana Pro)

Prompt

STRICT ADHERENCE REQUIRED:
  - Follow this YAML specification precisely. Do NOT deviate, add unauthorized elements, or make 'creative' interpretations.
  - Character identity consistency from reference images (if provided) is PARAMOUNT.
  - Thorough image analysis is mandatory to maintain this consistency. Any result that fails character identity checks is unacceptable.

Strict_Adherence: true
aspect_ratio: "{argument name="aspect ratio" default="2:3"}" # 必要に応じて変更(例: "1:1", "16:9")
resolution: "{argument name="resolution" default="2K"}"    # 必要に応じて変更(例: "4K")
Character_Count: {{ 登場するキャラクターの総人数 }}
Total_Panel_Count: {{ 総コマ数(4段構成のため通常4〜8枚) }}

Summary: >
  {argument name="summary" default="物語の全体要約。プロットの流れ、舞台設定、主な出来事、結末を簡潔に記述。"}

Style_Guide:
  # コマ割りスタイルは「外枠なし、キャンバス端まで表示」で固定
  comic_style: "4-tier, multi-panel manga strip with no outer framing border. The panels should extend to the very edge of the canvas, separated only by the inner white dividing lines."
  lighting: "{{ ライティングの指定。時間帯(昼/夜)、光源(太陽光/電灯/月明かり)、雰囲気(明るい/暗い/劇的な影)など。 }}"
  background_elements: "{{ 主な舞台設定、場所の具体的な描写、配置されている重要な小物や環境要素。 }}"
  dialogue_bubbles: "Standard white bubbles for speech, thought clouds for internal thoughts, dashed bubbles for whispers, and rectangular boxes for narration/monologue. {{ 必要であれば特殊な吹き出しの定義を追加(例:叫び用のトゲトゲ吹き出し等) }}"
  visual_effects: "{{ 漫画的な視覚効果の指定。漫符(汗、血管、キラキラ)、エフェクト線(集中線、スピード線、震え線)、擬音の視覚化など。 }}"

Characters:
  # キャラクターの定義。IDは英数字推奨。
  {{ キャラクターID_1 }}:
    description: "{{ 外見、髪型、色、服装、特徴的なアイテム、性格や表情の傾向。参照画像がある場合はファイル名をここに記述(例:image_0.png参照)。 }}"
  {{ キャラクターID_2 }}:
    description: "{{ 二人目のキャラクター詳細... 人数分記述する。 }}"
  # 必要に応じて追加...

Storyboard:
  # 4段構成のコマ割り定義
  Tier_1:
    {{ コマID_T1_P1 (例: Panel_1_Large_Top) }}:
      scene: "{{ このコマの具体的な状況描写。誰が、どこで、何をしているか。構図やカメラワークの指定も可能。 }}"
      dialogue:
        - speaker: "{{ 話者のキャラクターID }}"
          type: "{{ 台詞の種類: speech(通常), thought(思考), whisper(囁き), shout(叫び), monologue(独白/ナレーション) }}"
          text: "{{ 台詞の具体的な内容。改行が必要な場合は \n を使用。 }}"
        # 同じコマ内で複数の台詞がある場合はリストを追加
        # - speaker: "..."
        #   type: "..."
        #   text: "..."
    # Tier_1にコマを追加する場合はここに記述
  Tier_2:
    {{ コマID_T2_P1 }}:
      scene: "{{ シーン詳細 }}"
      dialogue:
        - speaker: "{{ 話者ID }}"
          type: "{{ 種類 }}"
          text: "{{ 内容 }}"
    # 必要に応じてコマを追加
  Tier_3:
    {{ コマID_T3_P1 }}:
      scene: "{{ シーン詳細 }}"
      dialogue:
        - speaker: "{{ 話者ID }}"
          type: "{{ 種類 }}"
          text: "{{ 内容 }}"
    # 必要に応じてコマを追加
  Tier_4:
    {{ コマID_T4_P1 }}:
      scene: "{{ シーン詳細 }}"
      dialogue:
        - speaker: "{{ 話者ID }}"
          type: "{{ 種類 }}"
          text: "{{ 内容 }}"
    # 必要に応じてコマを追加41:Te94,STRICT ADHERENCE REQUIRED:
  - Follow this YAML specification precisely. Do NOT deviate, add unauthorized elements, or make 'creative' interpretations.
  - Character identity consistency from reference images (if provided) is PARAMOUNT.
  - Thorough image analysis is mandatory to maintain this consistency. Any result that fails character identity checks is unacceptable.

Strict_Adherence: true
aspect_ratio: "{argument name="aspect ratio" default="2:3"}" # Change as needed (e.g., "1:1", "16:9")
resolution: "{argument name="resolution" default="2K"}"    # Change as needed (e.g., "4K")
Character_Count: {{ Total number of characters appearing }}
Total_Panel_Count: {{ Total number of panels (usually 4-8 for a 4-tier structure) }}

Summary: >
  {argument name="summary" default="Overall summary of the story. Briefly describe the plot flow, setting, main events, and conclusion."}

Style_Guide:
  # Panel division style is fixed to "no outer frame, display to canvas edge"
  comic_style: "4-tier, multi-panel manga strip with no outer framing border. The panels should extend to the very edge of the canvas, separated only by the inner white dividing lines."
  lighting: "{{ Specify lighting. Time of day (day/night), light source (sunlight/electri

How to use this prompt

  1. 1Copy the prompt exactly, then paste it into your preferred model or Ideart project.
  2. 2Replace product, subject, audience, and style details with your own context.
  3. 3Generate one baseline result first, then remix the strongest direction into a campaign, image set, or video concept.

Build from this prompt

Turn a image prompt into a finished creative project.

Save the prompt, add reference images or notes, and let Ideart shape the next production step from the same creative thread.