> ## 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.

# avatar.added

确认 `avatar.add` 事件已被接受，新角色现可通过 `session.update` 选择。

## 事件字段

**event\_id** `string` *required*

此服务端事件的唯一 ID。

**type** `string` *required*

事件类型。必须为 `avatar.added`。

**avatars** `array` *required*

已接受事件所注册的角色。

**avatars\[].avatar\_id** `string` *required*

已注册角色的 ID。

**`avatars[].persona`、voice、visual：可选字段**

服务端接受并实际生效的角色定义。

```json avatar.added theme={null}
{
  "event_id": "evt_avatar_added_001",
  "type": "avatar.added",
  "avatars": [
    {
      "avatar_id": "host_c",
      "persona": "You are Host C, a practical product specialist. Give clear, concise answers and use small gestures while explaining. Listen with relaxed eye contact.",
      "visual": {
        "source_images": [
          {
            "source_image_id": "front",
            "url": "https://api.vivix.ai/host-c-front.png",
            "description": "A man facing the camera in a brightly lit studio, front view.",
            "media_type": "image/png"
          }
        ],
        "default_source_image_id": "front"
      }
    }
  ]
}
```


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