Gemini 3.8 Flash TTS Text to Speech API

google/gemini-3.8-flash/text-to-speech

Gemini 3.8 Flash TTS Text to Speech turns scripts and two-speaker dialogues into WAV speech across 130 languages with 30 preset voices. Give the whole request and each line its own style instructions, so delivery follows your direction while the transcript is read as written.

Input

266 billable characters

Examples

Mandarin museum audio guide

Mandarin museum audio guide — A Mandarin guide script; the language is detected from the text.

Gemini 3.8 Flash TTS Text to Speech

Gemini 3.8 Flash TTS Text to Speech is a Google model from September 2026 that Google describes as its flagship creative speech tier, aimed at voice fidelity, acting nuance and dialect coverage. It detects the language of each script across 130 languages and voices it with one of 30 presets, or performs a two-speaker conversation turn by turn. Style instructions carry tone, pace and setting, which suits audiobooks, podcasts and narrated video.

Why choose Gemini 3.8 Flash TTS?

  • Two voices in one requestSend two speakers and a list of turns to produce a podcast segment or interview as a single audio file.

  • Direction kept apart from the transcriptGlobal and per-turn style instructions set tone and pace, while the text itself is read exactly as written.

  • 130 languages detected automaticallyWrite the script in the target language; no language code is needed.

  • 30 preset voicesChoose voices such as Kore, Puck, Charon or Aoede for narrators and characters.

Speech parameters

ParameterRequirementWhat it controls
textSingle speaker

Single speaker: the script to speak. Write the words as they should be heard; place acting directions in Style Instructions.

voiceOptional

Single speaker: one of the 30 preset voices. Default Kore.

DefaultKoreAchernarAchirdAlgenibAlgiebaAlnilamAoedeAutonoeCallirrhoeCharonDespinaEnceladusErinomeFenrirGacruxIapetusLaomedeiaLedaOrusPulcherrimaPuckRasalgethiSadachbiaSadaltagerSchedarSulafatUmbrielVindemiatrixZephyrZubenelgenubi
speakersDialogue

Dialogue: exactly two speakers, each with a unique speaker_id and one of the 30 preset voices.

speakers[].speaker_idPer item

A unique, non-empty name for the speaker, such as Host.

speakers[].voicePer item

The speaker's preset voice.

AchernarAchirdAlgenibAlgiebaAlnilamAoedeAutonoeCallirrhoeCharonDespinaEnceladusErinomeFenrirGacruxIapetusKoreLaomedeiaLedaOrusPulcherrimaPuckRasalgethiSadachbiaSadaltagerSchedarSulafatUmbrielVindemiatrixZephyrZubenelgenubi
turnsDialogue

Dialogue: the lines in order. Each turn names a speaker_id from Speakers, its text, and optional style_instructions for that line.

turns[].speaker_idPer item

The speaker_id of the speaker who says this line.

turns[].textPer item

The words of this line, not blank.

turns[].style_instructionsOptional

Optional direction for this line only.

style_instructionsOptional

Optional delivery direction for the whole request, such as tone, pace or setting. Its characters count toward billing.

enable_safety_checkerOptional

Runs the upstream safety checker on the request. Default true.

Defaulttruefalse

Create speech in four steps

  1. Choose the request formSelect Single speaker for one voice, or Dialogue for two speakers and their turns.

  2. Write text or turnsEnter the transcript as it should be heard. For dialogue, assign each turn to a speaker.

  3. Add style instructionsDescribe tone, pace or setting for the whole request, and add a short direction to individual turns if needed.

  4. Run and download WAVCheck the cost on the Run button, select Run and download the WAV file when the task finishes.

Character-based pricing

Gemini 3.8 Flash TTS Text to Speech costs $0.045, or 9 credits, per 1,000 billable characters. Billable characters are Text plus Style Instructions, and in dialogue every turn's text and style instructions; speaker IDs are not counted.

Text lengthCostCalculation
500 characters$0.0225 · 4.5 credits500 × 9 / 1000 = 4.5 credits
1,000 characters$0.045 · 9 credits1000 × 9 / 1000 = 9 credits
10,000 characters$0.45 · 90 credits10000 × 9 / 1000 = 90 credits

Where it fits

  • Two-host podcast segmentsScript a conversation between two hosts and render it as one WAV file.

  • Audiobook narrationUse a single narrator voice with a measured style direction for chapter openings and long passages.

  • Multilingual course voiceoversNarrate lessons in any of 130 languages with the language detected from the text.

  • Directed product videosDescribe the mood once in style instructions and keep it consistent across scenes.

Pro tips

  • Keep acting directions in Style Instructions; Google notes that Gemini 3.8 TTS reads the transcript literally.
  • Give dialogue speakers short, distinct IDs such as Host and Guest, and match each turn to one of them.
  • Use a per-turn style instruction only where a line needs a different emotion from the global direction.
  • Pick contrasting voices for two speakers, for example Kore with Puck, so listeners can follow who is talking.
  • Move a script to Gemini 3.8 Flash Lite TTS for high-volume runs by changing only model.

Before you publish

  • Audio is returned as a WAV file. Convert it in your audio tool if your player needs MP3 or Opus.
  • Google sets an input limit of 8,192 tokens for this model; split very long scripts into several requests.

Gemini 3.8 Flash TTS Text to Speech API frequently asked questions

What is the Gemini 3.8 Flash TTS Text to Speech API?

Gemini 3.8 Flash TTS Text to Speech is a Google model for generating natural speech from text. It produces single-voice narration or two-speaker dialogue in 130 languages with 30 preset voices and style instructions for tone and pace. Google built the 3.8 Flash tier for voice fidelity and acting nuance, and it reads the transcript as written while following your direction. You can call it programmatically or try it from the playground above.

How do I create a two-speaker dialogue with Gemini 3.8 Flash TTS?

Choose Dialogue and send exactly two speakers, each with a speaker_id and a preset voice, plus a turns list. Every turn names one speaker_id, its text and an optional style_instructions. Top-level text and voice are left out in this form.

Where should acting directions go in Gemini 3.8 Flash TTS?

Put them in style_instructions, either for the whole request or for a single turn. Google notes that Gemini 3.8 TTS reads the transcript literally, so directions written inside the text may be spoken aloud.

Which voices does Gemini 3.8 Flash TTS offer?

There are 30 presets: Achernar, Achird, Algenib, Algieba, Alnilam, Aoede, Autonoe, Callirrhoe, Charon, Despina, Enceladus, Erinome, Fenrir, Gacrux, Iapetus, Kore, Laomedeia, Leda, Orus, Pulcherrima, Puck, Rasalgethi, Sadachbia, Sadaltager, Schedar, Sulafat, Umbriel, Vindemiatrix, Zephyr, Zubenelgenubi. Kore is the default for a single speaker.

How does Gemini 3.8 Flash TTS handle languages?

Gemini 3.8 Flash TTS detects the language from the transcript across 130 languages. Write each script in its target language; there is no separate language setting.

Should I choose Gemini 3.8 Flash TTS or Gemini 3.8 Flash Lite TTS?

Choose Gemini 3.8 Flash TTS when acting nuance, dialects and complex dialogue matter most; Google positions it as the flagship creative tier with 130 languages. Gemini 3.8 Flash Lite TTS covers 101 languages at 6 credits per 1,000 characters for high-volume work. Both accept the same fields.

What audio format does Gemini 3.8 Flash TTS return?

Each finished task returns a WAV file in files. Convert it to MP3 or Opus in your audio tool if your player or platform needs a compressed format.

How are Gemini 3.8 Flash TTS characters counted for billing?

Billing counts Text, Style Instructions, and in dialogue every turn's text and style instructions, at 9 credits ($0.045) per 1,000 characters. Speaker IDs are not counted.