> 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/convai-playground/character-customization/language-and-speech.md).

# 语言与语音

了解如何在 Convai Playground 中为你的 AI 角色配置语言、语音、自定义发音和单词识别。

“ **语言与语音** ”部分可用于设置角色会说的语言、选择语音，并改进 AI 角色的发音和识别效果。借助对多种语言和语音服务商的支持，您可以确保角色与受众自然、有效地交流。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2F7D7zDWhAub6TWtChEhUq%2Fimage.png?alt=media&amp;token=a1cd3cdf-34bb-434b-9a49-c250862f5386" alt=""><figcaption></figcaption></figure>

***

## 主要功能

### 1. 设置语言

* 选择角色能够说和理解的语言。
* 支持 **多语言** 可选择 **1 至 4 种语言**.
* 默认语言： **英语**.
* 提供 **65 种以上语言** 。
* 选择语言后， **语音** 部分会筛选可用的语音。
* 您选择的语言还决定了由哪个语音识别服务商转录用户语音。请参阅 [语音识别语言支持](https://docs.convai.com/api-docs/zh/convai-playground/character-customization/speech-recognition-language-support.md).

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2F6898jZC9g1XZbUfQBlpc%2Fimage.png?alt=media&amp;token=c8725647-5fa4-43b1-8957-170148a81528" alt=""><figcaption></figcaption></figure>

***

### 2. 选择语音

* “ **语音** ”字段提供总计超过 **1,200** 种语音供您选择。选择语言后，可用语音会相应筛选，因此语音数量因语言而异。
* 支持的 **语音服务商**:
  * Google Cloud Platform (GCP)
  * Microsoft Azure
  * OpenAI
  * ElevenLabs
* **自定义语音** 可通过 ElevenLabs 添加。
  * 请参阅： [**ElevenLabs 语音集成文档**](https://docs.convai.com/api-docs/plugins-and-integrations/other-integrations/third-party-api-integrations/elevenlabs-api-integration) 了解设置详情。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FcCVWoAOBsb3BqDvQqFyt%2Fimage.png?alt=media&amp;token=0946dc38-78e2-4846-a1ac-5bd641dddf04" alt=""><figcaption></figcaption></figure>

***

### 3. 添加自定义发音

自定义发音有助于角色正确读出特定词语，尤其是生僻词或品牌专属用语。

* 添加方法：
  * **拼写形式** – 词语在文本中的写法。
  * **发音形式** – 词语应有的读音，用通俗易懂的英语按发音方式拼写。
* 示例：
  * **拼写形式：** convai
  * **发音形式：** convey
* **区分大小写：** 大写和小写形式的条目可以有不同的发音。

{% hint style="danger" %}
目前 **仅支持英语**.
{% endhint %}

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FVBV6auyuM4DCSAdg5FRR%2Fimage.png?alt=media&amp;token=207b04db-84e1-4501-91f4-0d7e22be8319" alt=""><figcaption></figcaption></figure>

***

### 4. 新词识别

新词识别可提升角色理解语音输入中独特或较难词语的能力。

* 添加方法：
  * **拼写为** – 该词的正确拼写。
  * **读音为** – 使用简单音节标注的语音发音。
* 示例：
  * **拼写为：** Ankur
  * **读音为：** Ahnkur

{% hint style="danger" %}
目前 **仅支持英语**.
{% endhint %}

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FUaJ6fa2b2ZEMMTO50smy%2Fimage.png?alt=media&amp;token=674ac321-4f3e-4c9e-89b2-9be06ff42b7e" alt=""><figcaption></figcaption></figure>

***

## 总结

语言和语音设置让你能够全面控制角色的沟通方式，从语言选择、声音选择，到发音和识别的微调。这些工具有助于确保你的 AI 角色为用户带来清晰、准确且富有吸引力的互动。


---

# 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/convai-playground/character-customization/language-and-speech.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.
