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 Cloakray key.

/v1/audio/speechSpeech generation · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/audio/speech \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-2.5-flash-preview-tts",
  "input": "Hello, welcome."
}' \
  --output speech.audio

More from Google