Generate multi-voice dialogue audio using ElevenLabs eleven_v3 model with support for multiple speakers and emotion tags.
Model
Parameters
| Parameter | Type | Required | Default | Description |
|---|
dialogue | array | Yes | - | Array of dialogue objects with text and voice |
language_code | string | No | en | Language code for generation ("auto" defaults to "en") |
stability | number | No | 0.5 | Voice stability 0-1 |
Dialogue Object
Each item in the dialogue array must contain:
| Parameter | Type | Required | Description |
|---|
text | string | Yes | Text for this speaker (supports emotion tags like [excitedly]) |
voice | string | Yes | Voice ID for this speaker |
Text-to-Dialogue always uses the eleven_v3 model - no model selection needed.
Resources
Get available voices from the Resources API:
Example
Example - Longer Conversation
You can add emotion tags in square brackets at the start of text to control the speaker’s tone:
[excitedly] - Excited, energetic delivery
[curiously] - Questioning, interested tone
[warmly] - Friendly, welcoming tone
[sadly] - Melancholic delivery
[angrily] - Frustrated, angry tone
[whispered] - Quiet, whispered speech
[shouted] - Loud, shouted delivery
Response
Completed Response