> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vivix.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 表演指定内容

表演是角色每次都严格按计划呈现的内容，例如一边挥手一边说出脚本化问候、介绍产品，或边唱歌边跳舞。你可以决定角色说什么，既可以使用自己编写的台词，也可以上传录音；还可以安排过程中的手势、移动和镜头。

## 表演还是日常行为？

| 以下情况使用表演 | 以下情况描述日常行为 |
| - | - |
| 台词和动作每次都必须相同。 | 角色需要回应观众刚刚说的内容。 |
| 你有一段录音（例如歌曲），角色必须与其匹配。 | 你需要的是一般性风格，例如“聆听时点头”或“兴奋时增加手势”。 |
| 时间安排或镜头必须精确。 | 角色应在其性格范围内即兴发挥。 |

播放表演时，角色会严格按照脚本执行，不会回应对话。如果希望手势跟随对话变化，请改为描述角色行为；请参阅[从头创建](https://docs.vivix.ai/cn/agent/create-character/from-scratch.md#refine-by-chatting)。

## 创建表演

**1. 描述内容**

按顺序告诉 Agent 角色应该说什么、做什么。将台词放在引号中，并说明每个手势出现的位置。

```text wrap theme={null}
Create a script with a wave, a self-introduction, and a closing nod.
```

```text wrap theme={null}
Script a wave on "Welcome" and a nod at the end.
```

**2. 为歌曲或录制台词附加音频（可选）**

上传录音并描述与其配合的动作。角色会根据录音对口型，并在你指定的时刻执行动作。

```text wrap theme={null}
Animate the character with this recording and add matching gestures.
```

**3. 说明播放时机**

告诉 Agent 应在何时开始表演：

* **对话开始时**，作为开场。
* **观众选择时**，例如从角色[应用](https://docs.vivix.ai/cn/agent/capabilities/app.md)中的列表选择。
* **观众在对话中提出要求时**。
* **作为演出的一部分**，按顺序播放多个表演。

**4. 在实时预览中观看**

打开 **Live preview** 面板，点击 **Talk to character**，然后开始表演并观看至结束。如果缺少某个手势，或手势出现时机不对，请告诉 Agent 需要修正的台词或时间点。

## 将多个表演组合成一场演出

如果要制作导览、课程、歌曲串烧或产品展示，可以要求创建一场演出。Agent 会安排各项内容的顺序、项目之间的衔接方式，以及观众如何跳转到想看的项目。

```text wrap theme={null}
Create a three-song set. Open with a short greeting and a wave, then play song 1, song 2, and song 3 in order with a full-body dance for each. Let viewers pick a song from a list to jump to it, and end with a bow and a thank-you.
```

以下两个模板是可供参考的现成演出：

* [Rosie](https://docs.vivix.ai/cn/agent/create-character/from-template.md#built-in-templates) 表演四首歌曲，每首歌都有专属舞蹈，并会更换服装。观众可以从屏幕菜单中选择歌曲或服装。
* [AlleBrean](https://docs.vivix.ai/cn/agent/create-character/from-template.md#built-in-templates) 依次展示产品，过程中会切换场景并展示试穿效果。

> [!TIP]
>
> 请告诉 Agent 当观众打断演出时应如何处理：停止演出、从当前项目继续，还是从头开始。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.