ComfyUI Node
Gemini 2.5 Pro Text to Speech
Gemini 2.5 Pro Text to Speech OpenAPI Specification
Gemini 2.5 Pro Text to Speech
- audio
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄speakers[
{
"speaker_id": "Speaker 1",
"voice_name": "Fenrir",
"audio_profile": "A stern and weary gatekeeper",
"accent": "British (RP)",
"style": "Deadpan",
"pace": "Natural"
},
{
"speaker_id": "Speaker 2",
"voice_name": "Puck",
"audio_profile": "A determined and courageous traveler seeking answers.",
"accent": "American (Gen)",
"style": "Empathetic",
"pace": "Staccato"
}
]►
◄dialogue_turns[
{
"speaker_id": "Speaker 1",
"text": "[shouting] Halt, traveler! The northern pass is sealed by order of the council."
},
{
"speaker_id": "Speaker 2",
"text": "[determination] I carry a message for the elder. Step aside, or I will force my way through."
},
{
"speaker_id": "Speaker 1",
"text": "[caution] No one passes. [pensive] The elder is... he's no longer receiving visitors."
},
{
"speaker_id": "Speaker 2",
"text": "It's too late. [whispers] The shadow... it reached him first. [urgency] You need to leave. [shouting] Now."
}
]►
◄temperature1.00►
◄sceneA dark, crumbling dungeon...►
◄sample_contextFantasy RPG style...►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Audio/Google/Gemini TTS
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| speakers | STRING | [ { "speaker_id": "Speaker 1", "voice_name": "Fenrir", "audio_profile": "A stern and weary gatekeeper", "accent": "British (RP)", "style": "Deadpan", "pace": "Natural" }, { "speaker_id": "Speaker 2", "voice_name": "Puck", "audio_profile": "A determined and courageous traveler seeking answers.", "accent": "American (Gen)", "style": "Empathetic", "pace": "Staccato" } ] | List of speaker configurations |
| dialogue_turns | STRING | [ { "speaker_id": "Speaker 1", "text": "[shouting] Halt, traveler! The northern pass is sealed by order of the council." }, { "speaker_id": "Speaker 2", "text": "[determination] I carry a message for the elder. Step aside, or I will force my way through." }, { "speaker_id": "Speaker 1", "text": "[caution] No one passes. [pensive] The elder is... he's no longer receiving visitors." }, { "speaker_id": "Speaker 2", "text": "It's too late. [whispers] The shadow... it reached him first. [urgency] You need to leave. [shouting] Now." } ] | List of dialogue turns, output in sequential order |
| temperatureopt | FLOAT | 1.000–2 | Sampling temperature, e.g., 1 |
| sceneopt | STRING | A dark, crumbling dungeon... | Scene description, e.g., "A quiet, warm room with a fireplace crackling softly." |
| sample_contextopt | STRING | Fantasy RPG style... | Sample context/overall tone, e.g., "Audiobook style narration. Tone is gentle and inviting." |
| timeout_secondsopt | INT | 120030–7200 | — |
| callback_urlopt | STRING | Optional KIE callback URL. Leave empty for normal ComfyUI use. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| audio | AUDIO | — |
| url | STRING | — |
| all_urls_json | STRING | — |
| task_id | STRING | — |
| raw_json | STRING | — |
| credits_consumed | FLOAT | — |
| credits_left | FLOAT | — |