WebSocket Playgrounds
Text-to-Speech
Convert text to streaming audio via WebSocket
WSS
Connect to the WebSocket and send TTS requests to convert text into streaming audio.
Quick Start
- Enter your API key in the authentication field
- Click Connect to establish the WebSocket connection
- Modify the request payload with your text
- Click Send to receive streaming audio
Request Message
After connecting, send a JSON message with the following structure:Must be
"tts"TTS Request
Response Sequence
The server responds with:1. Acknowledgment
2. Binary Audio Chunks
3. Stream End
Dialects and Voice Examples
Pick aspeaker that matches your chosen dialect. Voice examples per dialect: