Google AI Studio Text to Speech
Turn a written script into narration or a two-person conversation with Gemini TTS in Google AI Studio. Start in the speech playground, choose a voice, and direct each line before saving your audio.
Based on official Google sources accessed on this date. This is a practical, documentation-led guide, not an audio quality benchmark. The signed-in AI Studio interface was not independently verified.
How to use Google AI Studio TTS
Google's audio playground announcement describes a voice workspace and a two-speaker screenplay editor. Use this workflow; exact controls can vary with the interface available to your account.
- Open the speech playground. Go directly to Google AI Studio Generate Speech and sign in if prompted.
- Choose a TTS model. Start with Gemini 3.8 Flash TTS for expressive narration, or Flash-Lite TTS for everyday speech and lower API output cost. Check the available model selector against the model list below.
- Choose one or two speakers. For narration, use one speaker. For dialogue, assign a voice to each of two speakers and keep each character's lines separate in the screenplay editor.
- Audition a voice. Browse the voice library before committing to a long script. Try a short sentence containing the names and numbers you actually need to pronounce.
- Direct the delivery. Put an instruction such as “calm, friendly, speaking slowly” in the style control for the relevant line, separate from the words to be spoken.
- Generate, listen, then save. Review the result before exporting. If your result offers a download control, save the audio there. We could not verify its current label or availability in the signed-in UI; the official API example below provides a documented way to write a WAV file.
Suggested first test: “Welcome to today's lesson. We will start with one simple example.” Compare two voices using this same text, then change only the delivery style. This makes differences easier to hear.
Which Gemini TTS model should you choose?
The official model directory lists the current 3.8 TTS pair. Google's recommended roles are:
- Gemini 3.8 Flash TTS (
gemini-3.8-flash-tts): creative narration, acting and broader dialect coverage; the model comparison lists 130 languages. - Gemini 3.8 Flash-Lite TTS (
gemini-3.8-flash-lite-tts): high-volume speech and read-aloud features; the model comparison lists 101 languages.
The supported-models table also retains Gemini 3.1 Flash TTS Preview and Gemini 2.5 Pro Preview TTS. Google labels 3.1 a legacy preview and recommends migrating new workloads to 3.8. Do not copy older preview-model request formats into a 3.8 integration.
Voices, languages and delivery controls
Google documents 30 featured prebuilt voices, including Kore (firm), Puck (upbeat) and Sulafat (warm), plus an extended voice library. The voice documentation links to the library in AI Studio.
For Gemini 3.8, keep the transcript separate from sustained delivery instructions: the API uses speech_metadata.style. Text directions pasted into the transcript may be read aloud. Both 3.8 models support voice design, replication and remixing, according to their model pages; these are optional additions to choosing a prebuilt voice.
For a short explainer, begin with a prebuilt voice and one restrained style instruction. Listen for product names, dates and abbreviations before producing the full script. Check your target language against the language table, rather than assuming every model has identical coverage.
Free access, limits and Gemini API pricing
Price checked: 30 November 2026. Google's pricing page includes AI Studio access in its free offering. Both 3.8 TTS models list free-tier input and output, subject to access and quotas. Free does not mean unlimited.
| Model | Through 31 Dec 2026: input / output | From 1 Jan 2027: input / output |
|---|---|---|
| 3.8 Flash TTS | $0.50 / $9.00 | $1.00 / $18.00 |
| 3.8 Flash-Lite TTS | $0.50 / $6.00 | $1.00 / $12.00 |
These are published API rates, not a monthly AI Studio subscription quote. Google lists free-tier content as used to improve its products and paid-tier content as not used for that purpose, subject to its terms. Check applicable taxes and your billing total separately.
Rate limits depend on the model and project tier and apply per project, not per key. Check your account's active limits for RPM, input TPM and RPD. We do not publish a universal daily allowance. Daily request quotas reset at midnight Pacific time.
Generate and save speech with the API
This Python example is reproduced from Google's single-speaker TTS documentation. Follow the official setup guide to obtain an API key, set GEMINI_API_KEY in your environment, and install google-genai 2.25.0 or newer. Keep the key out of website code.
import base64
from google import genai
client = genai.Client(http_options={"api_version": "v1beta"})
interaction = client.interactions.create(
model="gemini-3.8-flash-tts",
input=[{
"type": "user_input",
"content": [{
"type": "text",
"text": "Have a wonderful day!",
"annotations": [{
"type": "speech_metadata",
"style": "cheerful and friendly",
}],
}],
}],
response_format={"type": "audio"},
generation_config={
"speech_config": [
{"voice": "Kore"},
]
},
)
with open("out.wav", "wb") as f:
f.write(base64.b64decode(interaction.output_audio.data))
Gemini 3.8 TTS requires v1beta. Its default unary response is already WAV, so this example writes the decoded bytes directly to out.wav. It has not been executed with a paid API key for this guide.
Strengths, drawbacks and when to use another tool
- Useful for: trying voices in a browser, directing individual lines and moving a scripted narration workflow into the Gemini API.
- Constraints: TTS takes text and returns audio. A single multi-speaker request supports at most two speakers using prebuilt voices. Budget time to listen, revise and assemble longer projects.
- For live conversations: consider Google's Live API, designed for real-time audio and vision interactions, rather than treating a scripted TTS job as an interactive assistant.
- For finished productions: if you need timeline editing, music mixing or a larger cast, evaluate a dedicated audio editor alongside TTS. Compare export workflow and editing effort with your own script; this guide does not claim third-party quality scores or prices.
Frequently asked questions
How do I use Google AI Studio text to speech?
Open the speech playground, choose a TTS model and voice, add your script and set its delivery style. Follow the workflow above and review a short sample first.
Is Google AI Studio TTS free?
Google lists free-tier access for both 3.8 TTS models, with quotas. Check your project's active limits; the paid API rates above are separate from free access.
Is Google AI Studio (Gemini TTS) the same as live speech?
Gemini TTS reads a prepared script. The Live API handles interactive, real-time exchanges. Choose based on whether you need fixed narration or a conversation.
Can Google AI Studio speech use two different voices?
Yes. The speech playground includes a two-speaker screenplay workflow. Assign a voice to each character; start with prebuilt voices for a single two-speaker request.
Can I turn text to voice in another language?
Yes, subject to model coverage. Flash TTS has broader documented coverage than Flash-Lite. Check the language table linked above and audition your actual script.
How do I download the generated audio?
Use the result's download control if available in your interface. Its current UI could not be verified for this guide. The official Python example above saves a generated result as out.wav.
Official sources and verification
All sources below were accessed on . The ai.google.dev documentation links currently redirect to Google's AI Studio documentation. The speech playground requires sign-in; current button labels and account-specific access remain unverified.