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

Gemini 2.5 Pro Preview TTS

Gemini 2.5 Pro Preview TTS for Speech generation.

Explore Gemini 2.5 Pro 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 Pro Preview TTS pricing.
MetricPrice
/ 1M input tokens$1
/ 1M output tokens$20
/ 1M audio output tokens$20

Why teams pick it

  • Gemini 2.5 Pro Preview TTS for Speech generation.

Call Gemini 2.5 Pro Preview TTS

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

More from Google