Installation
Quick Start
Pre-connecting for Low Latency
For latency-sensitive applications, pre-establish the WebSocket connection at startup to keep the handshake out of your first TTS request — see Latency.Async Applications (Recommended)
Sync Applications
For synchronous code, manually callconnect() at startup:
Complete Example
Next steps
- Configuration — client options, lifecycle, region selection
- Generate Speech — one-shot generation, parameters, word timestamps
- Streaming — streaming sessions, barge-in, multi-context sessions
- Text Normalization — languages and spell tags
- Voices — list, create, and manage voices
- Dictionaries — per-project pronunciation lists
- Types & Errors — exceptions, data models, enums