/v1/audio/speech

Compare 2 audio generation models in the Gemini 2.5 TTS family, then call the one that fits your latency, quality, and pricing needs.
Gemini 2.5 TTS on EmpirioLabs brings together 2 audio generation model APIs from Google, including Gemini 2.5 Flash TTS, Gemini 2.5 Pro TTS. Each model keeps its own dedicated page with live pricing, parameters, docs, and playground access.
Use the same EmpirioLabs API key and endpoint pattern across the family, then switch behavior by changing the model id in your request.
Compare the family at a glance, then open a model page for the complete live rate card and parameters.
/v1/audio/speech/v1/audio/speechGemini 2.5 Flash TTS serves speech through POST /v1/audio/speech and returns playable audio. Send the text to speak as input with the model id gemini-2-5-flash-tts. For this family, swap the model value for any supported id: gemini-2-5-flash-tts gemini-2-5-pro-tts. Get an API key from the EmpirioLabs dashboard.
curl https://api.empiriolabs.ai/v1/audio/speech \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2-5-flash-tts",
"input": "Welcome to EmpirioLabs. Your build just finished."
}' \
--output speech.mp3Gemini 2.5 TTS on EmpirioLabs is a family of 2 Audio Generation model APIs from Google: Gemini 2.5 Flash TTS, Gemini 2.5 Pro TTS. You use one EmpirioLabs API key and choose the model id that fits the request.
Start with the model whose dedicated page matches your speed, quality, and pricing needs, then test it in the EmpirioLabs playground. The comparison cards above link to each model's live rate card and quickstart.
Yes. The family is designed around the same EmpirioLabs API pattern, so most integrations switch by changing the model value. Check the model page before shipping if you rely on a model-specific parameter.
Pricing is pay as you go. The cards on this page show a short live-catalog summary, and each model page shows the complete rate card that matches API billing.
Yes. Open any model page in this family and use its playground link to test prompts and parameters in the browser before integrating the API.
Check out our pricing or reach out if you want your own model deployed on our stack.