API docs / Audio models
Gemini 3.8 Flash TTS (Flash TTS) API
Styled single-voice speech or a two-speaker dialogue.
- Model id
google/gemini-3.8-flash-tts- Provider
- Output
- Audio
- Price
- From 1 credits per run, the same as on voor.ai. Options such as length or resolution can change it.
Request
POST https://voor.ai/v1/generations with "model": "google/gemini-3.8-flash-tts". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.
curl https://voor.ai/v1/generations \
-H "Authorization: Bearer $VOOR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-3.8-flash-tts",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light"
},
"callback_url": "https://example.com/webhooks/voor"
}'
# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
-H "Authorization: Bearer $VOOR_API_KEY"Input parameters
| Name | Type | Details |
|---|---|---|
promptrequired | string | The exact words to speak, up to 5,000 characters. Inline <laugh> or <sigh> add vocal events. For a conversation, turn on Two-speaker dialogue and write each line as Name: text, using exactly two names. Up to 5000 characters |
voice | string | Prebuilt voice for a single speaker, or for the first name in a two-speaker dialogue. Default: One of: Achernar, Achird, Algenib, Algieba, Alnilam, Aoede, Autonoe, Callirrhoe, Charon, Despina, Enceladus, Erinome, Fenrir, Gacrux, Iapetus, Kore, Laomedeia, Leda, Orus, Pulcherrima, Puck, Rasalgethi, Sadachbia, Sadaltager, Schedar, Sulafat, Umbriel, Vindemiatrix, Zephyr, Zubenelgenubi |
multi_speaker | boolean | Read Name: text lines as a conversation between exactly two speakers. Default: |
second_voice | string | Voice for the second name in a two-speaker dialogue. Default: One of: Achernar, Achird, Algenib, Algieba, Alnilam, Aoede, Autonoe, Callirrhoe, Charon, Despina, Enceladus, Erinome, Fenrir, Gacrux, Iapetus, Kore, Laomedeia, Leda, Orus, Pulcherrima, Puck, Rasalgethi, Sadachbia, Sadaltager, Schedar, Sulafat, Umbriel, Vindemiatrix, Zephyr, Zubenelgenubi |
style_instructions | string | How the script should be delivered, for example "cheerful and friendly" or "calm museum guide, unhurried". Not spoken aloud. Up to 500 characters |