LiveKit 接入 Beyond Presence 虚拟形象

LiveKit Agents 通过开源 Beyond Presence 插件为语音 AI 应用添加超写实交互虚拟形象,支持 Python 与 Node.js,需配置 BEY_API_KEY,并在 AgentSession 中先启动形象再加入房间。

LiveKit docs + 构建代理 + 模型 + 虚拟异形 + 超越存在 --- # Beyond 存在虚拟化模拟集成指南 > LiveKit Agents 如何使用 Beyond Institute 虚拟异形插件 。 可在下列网址查阅: - [x] 节点.js - [x] Python 键 ## 概览 [超出存在范围](https://www.beyondpresence.ai/) 为对话视频 AI 代理提供超现实性互动化的Avatars。您可以使用开放源代码 Beyond Presidents 集成 LiveKit Agents 在您的语音 AI 应用中添加虚拟化的Avatars 。 [视频:阿凡达:694c83e2-8895 -4a98-bd16-56332ca3f449](https://static.livekit.io/video/docs-avatar-demos/demo-bey-expressive.mp4) ### 安装 **Python 键**: ```shell uv add "livekit-agents[bey]~=1.8" ``` --- **节点.js**: ```shell pnpm add @livekit/agents-plugin-bey ``` ### 认证 Beyond 存在插件需要一个 [超越存在 API 密钥](https://docs.bey.dev/api-key). 设定 `BEY_API_KEY` 在您的帐号中 `.env` 文档。 ### 使用量 使用插件在一个 `AgentSession`。例如,您可以在 [语音 AI 快速启动](https://docs.livekit.io/agents/start/voice-ai.md). **Python 键**: ```python from livekit.plugins import bey session = AgentSession( # ... stt, llm, tts, etc. ) avatar = bey.AvatarSession( avatar_id="...", # ID of the Beyond Presence avatar to use ) # Start the avatar and wait for it to join await avatar.start(session, room=ctx.room) # Start your agent session with the user await session.start( room=ctx.room, ) ``` --- **节点.js**: ```typescript import { voice } from '@livekit/agents'; import * as bey from '@livekit/agents-plugin-bey'; const session = new voice.AgentSession({ // ... stt, llm, tts, etc. }); const avatar = new bey.AvatarSession({ avatarId: "...", // ID of the Beyond Presence avatar to use }); // Start the avatar and wait for it to join await avatar.start(session, room); // Start your agent session with the user await session.start(); ``` 预览 [代理主控台](https://docs.livekit.io/testing/agent-console.md) 或前端 [启动程序](https://docs.livekit.io/agents/start/frontend.md#starter-apps) 即你建造的。 ### 参数 本节介绍一些可用的参数。 [插件引用](https://docs.livekit.io/reference/python/livekit/plugins/bey/index.html.md#livekit.plugins.bey.AvatarSession) 用于完整列出所有可用的参数。 - **`avatar_id`** _(字符串)_(可选) - 默认 : `b9be11b8-89fb-4227-8f86-4a881393cbdb`: ID 超越存在的异形用于. - **`avatar_participant_identity`** _(字符串)_(可选) - 默认 : `bey-avatar-agent`: 用于阿凡达的参与者身份. - **`avatar_participant_name`** _(字符串)_(可选) - 默认 : `bey-avatar-agent`:用于阿凡达的参与者名称. ## 追加资源 以下资源提供了更多信息,说明与LiveKit代理公司使用Beyond Sentists的情况。 - **[超出存在范围的文件](https://docs.bey.dev/get-started)**:在现场的完整文件网站之外。 - **[代理主控台](https://docs.livekit.io/testing/agent-console.md)**:一个测试您的阿凡达代理的虚拟工作台. - **[前端启动程序](https://docs.livekit.io/agents/start/frontend.md#starter-apps)**: 备用前端应用,并有Avatar支持. --- 此文件在2026 - 12-01T16:51:51.059Z. 本文件的最新版本见: [https://docs.livekit.io/agents/models/avatar/plugins/bey.md](https://docs.livekit.io/agents/models/avatar/plugins/bey.md). 要探索所有 LiveKit 文档,请参见 [页:1](https://docs.livekit.io/llms.txt).

查看原始来源