Gemini 3.1 Flash TTS
Gemini 3.1 Flash TTS text to speech — 70+ languages, 200+ audio tags, billed on input length.
Google's widest-coverage speech model: 70+ languages, 30 named voices, and 200+ inline audio tags for directing delivery and emotion mid-sentence. Returns raw PCM.
No credit card required. Takes 30 seconds.
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Playground coming soon — use the API endpoint directly with your API key.
Pricing
Per character: $0.2005/1K chars
Endpoint
/v1/media/queue
Strengths
The broadest language coverage of any speech model on the platform, by a wide margin.
Direct delivery and emotion mid-sentence with inline tags — the most expressive control surface available here.
A full voice catalogue across the whole language range.
Returns headerless raw PCM rather than MP3, which suits real-time streaming pipelines.
Quick start
Copy this snippet and start making calls with Gemini 3.1 Flash TTS.
// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "google/gemini-3.1-flash-tts",
"prompt": "Let me explain how this works — and I want you to stop me the moment something doesn't make sense.",
"options": {
"voice": "Zephyr"
}
}),
});
const { data } = await res.json();
const jobId = data.jobId;
// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }Why use Gemini 3.1 Flash TTS through YepAPI?
Gemini 3.1 Flash TTS API — 70+ languages from Google
Gemini 3.1 Flash TTS is Google's text-to-speech model and a substantial step up from Gemini 2.5 Flash TTS. It covers more than 70 languages with 30 named voices and supports over 200 inline audio tags for directing delivery and emotion mid-sentence.
It returns raw PCM rather than MP3, which suits real-time streaming but means you wrap it yourself for file playback. Billed at $0.2005 per 1,000 characters on YepAPI.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Google's widest-coverage speech model: 70+ languages, 30 named voices, and 200+ inline audio tags for directing delivery and emotion mid-sentence. Returns raw PCM.
Pricing for Gemini 3.1 Flash TTS through YepAPI is based on usage. No monthly minimums — you only pay for what you use.
Sign up for a free API key, then send requests to the /v1/media/queue endpoint.
Ready to use Gemini 3.1 Flash TTS?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
Gemini 2.5 Flash
GoogleAccess Gemini 2.5 Flash through one API key. Google's fastest model with 1M context.
Gemini 2.5 Pro
GoogleAccess Gemini 2.5 Pro through one API key. Google's most capable model with 1M context.
Gemini 3.5 Flash
GoogleAccess Gemini 3.5 Flash through one API key. Google's latest fast multimodal model.