> 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 种以上语言** 可用。
* 选择一种语言将筛选以下内容中的可用语音： **语音** 部分。
* 您选择的语言还会决定由哪个语音识别提供商为您的用户进行转写。请参阅 [语音识别语言支持](/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.
