WebSocket Streaming Demo
Connecting to WebSocket server...
Generate Speech
About WebSocket streaming
This demo shows real-time audio streaming over WebSockets. You receive chunks as they are generated instead of waiting for the full file, which feels more responsive.
- Lower perceived latency: playback can start before generation finishes
- Progress tracking: live updates while chunks are produced
- Cancellable: stop mid-stream when needed
- Efficient: chunks are sent as soon as they are ready