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

# 选择音色

选择一个内置音色，将其添加到会话请求中，并使用自己的台词进行测试。下列音色无需单独注册第三方服务账号。

## 1. 从 Qwen Audio 开始

Qwen Audio 是默认语音服务。建议先使用 Long An Huan，只需提供对应的音色 ID。

```json theme={null}
{
  "pipeline_config": {
    "tts_config": {
      "tts_voice_id": "longanhuan_v3.6"
    }
  }
}
```

| 音色 | 性别 | 音色 ID / 语言和声音特点 |
| - | - | - |
| **Long An Feng Yue** | 女 | `longanfengyue`  普通话和英语 · 自然、亲切 |
| **Long An Yuan Fei** | 女 | `longanyuanfei`  普通话和英语 · 沉稳、有掌控力 |
| **Long An Ling Xi** | 女 | `longanlingxi`  普通话和英语 · 甜美、明亮 |
| **Long An Xiao Xin** | 女 | `longanxiaoxin`  普通话和英语 · 亲切、活泼 |
| **Long An Huan** | 女 | `longanhuan_v3.6`  普通话和英语 · 活泼、俏皮 |
| **Long Jie Li Dou** | 男 | `longjielidou_v3.6`  普通话和英语 · 年轻男孩音色 |
| **Long Pao Pao** | 女 | `longpaopao_v3.6`  普通话和英语 · 轻柔的年轻女孩音色 |
| **Long Huo Huo** | 男 | `longhuohuo_v3.6`  普通话和英语 · 俏皮、年轻 |
| **Long Chuan Shu** | 男 | `longchuanshu_v3.6`  普通话和英语 · 带四川口音的成熟男性音色 |
| **Mary** | 女 | `loongmary`  英语 · 温暖的英式音色 |
| **Eva** | 女 | `loongeva_v3.6`  英语 · 沉稳的美式音色 |
| **John** | 男 | `loongjohn`  英语 · 平静、亲切的美式音色 |

## 2. 选择 ElevenLabs 音色

切换语音服务商时，需要同时指定 `tts_provider`、模型和音色 ID。以下示例选择 George。

```json theme={null}
{
  "pipeline_config": {
    "tts_config": {
      "tts_provider": "elevenlabs",
      "tts_model_id": "eleven_v3",
      "tts_voice_id": "JBFqnCBsd6RMkjVDRZzb"
    }
  }
}
```

| 音色 | 性别 | 音色 ID / 语言和声音特点 |
| - | - | - |
| **George** | 男 | `JBFqnCBsd6RMkjVDRZzb`  温暖、成熟的英式男性音色 |
| **Charlie** | 男 | `IKne3meq5aSn9XLyUdCD`  低沉、有活力的澳大利亚男性音色 |
| **Jessica** | 女 | `cgSgspJ2msm6clMCkdW9`  明亮、温暖的美式女性音色 |

## 3. 创建会话并试听

将 `pipeline_config` 合并到创建会话请求中，并保留会话的其他配置。在新会话中测试产品名称、数字和混合语言台词。你也可以将这套配置保存到角色中，以便重复使用。

## 4. 克隆音色

通过 [Voices API](https://docs.vivix.ai/cn/streaming-avatar/api-references/voices) 上传录音，然后将返回的 `voice_id` 写入 `tts_voice_id`。如果此前使用其他语音服务商，请用以下配置替换原有的 `tts_config`。

```json theme={null}
{
  "pipeline_config": {
    "tts_config": {
      "tts_voice_id": "VOICE_ID_FROM_CLONE_RESPONSE"
    }
  }
}
```


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