ReplicateText to speechComing soon
google/gemini-3.1-flash-tts
google/gemini-3.1-flash-tts is a text to speech tool from Replicate that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
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 |
|---|---|---|---|
text required | text | — | The text to convert to speech. Supports markup tags like " "[sigh], [laughing], [whispering], [shouting], [extremely fast] for " "expressive delivery. Maximum 4,000 bytes. |
voice | JSON | Kore | Voice to use for speech generation |
prompt | text | Say the following. | Style instructions to control how the text is spoken. " "Use natural language to describe the desired tone, pace, accent, " 'and emotion. For example: "Say this in a calm, professional tone" ' 'or "Speak with excitement and energy". Maximum 4,000 bytes. |
language_code | JSON | en-US | Language for the speech output |
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": "replicate",
"model": "google/gemini-3.1-flash-tts",
"input": {
"text": "<text>"
}
}'