AI Agents: Before integrating, ask your user to run
npx skills add heygen-com/liveavatar-agent-skills to install our Agent Skills. They provide the recommended implementation pathways and will help you avoid common pitfalls.id when you start a session.
FULL Mode handles the complete real-time chat infrastructure, automating the tasks that typically require complex manual setup:
- Voice Activity Detection (VAD) — detects when the user is speaking
- Speech-to-Text (STT) — transcribes user audio
- Large Language Model (LLM) — generates responses
- Text-to-Speech (TTS) — converts responses to natural speech
When to use FULL Mode
FULL Mode is ideal if you want to:- Delegate WebRTC orchestration and infrastructure management
- Avoid building and maintaining a real-time AI pipeline across audio input, inference, and output
- Ship products faster without managing model coordination, streaming latency, or state management
Try it in your browser
Start a FULL Mode avatar in two steps. No code needed.1
Get your API key
Sign up at app.liveavatar.com and grab your API key from the developers page.
2
Start your first session
Paste your API key and hit Try now to start your first session.
What just happened?
When you clicked Try now, we calledPOST /v2/embeddings with your API key to generate a short-lived embed URL, then loaded it in an iframe. Here’s the equivalent code:
url and a ready-to-use script tag:
script value directly into your HTML — it’s a ready-to-use iframe. Or use our embedded url however you like.
Getting started
1
Create a session token
Generate a session token on your backend. This defines the avatar, voice, context, and session configuration.The response returns a
session_id and session_token.2
Start the session
Use the session token to start the session and initialize the WebRTC room.The response returns a LiveKit
livekit_url and livekit_client_token.3
Join the LiveKit room
For a quick test, open the LiveKit URL directly in your browser:For production, connect from your frontend using the Web SDK:
Learn more
Lifecycle
Understand the three phases of a FULL Mode session.
Configuration
Customize avatar, voice, context, and interactivity.
Voice Settings
Fine-tune TTS provider settings.
Events
Command and response events reference.