liveavatar.Avatar() to the agent’s avatar parameter to stream synchronized video and audio into the call.
Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.
Get a LiveAvatar API key and avatar ID from the LiveAvatar dashboard.
Installation
Quick Start
Parameters
How It Works
LiveAvatar runs in LITE mode with the custom-agent integration path:- Your agent’s TTS (or Realtime LLM) audio is streamed to LiveAvatar over WebSocket
- LiveAvatar generates lip-synced avatar video and audio
- Synchronized A/V is published to call participants via Stream Edge
- LLM generates text → TTS converts to audio → Audio sent to LiveAvatar → LiveAvatar returns synchronized avatar video and audio
- Realtime LLM generates audio → Audio sent to LiveAvatar → LiveAvatar returns synchronized avatar video and audio
Next Steps
Build a Voice Agent
Get started with voice
Build a Video Agent
Add video processing
Build Your Own Avatar
Subclass the
Avatar base class