Skip to content
AI Learning Ground Start learning

News ·

Gemini 3.8 TTS Playground

Google released two new Gemini text-to-speech models, gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts, with 2,000+ voices and custom voice creation; Simon Willison built a bring-your-own-key playground for them.

Gemini 3.8 TTS Playground
Image: Simon Willison

Google has released two new text-to-speech models: gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts. Both come with a library of over 2,000 voices and can create a custom voice from a 30-second audio sample of a voice the user has the rights to use.

Simon Willison vibe coded a bring-your-own-key playground interface for the models using GPT-6 Astra, relying on the open CORS policy of the underlying Gemini API. The interface supports single-voice narration and multi-speaker conversations, and a notable API feature is the ability to define a full conversation between multiple characters, each with different voices and voice style instructions. As a demo, Claude 4.5 Opus wrote a script for a two-pelican conversation about moving to Pacifica Pier and generated a URL to render it with the tool.

Generating 1 minute 18 seconds of audio with the standard Flash TTS model took about 20 seconds and cost 2.74 cents, a useful data point for developers estimating cost and latency of speech generation in AI applications. The playground lets you preview generated audio and explore requests directly in the browser.

References

Read the full story at Simon Willison ↗Like, save or discuss on Buzz

#tooling #prompting