> 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`，以及 `cc4extended`。只有当 Convai 明确支持适用于你的部署的自定义格式时，自定义配置文件才有用。使用不受支持的格式 ID 创建配置文件将导致无法接收到任何 blendshape 数据。
{% endhint %}

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

{% stepper %}
{% step %}

#### 创建资源

在项目窗口中，导航到你想存储该配置文件的文件夹。右键单击并选择 **Create > Convai > Lip Sync Profile**。为该资源起一个描述性名称——例如， `ConvaiLipSyncProfile_MyRig`.
{% endstep %}

{% step %}

#### 配置字段

选择新建的资源以在 Inspector 中打开它。

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

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

{% step %}

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

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

你还需要一个匹配的映射资源，用于将这些自定义通道路由到你的角色骨骼变形名称。

### 下一步

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

{% 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:

```
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>
```

The question should be specific, self-contained, and written in natural language.
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.
