Gemini 3.8 Flash TTS
Gemini 3.8 Flash TTS is Google’s text-to-speech model for expressive voice generation and custom character design across more than 100 languages. It creates original voices from natural language prompts and offers granular control over acting cues, pacing, accents, and conversational reactions. Long-form audio and native two-speaker dialogue make it well suited to immersive audiobooks, games, podcasts, and interactive media Your use is subject to Google's Terms & Privacy Policies.
- Input and output price50% off
- Input $0.50, Output $9, Per 1M tokens
// Requires ai@7 and @ai-sdk/gateway@4.import { experimental_generateSpeech as generateSpeech } from 'ai';import { gateway } from '@ai-sdk/gateway';import { writeFile } from 'node:fs/promises';
const result = await generateSpeech({ model: gateway.speechModel('google/gemini-3.8-flash-tts'), text: 'Hello from the Vercel AI Gateway!', voice: 'Kore', outputFormat: 'wav',});
await writeFile('speech.wav', result.audio.uint8Array);Copy link to headingPlayground
Try out Gemini 3.8 Flash TTS by Google. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Your generated audio will appear here
Copy link to headingProviders
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|