Nodes/ComfyUI-KIE-Nodes-Next/Gemini 3.1 Flash Text to speech
ComfyUI Node

Gemini 3.1 Flash Text to speech

Gemini 3.1 Flash Text to speech OpenAPI Specification

By felipederosilva·Created 24 days ago·Updated about 11 hours ago· 0
Gemini 3.1 Flash 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)

    NameTypeDefaultDescription
    speakersSTRING[ { "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_turnsSTRING[ { "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
    temperatureoptFLOAT1.000–2Sampling temperature, e.g., 1
    sceneoptSTRINGA dark, crumbling dungeon...Scene description, e.g., "A quiet, warm room with a fireplace crackling softly."
    sample_contextoptSTRINGFantasy RPG style...Sample context/overall tone, e.g., "Audiobook style narration. Tone is gentle and inviting."
    timeout_secondsoptINT120030–7200—
    callback_urloptSTRINGOptional KIE callback URL. Leave empty for normal ComfyUI use.

    Outputs (7)

    NameTypeDescription
    audioAUDIO—
    urlSTRING—
    all_urls_jsonSTRING—
    task_idSTRING—
    raw_jsonSTRING—
    credits_consumedFLOAT—
    credits_leftFLOAT—