> 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/convai-unity-sdk/getting-started/add-lip-sync/create-a-lip-sync-profile.md).

# 创建口型同步配置文件

口型同步配置文件定义了传输格式标识符——它会告诉 SDK 需要从 Convai 接收哪些 BlendShape 通道名称。

{% hint style="warning" %}
Convai 目前仅以三种格式流式传输 BlendShape 数据： `arkit`, `metahuman`，以及 `cc4_extended`。只有当 Convai 明确支持用于你的部署的自定义格式时，自定义配置文件才有用。创建使用不受支持格式 ID 的配置文件将导致无法接收到任何 BlendShape 数据。
{% endhint %}

对于所有标准设置，请使用三个内置配置文件之一，并将此页面留作高级或未来用途。

{% stepper %}
{% step %}

#### 创建资源

在项目窗口中，导航到你要存储该配置文件的文件夹。右键单击并选择 **创建 > Convai > 口型同步 > 配置文件**。请为资源起一个具有描述性的名称——例如， `ConvaiLipSyncProfile_MyRig`.
{% endstep %}

{% step %}

#### 配置字段

选择新资源以在检查器中打开它。

| 字段          | 描述                                      |
| ----------- | --------------------------------------- |
| **配置文件 ID** | 传输格式标识符。必须与 Convai 为此角色流式传输的格式 ID 完全匹配。 |
| **显示名称**    | 检查器中显示的人类可读名称。不影响运行时行为。                 |
| **传输格式**    | 网络传输格式字符串——通常与配置文件 ID 相同。               |

{% hint style="danger" %}
**配置文件 ID** 必须与 Convai 在流式传输 BlendShape 数据时使用的标识符完全匹配。不匹配会导致 SDK 回退到无操作映射——不会播放任何 BlendShape 动画。
{% endhint %}
{% endstep %}

{% step %}

#### 将该配置文件 ID 分配给组件

将 `ConvaiLipSyncComponent._lockedProfileId` 到 **配置文件 ID** 你定义的字符串。SDK 会在运行时从注册表中查找此配置文件。
{% endstep %}
{% endstepper %}

### 下一步

创建配置文件后，创建一个映射，将其通道路由到你的骨骼的 BlendShape 名称。

{% content-ref url="/pages/0808b43e9ba988a5156bb5fb55261f1f67638b57" %}
[创建自定义口型同步映射](/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/getting-started/add-lip-sync/create-a-custom-blendshape-map.md)
{% endcontent-ref %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/getting-started/add-lip-sync/create-a-lip-sync-profile.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
