Gemini 3.1 Flash TTS Preview
Gemini 3.1 Flash TTS Preview for Speech generation.
Explore Gemini 3.1 Flash TTS Preview for Speech generation through the unified API. Supported interfaces and current availability are shown below.
- Speech generation
Model details
- Context window
- 8K tokens
- Max output
- 16K tokens
- Input
- Text
- Output
- Audio
- Capabilities
- —
- Interfaces
- Speech generation
Pricing
Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.
| Metric | Price |
|---|---|
| / 1M input tokens | $1 |
| / 1M output tokens | $20 |
| / 1M audio output tokens | $20 |
Why teams pick it
- Gemini 3.1 Flash TTS Preview for Speech generation.
Call Gemini 3.1 Flash TTS Preview
Gemini 3.1 Flash TTS Preview answers on the API below — pick the one your code already speaks and just swap in your Inferray key.
/v1/audio/speechSpeech generation · openai SDK or plain HTTP
curl https://api.inferray.com/v1/audio/speech \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-tts-preview",
"input": "Hello, welcome."
}' \
--output speech.audioMore from Google
Questions about this model
- Is there a free tier for Gemini 3.1 Flash TTS Preview?
- No. You add credit and pay Gemini 3.1 Flash TTS Preview's list rate for each request — seats, projects, and API keys are free, and pay-as-you-go credit never expires.
- Am I charged for failed requests?
- No. A request that fails without returning a result is not billed. If a response fails part-way, the tokens already processed before the failure are charged.
- Is Gemini 3.1 Flash TTS Preview included in Token Plans?
- No. Gemini 3.1 Flash TTS Preview is pay-as-you-go only; Token Plans cover the other text models in the catalog.
- Does Gemini 3.1 Flash TTS Preview support tool calling and vision?
- Gemini 3.1 Flash TTS Preview takes text in and returns text.
- Is it the real Gemini 3.1 Flash TTS Preview?
- Yes. A request for gemini-3.1-flash-tts-preview is answered by Gemini 3.1 Flash TTS Preview from Google, billed at its published list price. Inferray never substitutes a different or smaller model.