---
title: "Text To Dialogue (Multi-Voice) Streaming"
method: POST
path: "/v1/text-to-dialogue/stream"
tags: ["text-to-dialogue"]
---

# Text To Dialogue (Multi-Voice) Streaming

`POST /v1/text-to-dialogue/stream`

Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.

## Query parameters

- `output_format` 'mp3_22050_32' | 'mp3_24000_48' | 'mp3_44100_32' | 'mp3_44100_64' | 'mp3_44100_96' | 'mp3_44100_128' | 'mp3_44100_192' | 'pcm_8000' | 'pcm_16000' | 'pcm_22050' | 'pcm_24000' | 'pcm_32000' | 'pcm_44100' | 'pcm_48000' | 'ulaw_8000' | 'alaw_8000' | 'opus_48000_32' | 'opus_48000_64' | 'opus_48000_96' | 'opus_48000_128' | 'opus_48000_192'
- `enable_logging` boolean — When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.

## Headers

- `xi-api-key` string, nullable — Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Request body

- BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost
  - `inputs` DialogueInput[], required — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error.
    - `text` string, required — The text to be converted into speech.
    - `voice_id` string, required — The ID of the voice to be used for the generation.
  - `model_id` string — Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.
  - `language_code` string, nullable — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models.
  - `settings` ModelSettingsResponseModel
    - `stability` number, nullable — Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion.
  - `pronunciation_dictionary_locators` PronunciationDictionaryVersionLocatorRequestModel[], nullable — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
    - `pronunciation_dictionary_id` string, required — The ID of the pronunciation dictionary.
    - `version_id` string, nullable — The ID of the version of the pronunciation dictionary. If not provided, the latest version will be used.
  - `seed` integer, nullable — If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be integer between 0 and 4294967295.
  - `apply_text_normalization` 'auto' | 'on' | 'off' — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.

## Response `200`

Streaming audio data

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/versions/57d56f34628a/schema)
