Batch TTS
Text to Speech — Batch
Convert text to audio via HTTP POST. Receive a complete audio file in a single response.
How it works
Batch synthesis sends text to POST /v1/audio/speech and waits for the complete audio result.
| Property | Value |
|---|---|
| Transport | HTTP POST |
| Endpoint | https://tts.shunyalabs.ai/v1/audio/speech |
| Auth | Authorization: Bearer <API_KEY> |
| Required fields | model, voice, input |
| Default format | mp3 |
When to use batch
- Pre-rendered voice prompts for IVR and telephony systems
- Notification audio — order updates, alerts, reminders
- Podcast, audiobook, and long-form content generation
- Any use case where real-time latency is not critical