Google's Gemini TTS models can now be called through Vercel's AI Gateway, letting developers generate speech from text using the same API they use for other models. Vercel says the addition includes two models, Gemini 3.8 Flash-Lite TTS and Gemini 3.8 Flash TTS, both of which turn written text into audio in more than 100 languages.
The Flash-Lite version is built for high-volume speech generation, with controls over tone, pacing, and line-by-line delivery, according to Vercel. The standard Flash TTS model adds voice and character design through natural-language prompts, so a developer can describe acting cues, accents, or conversational reactions rather than adjusting technical settings. Both models support long-form narration and two-speaker dialogue, meaning a single request can produce a back-and-forth exchange between two distinct voices.
Developers can test the models directly in playground tools Vercel has set up for each one before writing code. Because the models sit inside AI Gateway, requests are tracked for usage and cost alongside other AI calls, and developers can set routing rules or use their own provider keys. Vercel provides sample code showing speech generation through its AI SDK, with output saved as a standard audio file.
Source: Gemini 3.8 text-to-speech models now available on AI Gateway – Vercel.