Spiral gives your agent every tool with one account. Browse the tools →

GeminiAudioAvailable nowReleased 2025-05-20

Gemini 2.5 Pro Preview TTS

gemini-2.5-pro-preview-tts

Generate speech, music and audio with Gemini 2.5 Pro Preview TTS through one Spiral API key. Turns text into speech with Gemini 2.5 Pro, the higher quality tier, using preset voices and multi-speaker dialogue. It runs in the background and returns audio. Pay as you go, with no subscription.

Run time p50 · last 24 hours
25.1s
Success rate · last 24 hours
99.7%

Pricing

Input text: $1.30 per 1M tokens. Output speech: $26.00 per 1M audio tokens.

Limits

Runs
In the background
Returns
audio
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
255 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
contents requiredJSON—

The content of the current conversation with the model.

generationConfigJSON—

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": [
        {}
      ]
    }
  }'

Frequently asked questions

How much does Gemini 2.5 Pro Preview TTS cost?

Input text: $1.30 per 1M tokens. Output speech: $26.00 per 1M audio tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Gemini 2.5 Pro Preview TTS through an API?

Send `POST /v1/runs` with `"provider": "gemini"`, `"model": "gemini-2.5-pro-preview-tts"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Gemini to use Gemini 2.5 Pro Preview TTS?

No. Spiral runs it on its own Gemini account and charges your Spiral balance.

Can my AI agent use Gemini 2.5 Pro Preview TTS?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.