text_to_dialogue
Generate multi-speaker dialogue audio from a list of turns with voice IDs and text. Saves the audio file and returns its path.
Instructions
Generate multi-speaker dialogue audio from a list of turns.
Args:
dialogue: list of turns, each {"voice_id": "...", "text": "..."}.
model_id: dialogue model id (defaults to "eleven_v3" style dialogue model
when omitted, letting the API choose).
output_format: audio output format.
output_filename: optional output file name.
Returns the absolute path of the saved audio file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dialogue | Yes | ||
| model_id | No | ||
| output_format | No | mp3_44100_128 | |
| output_filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |