Skip to content
GoogleText to speechgemini-2.5-flash-preview-tts

Gemini 2.5 Flash Preview TTS

Gemini 2.5 Flash Preview TTS for Speech generation.

Explore Gemini 2.5 Flash Preview TTS 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.

Gemini 2.5 Flash Preview TTS pricing.
MetricPrice
/ 1M input tokens$0.5
/ 1M output tokens$10
/ 1M audio output tokens$10

Why teams pick it

  • Gemini 2.5 Flash Preview TTS for Speech generation.

Call Gemini 2.5 Flash Preview TTS

Gemini 2.5 Flash Preview TTS 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-2.5-flash-preview-tts",
  "input": "Hello, welcome."
}' \
  --output speech.audio

More from Google

Questions about this model

Is there a free tier for Gemini 2.5 Flash Preview TTS?
No. You add credit and pay Gemini 2.5 Flash Preview TTS'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 2.5 Flash Preview TTS included in Token Plans?
No. Gemini 2.5 Flash Preview TTS is pay-as-you-go only; Token Plans cover the other text models in the catalog.
Does Gemini 2.5 Flash Preview TTS support tool calling and vision?
Gemini 2.5 Flash Preview TTS takes text in and returns text.
Is it the real Gemini 2.5 Flash Preview TTS?
Yes. A request for gemini-2.5-flash-preview-tts is answered by Gemini 2.5 Flash Preview TTS from Google, billed at its published list price. Inferray never substitutes a different or smaller model.