Skip to main content
POST
Eleven v4 Dialogue / Custom Voice
eleven-v4-text-to-dialogue and eleven-v4-text-to-dialogue-custom-voice use the same nonempty inputs array. Each item requires text and voice_id. Order and IDs are preserved. At most10 distinct voices are allowed; repeated IDs count once, so more than10 segments are allowed. Keeping total text within2000 characters is a generation recommendation, not a hard local limit; longer requests may end early or fail. Optional settings contains stability (default0.5), similarity (default0.75) and optional clone_strength, all0–1. Omitting/nulling the object preserves saved voice settings. Clone strength requires a v4 professional clone. Context uses previous_text / future_text and is not billed. Seed accepts0–4294967295; normalization defaults to auto. Custom dialogue may mix public and private voices. The regular model does not enforce a separate voice category. Every ID must be jointly accessible for the request. Voices are not replaced and segments are not split across accounts. IDs do not promise permanent availability, portability or exclusive access. Unavailable voices fail and follow normal refund rules. Output defaults to mp3_44100_128; see parameters for all28 formats. Explicit timestamps and dictionaries require the complete capability. Results preserve only returned alignment and voice segments; absent metadata is not synthesized. Query the task and promptly download results[0].url. Both models cost $0.00008 per Unicode character, summed over inputs[].text, including spaces, punctuation and tags. IDs, context and settings are excluded. There is no rounding to1000-character blocks. Saved prices and group multipliers determine completion settlement. Migration: inputs[].voice → inputs[].voice_id; flat controls → settings, with similarity_boost renamed to settings.similarity. Unknown fields are rejected. Historical tasks keep their original requests and are not generated again.

Authorizations

Authorization
string
header
required

All endpoints require Bearer authentication.

Add this request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
string
default:eleven-v4-text-to-dialogue
required

eleven-v4-text-to-dialogue: ordered dialogue with specified voices. eleven-v4-text-to-dialogue-custom-voice: may mix public and private voices. Both cost $0.00008 per Unicode character summed over submitted text.

Examples:

"eleven-v4-text-to-dialogue"

"eleven-v4-text-to-dialogue-custom-voice"

inputs
object[]
required

Nonempty ordered dialogue segments with text and voice_id. At most 10 distinct voices; repeated IDs count once. Recommended total text is at most 2000 characters; longer requests may end early or fail.

Minimum array length: 1
Example:
seed
integer | null

Optional random seed; zero is a valid explicit value. See minimum/maximum.

Required range: 0 <= x <= 4294967295
Example:

0

language_code
string | null

Language in ISO 639-1, such as zh or en.

Example:

"zh"

apply_text_normalization
enum<string>
default:auto

Text normalization: auto, on or off. Defaults to auto.

Available options:
auto,
on,
off
Example:

"auto"

output_format
enum<string>
default:mp3_44100_128

Output encoding, sample rate and bitrate; 28 formats, default mp3_44100_128.

Available options:
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,
wav_8000,
wav_16000,
wav_22050,
wav_24000,
wav_32000,
wav_44100,
wav_48000,
ulaw_8000,
alaw_8000,
opus_48000_32,
opus_48000_64,
opus_48000_96,
opus_48000_128,
opus_48000_192
Example:

"mp3_44100_128"

timestamps
boolean
default:false

Request alignment timestamps. The entire requested capability must be available; unsupported requests fail explicitly. Only actual alignment returned with the result is preserved.

Example:

false

pronunciation_dictionary_locators
object[] | null

Up to 3 versioned pronunciation dictionaries. Requires the complete capability; unsupported requests fail explicitly.

Advanced option: omit unless needed.

Maximum array length: 3
Example:
settings
object | null

Omit or use null to preserve saved settings. Dialogue uses similarity rather than similarity_boost.

Example:
previous_text
string | null

Previous context. Not spoken or included in character billing.

Advanced option: omit unless needed.

Example:

"开场。"

future_text
string | null

Following dialogue context. Not included in character billing.

Advanced option: omit unless needed.

Example:

"结束。"

Response

Task created

created
integer

Task creation timestamp

Example:

1757165031

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

model
string

eleven-v4-text-to-dialogue: ordered dialogue with specified voices. eleven-v4-text-to-dialogue-custom-voice: may mix public and private voices. Both cost $0.00008 per Unicode character summed over submitted text.

object
enum<string>

Task type

Available options:
audio.generation.task
progress
integer

Task progress (0–100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Asynchronous task information

type
enum<string>

Output type

Available options:
audio
Example:

"audio"