Documentation
¶
Overview ¶
Example: WebSocket TTS - Real-time text-to-speech streaming
This example demonstrates streaming text to speech via WebSocket, which is ideal for LLM integration where you want to play audio as the response is being generated.
Usage:
export ELEVENLABS_API_KEY="your-api-key" go run main.go
Click to show internal directories.
Click to hide internal directories.