generate_dialogue
Generate a complete multi-speaker dialogue in a single call, producing natural back-and-forth timing for up to 10 voices without stitching separate speech requests.
Instructions
Generate a multi-speaker dialogue scene in a single call (ElevenLabs Text-to-Dialogue).
One request renders all turns with natural back-and-forth timing — better than stitching N separate generate_speech calls. Up to 10 distinct voices, ~2000 characters total.
Args: lines: Ordered turns, each {"voice": , "text": }. An optional "speaker" label is allowed for your own clarity. v3 audio tags work in the text (e.g. "[laughs] no way!"). model: Dialogue model id (default eleven_v3). seed: Best-effort determinism for the whole scene. language_code: ISO 639-1 language pin. apply_text_normalization: "auto" | "on" | "off". engine: Provider override (defaults to ElevenLabs). format: Output format ("mp3" default).
Returns: {"job_id": ..., "status": "queued", "engine": ...} or {"error": ...}. check_jobs returns the mixed dialogue audio path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| lines | Yes | ||
| model | No | ||
| engine | No | ||
| format | No | ||
| language_code | No | ||
| apply_text_normalization | No |