Generate Dialogue
generate_dialogueMake ONE audio file, saved to your library, of two or more people talking to each other, spoken by ElevenLabs v3 (or v4, with model). Give it lines in order, each with the voice who says it (a voice name or a voice id from list_voices) and the words. The speakers react to each other the way people in one room do, which is why this beats making each line on its own and stitching them. Inside any line's text you can write performance tags in square brackets and the model acts them instead of reading them out: [laughs], [laughs harder], [starts laughing], [wheezing], [whispers], [sighs], [exhales], [sarcastic], [curious], [excited], [crying], [snorts], [mischievously]. There are also sound tags such as [gunshot], [applause], [clapping] and [explosion], and experimental ones such as [sings] and [strong French accent]. Use ellipses and ordinary punctuation for pauses; there is no pause tag. As many lines as you like, up to 10 different voices, and up to 2000 characters of speech in total. Billed per 250 characters of everything said. For one person speaking use generate_speech.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | The conversation in order, as many lines as it takes. Example: [{ "voice": "Rachel", "text": "[whispers] Did you hear that?" }, { "voice": "Adam", "text": "[sighs] It is just the wind." }] | |
| model | No | Optional. "v3" (the default) or "v4". Both speak dialogue. | |
| language | No | Optional two-letter language code, for example "es", when the conversation is not in English. | |
| stability | No | Optional, 0 to 1. Lower is more expressive and the tags land harder, higher is steadier and calmer. | |
| similarity | No | Optional, 0 to 1. How closely each read sticks to its own voice. |