---
title: "创建对话-Text to Dialogue API-API黄页|万维易源ShowAPI"
canonical_url: "https://www.showapi.com/playground/elevenlabs/elevenlabs/eleven-dialogue-gen"
last_updated: "2026-10-15T10:27:29.454Z"
meta:
  description: ElevenLabs文本转对话API可将文本和语音ID列表转换为自然语音对话，提供高质量的多角色语音合成服务，适用于配音和内容创作。
  keywords: 文本转语音对话，AI语音合成，多角色语音生成，语音对话API，ElevenLabs语音服务
  "og:description": ElevenLabs文本转对话API可将文本和语音ID列表转换为自然语音对话，提供高质量的多角色语音合成服务，适用于配音和内容创作。
  "og:title": "创建对话-Text to Dialogue API-API黄页|万维易源ShowAPI"
  "twitter:description": ElevenLabs文本转对话API可将文本和语音ID列表转换为自然语音对话，提供高质量的多角色语音合成服务，适用于配音和内容创作。
  "twitter:title": "创建对话-Text to Dialogue API-API黄页|万维易源ShowAPI"
---

# **Text to Dialogue API**

[ElevenLabs-ElevenLabs](https://www.showapi.com/playground/elevenlabs/elevenlabs) [ 产品首页](https://elevenlabs.io/docs/capabilities/text-to-dialogue) [API文档](https://elevenlabs.io/docs/capabilities/text-to-dialogue) [应用示例](https://www.showapi.com/aiapp/elevenlabs/elevenlabs/eleven-dialogue-gen.html)

4112

2025-09-02更新

158 [提交收录](https://www.showapi.com/island/feedback-page?submitrequire=true) [反馈问题](https://www.showapi.com/island/feedback-page?apiurl=/playground/elevenlabs/elevenlabs/eleven-dialogue-gen) [ 创建我的API](https://www.showapi.com/playground)

该API使用Eleven v3模型，能够从文本生成自然、富有表现力的对话。它支持多种语言和音频格式，适用于视频游戏、播客和有声书等场景。API支持通过文本中的情感描述和音频标签来调整对话的情感表达。

**基础配置**

**Xi-api-key****\***[去获取Xi-api-key](https://elevenlabs.io/app/developers/api-keys)

API密钥，用于鉴权

选择接入点：

**POST**

Run

**接入点文档：**[查看](https://elevenlabs.io/docs/api-reference/text-to-dialogue/convert)

Run: Ctrl+

↵

接入点描述：将文本和语音ID对列表转换为语音（对话）并返回音频。

**请求参数**

**inputs\[0].text****\***

要转换为语音的文本

**inputs\[0].voice\_id****\***

语音ID

**inputs\[1].text****\***

要转换为语音的文本

**inputs\[1].voice\_id****\***

语音ID

**model\_id**

使用的模型ID，可以通过GET /v1/models查询

**output\_format**

生成音频的输出格式。格式为codec\_sample\_rate\_bitrate。例如，22.05kHz采样率的32kbps MP3表示为mp3\_22050\_32。

**seed**

用于确定性采样的种子，0到4294967295之间的整数

**settings.stability**

控制语音的稳定性和生成之间的随机性。较低的值会为声音引入更广泛的情感范围。较高的值可能导致声音单调且情感有限。

**settings.use\_speaker\_boost**

此设置增强了与原始说话者的相似性。使用此设置需要稍高的计算负载，从而会增加延迟。

**返回结果**

当前为示例返回

返回体

返回头

**使用其他软件测试API**

您可以拷贝Curl语句，直接导入Postman进行测试

拷贝Curl语句