GeminiAudioAvailable now

gemini-2.5-pro-preview-tts

gemini-2.5-pro-preview-tts is an audio tool from Gemini that runs in the background and returns audio. Pay as you go, with one API key.

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
500 MB
Largest output
5 GB
Outputs per run
16

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