GeminiText to speechAvailable now
gemini-2.5-pro-preview-tts
gemini-2.5-pro-preview-tts is a text to speech tool from Gemini that runs in the background and returns audio. Pay as you go from $0.0000013 per token, with one API key.
Try itfrom $0.0000013 / token
Pricing
Up to $0.42601 per run at the default inputs. $1.30 per 1M text input tokens, $26.00 per 1M audio output tokens. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
contents required | JSON | — | The content of the current conversation with the model. |
generationConfig | JSON | — | Configuration options for model generation and outputs. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "gemini",
"model": "gemini-2.5-pro-preview-tts",
"input": {
"contents": {}
}
}'