You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
createElevenLabsSession() — server-side helper in @runwayml/avatars/api (and re-exported from @runwayml/avatars-react/api) that connects a Runway avatar to your own ElevenLabs Conversational AI agent. Give it your Runway and ElevenLabs keys, an avatar ID, and an agent ID; it returns { sessionId, sessionKey, avatarId, baseUrl } ready to pass to <AvatarCall>. Your agent handles the conversation and voice — Runway renders the avatar. No ElevenLabs SDK is needed in the browser.
Next.js ElevenLabs example — end-to-end demo at examples/nextjs-elevenlabs/ showing the server-side session flow wired to <AvatarCall>.
Changed
AvatarError adds two new codes: SESSION_CREATE_FAILED and ELEVENLABS_SIGNED_URL_FAILED.