{
  "id": "6dca04ec-fea1-4b24-a803-92b86b38e4fc",
  "revision": 0,
  "last_node_id": 3,
  "last_link_id": 1,
  "nodes": [
    {
      "id": 1,
      "type": "GeminiTextToSpeech",
      "pos": [
        620,
        40
      ],
      "size": [
        400,
        232
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "properties": {
        "Node name for S&R": "GeminiTextToSpeech"
      },
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "COMBO",
          "widget": {
            "name": "model"
          },
          "link": null
        },
        {
          "localized_name": "text",
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": null
        },
        {
          "localized_name": "language",
          "name": "language",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "language"
          },
          "link": null
        },
        {
          "localized_name": "voice",
          "name": "language.voice",
          "type": "COMBO",
          "widget": {
            "name": "language.voice"
          },
          "link": null
        },
        {
          "localized_name": "style",
          "name": "style",
          "type": "STRING",
          "widget": {
            "name": "style"
          },
          "link": null
        },
        {
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "AUDIO",
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            1
          ]
        }
      ],
      "widgets_values": [
        "gemini-3.8-flash-tts",
        "Some places remember you before you arrive.\n\nThe road ends at a white gate, and past it the fog does the rest. <short pause> Nobody has trimmed the hedge in years.\n\nIf you listen closely, the house is still counting its heartbeats.",
        "English (US)",
        "Gacrux (female, mature)",
        "Low, unhurried documentary narration. Warm, close to the mic, slow measured pace.",
        42,
        "randomize"
      ],
      "widgets_values_named": {
        "model": "gemini-3.8-flash-tts",
        "text": "Some places remember you before you arrive.\n\nThe road ends at a white gate, and past it the fog does the rest. <short pause> Nobody has trimmed the hedge in years.\n\nIf you listen closely, the house is still counting its heartbeats.",
        "language": "English (US)",
        "language.voice": "Gacrux (female, mature)",
        "style": "Low, unhurried documentary narration. Warm, close to the mic, slow measured pace.",
        "seed": 42,
        "control_after_generate": "randomize"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 2,
      "type": "SaveAudioAdvanced",
      "pos": [
        1100,
        40
      ],
      "size": [
        270,
        160
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "properties": {},
      "inputs": [
        {
          "localized_name": "audio",
          "name": "audio",
          "type": "AUDIO",
          "link": 1
        },
        {
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        },
        {
          "localized_name": "format",
          "name": "format",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format"
          },
          "link": null
        },
        {
          "localized_name": "quality",
          "name": "format.quality",
          "type": "COMBO",
          "widget": {
            "name": "format.quality"
          },
          "link": null
        },
        {
          "localized_name": "audioUI",
          "name": "audioUI",
          "type": "AUDIO_UI",
          "widget": {
            "name": "audioUI"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "audio",
          "name": "audio",
          "type": "AUDIO",
          "links": null
        }
      ],
      "widgets_values": [
        "api_gemini_38_flash_text_to_speech",
        "mp3",
        "V0"
      ],
      "widgets_values_named": {
        "filename_prefix": "api_gemini_38_flash_text_to_speech",
        "format": "mp3",
        "format.quality": "V0"
      }
    },
    {
      "id": 3,
      "type": "MarkdownNote",
      "pos": [
        40,
        40
      ],
      "size": [
        520,
        620
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "properties": {},
      "inputs": [],
      "outputs": [],
      "widgets_values": [
        "# Google Gemini 3.8 · Text to Speech\n\nType a script, choose a voice by language and accent, and run. The finished audio is written to `output/audio/`.\n\n## How to use this template\n\n- `text` is spoken word for word, up to 5,000 characters. Inline tags such as `<laugh>`, `<sigh>` and `<short pause>` are performed as sound; everything else in the box is read aloud.\n- `style` is the delivery channel: `warm and calm`, `whispering`, `unhurried documentary narration`. Put direction here — inside `text` it becomes part of the sentence.\n- `language` groups the voices by native accent and `voice` picks one. Any voice can read other languages, so an English (US) voice speaking Chinese is fine; it keeps the accent.\n- `model` switches between **Flash TTS** (higher fidelity) and **Flash-Lite TTS** (faster and cheaper). Flash-Lite can drop the end of long Chinese or Japanese text and misreads long lists of numbers.\n- `seed` only decides whether the node re-runs; the same seed is not the same take.\n- `Save Audio (Advanced)` writes mp3 at V0 by default — change `format` to wav or flac to keep the untouched file.\n\n## Prompting tips\n\n- Write the script the way an actor would speak it: short sentences, punctuation for pauses, a dash to cut a line short.\n- Keep one idea per paragraph; prosody resets naturally at blank lines.\n- Spell out numbers and abbreviations that must be read a specific way.\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "widgets_values_named": {
        "text": "# Google Gemini 3.8 · Text to Speech\n\nType a script, choose a voice by language and accent, and run. The finished audio is written to `output/audio/`.\n\n## How to use this template\n\n- `text` is spoken word for word, up to 5,000 characters. Inline tags such as `<laugh>`, `<sigh>` and `<short pause>` are performed as sound; everything else in the box is read aloud.\n- `style` is the delivery channel: `warm and calm`, `whispering`, `unhurried documentary narration`. Put direction here — inside `text` it becomes part of the sentence.\n- `language` groups the voices by native accent and `voice` picks one. Any voice can read other languages, so an English (US) voice speaking Chinese is fine; it keeps the accent.\n- `model` switches between **Flash TTS** (higher fidelity) and **Flash-Lite TTS** (faster and cheaper). Flash-Lite can drop the end of long Chinese or Japanese text and misreads long lists of numbers.\n- `seed` only decides whether the node re-runs; the same seed is not the same take.\n- `Save Audio (Advanced)` writes mp3 at V0 by default — change `format` to wav or flac to keep the untouched file.\n\n## Prompting tips\n\n- Write the script the way an actor would speak it: short sentences, punctuation for pauses, a dash to cut a line short.\n- Keep one idea per paragraph; prosody resets naturally at blank lines.\n- Spell out numbers and abbreviations that must be read a specific way.\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      },
      "color": "#222",
      "bgcolor": "#000"
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "AUDIO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5338345864661654,
      "offset": [
        34.929577464788736,
        23.690140845070417
      ]
    }
  },
  "version": 0.4
}