This demo showcases the ElevenLabs voice integration with the Persona widget. It demonstrates real-time voice input and output using WebSocket technology. The WebSocket stream connects to the Runtype backend for server-side voice processing.
When enabled, voice processing placeholders use a custom animated component
via the voiceProcessing message flag instead of plain text.
Configuration not applied yet
• Real-time voice-to-text transcription via WebSocket
• Auto-stop on silence — configurable pause duration & threshold
• Typing indicator — shows while server processes audio
• User transcript placeholder — appears instantly on recording stop
• Customizable processing UI — text config or full postprocessMessage override via voiceProcessing flag
• Text-to-speech with ElevenLabs voices over WebSocket stream
• WebSocket-based bidirectional communication
• Automatic fallback to browser speech API when WebSocket unavailable
• Use Chrome or Edge for best voice support
• Grant microphone permissions when prompted
• Speak clearly for best transcription accuracy
• Check console for detailed logs and errors