Gemini 3.8 Flash-Lite TTS
Gemini 3.8 Flash-Lite TTS

Google · Audio Generation
POST /v1/audio/speechCost-efficient speech for voice agents and dubbing, with streaming, vocal tags, and two-speaker dialogue across 101 languages and 2,000+ voices.
At a glance
Pricing
Example request
Parameters
Notes
Limits
- Text: up to 5,000 characters per request
- Audio billing: 32 output tokens per second of generated audio
- 101 languages. The language of the text is detected automatically.
Voices
- The 30 voices in the
voicelist speak every supported language. GET /v1/voices?model=gemini-3-8-flash-lite-ttslists the full library of more than 2,000 voices across 30 locales, with the language, accent, gender, pitch, and a description of each. Filter it withlanguage,gender,pitch, orq. Any id it returns works asvoiceorvoice2; when you also setlanguage, use the voice’s own language.
Custom voices
- Set
voicetocustomand pass two recordings of the same adult speaker as https URLs:voice_audio_url, 10 to 30 seconds of natural speech, andvoice_consent_audio_url, the speaker reading “I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.” The statement is accepted in 30 languages;consent_statementson that parameter lists each wording. - Record both in a quiet room on the same microphone. WAV, MP3, M4A, OGG, WEBM and FLAC are accepted, up to 15 MB each.
- The response includes
voice_idandvoice_id_expires_at. Pass thevoice_idasvoiceorvoice2to reuse the voice for 7 days without new recordings. Anyone with the id can use the voice until it expires, so keep it private.
Delivery direction
- Put direction for the whole passage in
style_promptrather than in the text, for example “warm, unhurried, and reassuring”. - Place vocal tags inline where the sound should happen. Use these English tags even when the text is in another language:
- Capitalize a word to stress it. Wrap a listener reaction in pipes, for example |mm-hmm|, to add it without starting a new turn.
Multi-speaker
- Up to two speakers per request. Start each line with a speaker name and a colon, for example Speaker1: and Speaker2:. The names must match
speaker1_nameandspeaker2_name.
Output
- WAV, MP3, OGG (Opus), ALAW, or MULAW, at 8,000 to 48,000 Hz.
POST /v1/audio/speech:streamsends 16-bit PCM chunks at 24,000 Hz while the audio is generated, then the complete file in the requested format.speedis available onPOST /v1/audio/speechonly.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/gemini-3-8-flash-lite-tts.
