Built for voice agents that can't wait 600ms

Google Gemini: Gemini 2.5 Flash Preview TTS

gemini/gemini-2-5-flash-tts
active tts 1 provider
Playground

Google Gemini 2.5 Flash text-to-speech (preview): fast, low-latency, cost-efficient high-fidelity speech synthesis with 30 prebuilt voices and prompt-based style control.

AuthorGoogle Gemini
Languages78 languages
VoicesLoading...
Response formatsPCM
Statusactive

Providers

Different providers can host the same model. Choose one provider when you need a fixed backend, or let routing select among them.

ProviderSlugPer 1k charactersLatencyiFor TTS, latency is measured as time to first byte of audio. For STT, latency is measured as time to first token.ModesUptime
Google Gemini 3 params
gemini
$0.04202
—
Synchronous

Supported languages

78 languages
Afrikaans af
Albanian sq
Amharic am
Arabic ar
Armenian hy
Azerbaijani az
Bangla bn
Basque eu
Belarusian be
Bulgarian bg
Burmese my
Catalan ca
Cebuano ceb
Chinese (Mandarin) cmn
Croatian hr
Czech cs
Danish da
Dutch nl
English en
Estonian et
Filipino fil
Finnish fi
French fr
Galician gl
Georgian ka
German de
Greek el
Gujarati gu
Haitian Creole ht
Hebrew he
Hindi hi
Hungarian hu
Icelandic is
Indonesian id
Italian it
Japanese ja
Javanese jv
Kannada kn
Konkani kok
Korean ko
Lao lo
Latin la
Latvian lv
Lithuanian lt
Luxembourgish lb
Macedonian mk
Maithili mai
Malagasy mg
Malay ms
Malayalam ml
Marathi mr
Mongolian mn
Nepali ne
Norwegian (Bokmål) nb
Norwegian (Nynorsk) nn
Odia or
Pashto ps
Persian fa
Polish pl
Portuguese pt
Punjabi pa
Romanian ro
Russian ru
Serbian sr
Sindhi sd
Sinhala si
Slovak sk
Slovenian sl
Spanish es
Swahili sw
Swedish sv
Tamil ta
Telugu te
Thai th
Turkish tr
Ukrainian uk
Urdu ur
Vietnamese vi

Voices

Features

Text to speech

Generates spoken audio from text via generateContent (responseModalities AUDIO).

text_to_speech
Synchronous

Synthesizes speech from fully-submitted text in a single synchronous request.

synchronous
Multilingual

Supports 78 documented languages; the model auto-detects the input language (voices are language-agnostic).

multilingual
Multi-speaker

Supports multi-speaker audio (up to 2 speakers).

multi_speaker
Style control

Style, tone, accent, and pace controllable via natural-language prompts.

style_control

Code

Client
Mode
Language

ElevenLabs SDK streaming TTS

Routes the ElevenLabs SDK through allmodels and streams the audio response.

import { ElevenLabsClient } from "elevenlabs";

const client = new ElevenLabsClient({
  apiKey: process.env.ALLMODELS_API_KEY,
  baseUrl: "https://api.allmodels.io/el"
});

const stream = await client.textToSpeech.stream("voice_id", {
  text: "I'm sorry, Dave. I'm afraid I can't do that.",
  modelId: "gemini/gemini-2-5-flash-tts",
  outputFormat: "mp3_44100_128"
}, {
  queryParams: {
    provider: {
      "only": [
        "gemini"
      ]
    }
  }
});

const reader = stream.getReader();
for (;;) {
  const { done, value } = await reader.read();
  if (done) break;
  // Write value to your response, file, or audio playback pipeline.
}