> 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). Agents can also search and read this documentation through its [MCP server](https://docs.convai.com/api-docs/~gitbook/mcp).

# 创建唇形同步配置文件

介绍如何为 SDK 默认捆绑的三种配置文件之外的 blendshape 格式创建自定义唇形同步配置文件资源。

口型同步配置文件定义传输格式标识符——它会告诉 SDK 应从 Convai 接收哪些混合变形通道名称。

{% hint style="warning" %}
Convai 目前仅以以下三种格式传输混合变形数据： `arkit`, `metahuman`，以及 `cc4_extended`。只有在 Convai 明确支持为你的部署使用自定义格式时，自定义配置文件才有用。若创建的配置文件使用不受支持的格式 ID，将无法接收到混合变形数据。
{% endhint %}

对于所有标准设置，请使用三个内置配置文件之一；本页内容留作高级用途或未来参考。

{% stepper %}
{% step %}

#### 创建资源

在“项目”窗口中，导航到要存储配置文件的文件夹。右键单击并选择 **创建 > Convai > 口型同步 > 配置文件**。为资源取一个能清楚说明用途的名称，例如 `ConvaiLipSyncProfile_MyRig`.
{% endstep %}

{% step %}

#### 配置字段

选择新资源，在 Inspector 中打开。

| 字段          | 说明                                    |
| ----------- | ------------------------------------- |
| **配置文件 ID** | 传输格式标识符。必须与 Convai 为此角色传输的格式 ID 完全一致。 |
| **显示名称**    | 在 Inspector 中显示的易读名称，不影响运行时行为。        |
| **传输格式**    | 网络传输格式字符串——通常与配置文件 ID 相同。             |

{% hint style="danger" %}
**配置文件 ID** 必须与 Convai 在传输混合变形数据时使用的标识符完全一致。不匹配时，SDK 会回退到空操作映射——不会有任何混合变形动画。
{% endhint %}
{% endstep %}

{% step %}

#### 为组件指定配置文件 ID

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

### 后续步骤

创建配置文件后，再创建映射，将其通道映射到角色绑定中的混合变形名称。

{% content-ref url="/pages/0808b43e9ba988a5156bb5fb55261f1f67638b57" %}
[创建自定义口型同步映射](https://docs.convai.com/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 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/convai-unity-sdk/getting-started/add-lip-sync/create-a-lip-sync-profile.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.
