All posts

Gemini 3.8 Flash TTS: Design Your Agent's Voice in Plain Language

Google shipped two TTS models on September 23, and the one that matters to builders isn't just the quality jump. It's the Voice Design API: describe a…

Close-up of a studio condenser microphone with electric blue backlight

Google shipped two TTS models on September 23, and the one that matters to builders isn't just the quality jump. It's the Voice Design API: describe a character's role, accent, and vocal traits in plain language, and the model generates a custom voice you can store by ID and reuse across every call. That's a different mental model for voice agents than "pick voice #14 from a dropdown."

Here's what changed and what you need to watch out for.

Flash TTS vs Flash-Lite TTS: Make This Call First

Two models launched simultaneously:

  • gemini-3.8-flash-tts: the full-quality option, aimed at creative direction and voice agents where expressiveness matters.
  • gemini-3.8-flash-lite-tts: the cheaper, faster variant, positioned for high-volume dubbing and cost-sensitive pipelines. It's also the direct replacement for gemini-3.1-flash-tts-preview, so if you're on the preview, this is your migration target.

The split is sensible. Most production voice agent pipelines don't need the expressive headroom of the full model on every utterance. Routing short confirmations and menu responses through Flash-Lite while reserving Flash TTS for the turns that carry emotional weight is the obvious play. Pricing sits at $0.50 per million input tokens and $9 per million output tokens per OpenRouter, though I'd check the current Gemini API pricing page before building cost models on those numbers.

Voice Design: What Prompt-Based Voice Actually Means

The core idea: you write a text description of the character ("a calm, mid-40s Australian woman with a slight hoarseness, warm but efficient"), the model generates a matching voice, and you save it by ID for reuse. The same voice ID travels across 100+ languages and dialects without needing a separate design per locale. Google now lists more than 2,000 ready-made voices alongside the design path, so teams that want a safe, tested default can still grab one off the shelf.

The practical upside is iteration speed. Auditioning pre-built voices is tedious. Describing a persona in plain language and iterating on the description is faster, especially when you have a specific brand voice or character to hit. I haven't tested this at scale in a multilingual context, and the cross-lingual consistency claim is the one I'd want to validate before betting on it in production.

Voice Replication: The Consent Gate Is Real

Cloning a voice requires a 30-second reference recording and a separate consent recording where the speaker reads a specific script word-for-word. The system checks that both recordings come from the same person before creating the voice. This is not optional and not bypassable.

Every generated clip carries a SynthID watermark. Replicated voices also get C2PA content credentials. Both are worth knowing if your downstream use case has disclosure requirements.

Technical requirements from the docs: 24kHz mono audio, same microphone and same room for both recordings. If you're building a consent flow for end users, the recording environment guidance needs to be visible in your onboarding UI. A noisy phone recording will either fail the cross-check or produce a poor clone. The feature is genuinely useful for legitimate production use cases (a company spokesperson voice for automated announcements, for example), but the setup friction is real. Plan for it.

API Gotchas You Will Hit

Three things worth knowing before you start building:

Prompt drift. The prior preview model accepted long "Audio Profile" prompt strings on each request. With gemini-3.8-flash-tts, that approach causes the voice character to drift across a conversation. The correct pattern is: design the persona once using the Voices API, store the voice ID, then pass a short or empty style string on each TTS call. If you're migrating from the preview and passing detailed style prompts per turn, fix this first.

WAV headers. Non-streaming responses now return real WAV files, headers included. If your pipeline strips or adds its own WAV headers based on the assumption that the model returns raw PCM, you'll get corrupted audio. Check your existing audio-handling code before assuming compatibility.

Voice expiry. One source reports that a storage retention setting controls how long a designed voice stays active, and choosing the wrong option can let a voice ID expire within a week. I haven't confirmed this against Google's official docs, but it's worth checking before you hard-code a voice ID in production and wonder why your agent sounds wrong six days later.

Where This Fits in the Stack

Google has integrated the model with Agora, LiveKit, Pipecat, and Vercel's AI Gateway, so if your voice pipeline already touches any of those platforms, the path in is clear. On Hume's Voice Design Benchmark, Google claims the top spot. On the replication similarity leaderboard, Fish Audio's s2-pro ranked higher as of September 10, so the right benchmark to care about depends on your use case.

The more important shift is the framing. Voice for agents is no longer a selection problem, it's a design problem. You describe the persona, not the waveform. That opens up product decisions that didn't exist when you were picking from a finite list, and it changes what "brand voice" means for AI products in a concrete way.

The Voice Design API is what I'd prototype first. If the cross-lingual consistency holds up in practice, it removes a real bottleneck in multilingual agent work.