LiveAvatar generates avatar video in real time as audio arrives — there is no batch processing or queuing delay on the LiveAvatar side.
Plugin path — end-to-end latency depends on your pipeline (STT, LLM, TTS, and network). LiveAvatar adds minimal overhead on top of your existing stack.
Connector path — LiveAvatar manages the full connection to your voice agent and optimizes latency on your behalf.
Audio you send is grouped into utterances. Each utterance is identified by the event_id of its first agent.speak chunk, and every server event about that utterance carries the same id as source_event_id. See Events for the full envelope and event list.
Clean up your WebSocket resources and LiveKit data after the session ends.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"LiveAvatar Documentation","colors":{"primary":"#03C3FF","light":"#00C3FF","dark":"#03C3FF"},"logo":{"light":"https://mintcdn.com/liveavatar/-mzFj8B1N4dV9fE4/logo/LiveAvatar_logo_dark.svg?fit=max\u0026auto=format\u0026n=-mzFj8B1N4dV9fE4\u0026q=85\u0026s=c3a7619f3be91473e416fba6b8a2208d","dark":"https://mintcdn.com/liveavatar/-mzFj8B1N4dV9fE4/logo/LiveAvatar_logo_white.svg?fit=max\u0026auto=format\u0026n=-mzFj8B1N4dV9fE4\u0026q=85\u0026s=a5efa3f62de210a0ec83b808e469e9f4"},"favicon":"https://mintcdn.com/liveavatar/-mzFj8B1N4dV9fE4/la_favicon.svg?fit=max\u0026auto=format\u0026n=-mzFj8B1N4dV9fE4\u0026q=85\u0026s=2d4c391988f97cea6dad6a46f8fa2bc2","navbar":{"links":[{"href":"https://status.heygen.com","label":"Status"},{"href":"mailto:support@liveavatar.com","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"https://app.liveavatar.com/"}},"footer":{"socials":{"x":"https://x.com/TryLiveAvatar","discord":"https://discord.gg/Je4mCXmccS"}},"seo":{"metatags":{"robots":"index, follow"}},"fonts":{"heading":{"family":"ABC Solar Display","source":"fonts/ABCSolarDisplay-Bold.woff2","format":"woff2"},"body":{"family":"ABC Solar","source":"fonts/ABCSolar-Regular.woff2","format":"woff2"}},"integrations":{"posthog":{"apiKey":"phc_QHpMlabRFFIpHgDUw6cLCU137Gur1PvNyz0frK5YU6L","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","grok"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"liveavatar","hasAudioNarration":false,"actualSubdomain":"liveavatar","customDomains":["docs.liveavatar.com"],"gitSource":{"type":"github","owner":"heygen-com","repo":"api-docs","deployBranch":"master","contentDirectory":"liveavatar-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adbdde39b20a60cb2ee73c3","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":45},{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"Avatar Only (LITE mode)","count":13},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"FULL Mode","count":9},{"language":"default","tag":"Sessions","count":8},{"language":"default","tag":"Core Concepts","count":7},{"language":"default","tag":"Voice Agents","count":6},{"language":"default","tag":"Configuration","count":6},{"language":"default","tag":"Avatar","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:40px!important;width:auto!important}.navbar-link a{font-weight:600!important;font-size:14px!important;border:1px solid #FFFFFF!important;border-radius:12px!important;padding:4px 10px!important;background:transparent!important}.navbar-link a:hover{text-decoration:none!important;background:transparent!important;color:inherit!important}#topbar-cta-button,#topbar-cta-button a{font-weight:600!important;font-size:14px!important;border-radius:12px!important;font-family:inherit!important}"}],"page":{"pagePath":"docs/lite-mode/lifecycle","slug":"/docs/lite-mode/lifecycle","pageMetadata":{"title":"Lifecycle","description":"The three phases of an Avatar Only LiveAvatar session","href":"/docs/lite-mode/lifecycle"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The three phases of an Avatar Only LiveAvatar session\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Mermaid,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every session in this mode follows three phases: `,_jsx(_components.strong,{children:`starting`}),`, `,_jsx(_components.strong,{children:`managing`}),`, and `,_jsx(_components.strong,{children:`ending`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-starting-a-session`,children:`1. Starting a Session`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Generate a session token configured for this mode on your backend`}),`\n`,_jsx(_components.li,{children:`Start the session using that token`}),`\n`,_jsx(_components.li,{children:`The avatar streams into the specified WebRTC room after initialization`}),`\n`]}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant User as End User\n participant Frontend as Developer Frontend\n participant Agent as Developer API / Agent\n participant Room as Session Room\n participant API as LiveAvatar API\n\n User->>Frontend: User visits site\n Frontend->>Agent: Start Session Flow\n Agent->>API: POST /v1/sessions/token\n API-->>Agent: Session scoped token\n Agent->>API: POST /v1/sessions/start\n API-->>Agent: Session Details\n Note right of API: LiveAvatar sends the\u003cbr/>Avatar to Room\n Agent->>Room: Establish agent connection\n Frontend->>Room: Establish user connection\n Room-->>Frontend: Conversation Start\n Frontend-->>User: User sees Avatar conversation`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Your backend should manage both token generation and session start. Pass the WebRTC credentials to your frontend.`})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Ensure the session token is explicitly set to `,_jsx(_components.code,{children:`\"LITE\"`}),` mode. The token configuration determines which mode initializes.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`2-managing-the-session`,children:`2. Managing the Session`}),`\n`,_jsx(_components.p,{children:`This mode provides a WebSocket connection for controlling the avatar. The typical flow:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`User speaks`}),` — audio is sent to the room`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your agent processes`}),` — your STT/LLM/TTS pipeline handles the input`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Agent constructs response audio`}),` — your TTS generates the speech`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Agent streams audio via WebSocket`}),` — send audio chunks to LiveAvatar`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`LiveAvatar renders video`}),` — avatar video frames are sent to the room`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Your “agent” can be anything from a simple backend service to a complex multi-model pipeline.`}),`\n`,_jsx(Heading,{level:`3`,id:`audio-format`,children:`Audio format`}),`\n`,_jsxs(_components.p,{children:[`Audio sent to LiveAvatar must be `,_jsx(_components.strong,{children:`PCM 16-bit 24 kHz`}),`, Base64-encoded. Recommended chunk size is ~1 second, with a maximum of 1MB per WebSocket packet.`]}),`\n`,_jsx(Heading,{level:`3`,id:`latency`,children:`Latency`}),`\n`,_jsx(_components.p,{children:`LiveAvatar generates avatar video in real time as audio arrives — there is no batch processing or queuing delay on the LiveAvatar side.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Plugin path`}),` — end-to-end latency depends on your pipeline (STT, LLM, TTS, and network). LiveAvatar adds minimal overhead on top of your existing stack.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Connector path`}),` — LiveAvatar manages the full connection to your voice agent and optimizes latency on your behalf.`]}),`\n`]}),`\n`,_jsx(Mermaid,{chart:`graph LR\n User[\"User\"] -->|\"user audio\"| Room[\"Session Room\"]\n Room -->|\"avatar video\"| User\n Room -->|\"audio sent to agent\"| Agent[\"Developer Agent\"]\n API[\"LiveAvatar API\"] -->|\"stream avatar video\"| Room\n Agent -->|\"ws command event\"| API\n API -->|\"ws server event\"| Agent`}),`\n`,_jsx(Heading,{level:`3`,id:`websocket-commands`,children:`WebSocket commands`}),`\n`,_jsx(_components.p,{children:`Through the WebSocket, you can:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Command the avatar to speak (by sending audio)`}),`\n`,_jsx(_components.li,{children:`Interrupt avatar responses`}),`\n`,_jsx(_components.li,{children:`Modify avatar poses (listening, idle)`}),`\n`,_jsx(_components.li,{children:`Keep sessions alive`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Audio you send is grouped into `,_jsx(_components.strong,{children:`utterances`}),`. Each utterance is identified by the `,_jsx(_components.code,{children:`event_id`}),` of its first `,_jsx(_components.code,{children:`agent.speak`}),` chunk, and every server event about that utterance carries the same id as `,_jsx(_components.code,{children:`source_event_id`}),`. See `,_jsx(_components.a,{href:`/docs/lite-mode/events`,children:`Events`}),` for the full envelope and event list.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-ending-the-session`,children:`3. Ending the Session`}),`\n`,_jsx(_components.p,{children:`When a session ends:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The avatar is removed from the LiveKit room`}),`\n`,_jsx(_components.li,{children:`The room is torn down (if created by LiveAvatar)`}),`\n`,_jsx(_components.li,{children:`The WebSocket connection closes`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Clean up your WebSocket resources and LiveKit data after the session ends.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Lifecycle","description":"The three phases of an Avatar Only LiveAvatar session","href":"/docs/lite-mode/lifecycle"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Starting a Session","slug":"1-starting-a-session","depth":2,"children":[]},{"title":"2. Managing the Session","slug":"2-managing-the-session","depth":2,"children":[{"title":"Audio format","slug":"audio-format","depth":3,"children":[]},{"title":"Latency","slug":"latency","depth":3,"children":[]},{"title":"WebSocket commands","slug":"websocket-commands","depth":3,"children":[]}]},{"title":"3. Ending the Session","slug":"3-ending-the-session","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"liveavatar","siteName":"LiveAvatar Documentation","title":"Lifecycle - LiveAvatar Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-08T21:39:43.438Z","originalFileLocation":"docs/lite-mode/lifecycle.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The three phases of an Avatar Only LiveAvatar session\">\u003cmeta data-mint-head name=\"application-name\" content=\"LiveAvatar Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lifecycle - LiveAvatar Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"The three phases of an Avatar Only LiveAvatar session\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LiveAvatar Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.liveavatar.com/docs/lite-mode/lifecycle\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://liveavatar.mintlify.site/_mintlify/api/og/v2?division=Avatar+Only+%28LITE+mode%29\u0026amp;title=Lifecycle\u0026amp;description=The+three+phases+of+an+Avatar+Only+LiveAvatar+session\u0026amp;theme=1fa6ab7619962c47fda6071e\u0026amp;signature=7fb63eecdae38839d9bfc92f2e6b18840e726eaf47a47b3780bdf0b977f3c857\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Lifecycle - LiveAvatar Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The three phases of an Avatar Only LiveAvatar session\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://liveavatar.mintlify.site/_mintlify/api/og/v2?division=Avatar+Only+%28LITE+mode%29\u0026amp;title=Lifecycle\u0026amp;description=The+three+phases+of+an+Avatar+Only+LiveAvatar+session\u0026amp;theme=1fa6ab7619962c47fda6071e\u0026amp;signature=7fb63eecdae38839d9bfc92f2e6b18840e726eaf47a47b3780bdf0b977f3c857\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/liveavatar/Ovq6l2ZTby8v0fMr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LiveAvatar Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#03C3FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.liveavatar.com/docs/lite-mode/lifecycle\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/lite-mode/lifecycle.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.liveavatar.com/#organization\",\"name\":\"LiveAvatar Documentation\",\"url\":\"https://docs.liveavatar.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/liveavatar/-mzFj8B1N4dV9fE4/logo/LiveAvatar_logo_dark.svg?fit=max\u0026auto=format\u0026n=-mzFj8B1N4dV9fE4\u0026q=85\u0026s=c3a7619f3be91473e416fba6b8a2208d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.liveavatar.com#website\",\"name\":\"LiveAvatar Documentation\",\"url\":\"https://docs.liveavatar.com\",\"publisher\":{\"@id\":\"https://docs.liveavatar.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle#webpage\",\"url\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle\",\"name\":\"Lifecycle\",\"description\":\"The three phases of an Avatar Only LiveAvatar session\",\"dateModified\":\"2026-09-08T21:39:43.438Z\",\"isPartOf\":{\"@id\":\"https://docs.liveavatar.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Avatar Only (LITE mode)\",\"item\":\"https://docs.liveavatar.com/docs/lite-mode/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lifecycle\",\"item\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle#article\",\"headline\":\"Lifecycle\",\"name\":\"Lifecycle\",\"description\":\"The three phases of an Avatar Only LiveAvatar session\",\"url\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle\",\"mainEntityOfPage\":{\"@id\":\"https://docs.liveavatar.com/docs/lite-mode/lifecycle#webpage\"},\"dateModified\":\"2026-09-08T21:39:43.438Z\",\"publisher\":{\"@id\":\"https://docs.liveavatar.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.liveavatar.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LiveAvatar Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LiveAvatar Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"LiveAvatar Overview","href":""},{"title":"Building with Agents","href":"/docs/agent-skills"},{"title":"Developing in Sandbox Mode","href":"/docs/sandbox-mode"}]},{"group":"Core Concepts","pages":[{"title":"Avatars","href":"/docs/core-concepts/avatars"},{"group":"Voice Agents","pages":[{"title":"Voice Agents","href":"/docs/core-concepts/voice-agents"},{"title":"Voices","href":"/docs/core-concepts/voices"},{"title":"Contexts","href":"/docs/core-concepts/contexts"}]},{"title":"Memory","href":"/docs/core-concepts/memory"},{"title":"Secrets \u0026 Integrations","href":"/docs/core-concepts/secrets"},{"title":"Rate Limits","href":"/docs/core-concepts/rate-limits"}]},{"group":"FULL Mode","pages":[{"title":"FULL Mode Overview","href":"/docs/full-mode/overview"},{"title":"Lifecycle","href":"/docs/full-mode/lifecycle"},{"group":"Configuration","pages":[{"title":"Configuration","href":"/docs/full-mode/configuration"},{"title":"Configuring Voice Settings","href":"/docs/full-mode/voice-settings"},{"title":"Configuring LLM Settings","href":"/docs/full-mode/llm-settings"},{"title":"Push-to-Talk","href":"/docs/full-mode/push-to-talk"},{"title":"Custom LLM Integration","href":"/docs/full-mode/custom-llm"},{"title":"Custom TTS Integration","href":"/docs/full-mode/custom-tts"}]},{"title":"Events","href":"/docs/full-mode/events"}]},{"group":"Avatar Only (LITE mode)","pages":[{"title":"Avatar Only (LITE mode) Overview","href":"/docs/lite-mode/overview"},{"title":"Integration Paths","href":"/docs/lite-mode/integration-paths"},{"group":"Plugins","pages":[{"title":"LiveKit","href":"/docs/lite-mode/plugins/livekit"},{"title":"Pipecat","href":"/docs/lite-mode/plugins/pipecat"},{"title":"Agora","href":"/docs/lite-mode/plugins/agora"},{"title":"VisionAgents","href":"/docs/lite-mode/plugins/vision-agents"}]},{"group":"Connectors","pages":[{"title":"ElevenLabs Agent Connector","href":"/docs/lite-mode/connectors/elevenlabs-agent"},{"title":"Cartesia Agent Connector","href":"/docs/lite-mode/connectors/cartesia-agent"},{"title":"OpenAI Realtime Connector","href":"/docs/lite-mode/connectors/openai-realtime"},{"title":"Gemini Live Connector","description":"Bridge the Gemini Live API with LiveAvatar for real-time avatar video","href":"/docs/lite-mode/connectors/gemini-realtime"}]},{"title":"Lifecycle","href":"/docs/lite-mode/lifecycle"},{"title":"Configuration","description":"Configure avatars and WebRTC settings for Avatar Only mode","href":"/docs/lite-mode/configuration"},{"title":"Events","href":"/docs/lite-mode/events"}]},{"group":"Socials","pages":[{"title":"X","url":"https://x.com/TryLiveAvatar","href":"/docs/socials/x"},{"title":"Discord","href":"/docs/socials/discord"}]},{"group":"FAQ","pages":[{"title":"Master FAQ","url":"https://www.notion.so/heygen/LiveAvatar-Master-FAQ-360449792c69810fb9c2d319d8958f85","href":"/docs/faq/master-faq"},{"title":"API Key Configuration","href":"/docs/faq/api-key"},{"title":"Firewall Configuration","href":"/docs/faq/firewall"},{"title":"Credits and Subscriptions","href":"/docs/faq/credits"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/guides/embed-avatar"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/sessions/create-session-token"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Lifecycle - LiveAvatar Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}