> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins.md).

# Web 插件

使用 Convai Web SDK 将 Convai 角色添加到 Web 应用中，使用 Convai Embody 将它们渲染为 3D 形象，或者在 PlayCanvas 中构建。

Convai 的网页插件可将 Convai 角色放入网页中。可先使用 Convai Web SDK，在 React 或纯 TypeScript 中进行语音和文本对话；当角色需要带说话效果的 3D 身体时，可添加 Convai Embody；或者在 PlayCanvas 项目中使用 PlayCanvas 插件。

### 插件

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Convai Web SDK</strong><br>通过语音和文本将网页应用连接到 Convai 角色，提供 React 绑定、无需框架的客户端以及预构建的聊天小部件。</td><td><a href="/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/convai-web-sdk.md">Convai Web SDK</a></td></tr><tr><td><strong>Convai Embody</strong><br>在 Web SDK 之上，将 Convai 角色渲染为带说话效果的 3D 身体，支持口型同步、视线、呼吸和眨眼。</td><td><a href="/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/convai-embody.md">Convai Embody</a></td></tr><tr><td><strong>PlayCanvas 插件</strong><br>通过模板将会话式 Convai 角色添加到 PlayCanvas 项目中。</td><td><a href="/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/playcanvas-plugin.md">PlayCanvas 插件</a></td></tr></tbody></table>

### 指南

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>叙事设计指南</strong><br>使用目标和触发器的节点图构建以故事为驱动的网页 NPC。</td><td><a href="/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/narrative-design-guide.md">叙事设计指南</a></td></tr><tr><td><strong>适用于 Convai 的 GLB/FBX 动画</strong><br>将 GLB 和 FBX 动画引入网页角色中。</td><td><a href="/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/glb-fbx-animations-for-convai.md">Convai 的 GLB/FBX 动画</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
