ElevenLabs Text-to-Dialogue v3
Generate natural, expressive multi-speaker dialogue audio with ElevenLabs Eleven v3. Provide a sequence of dialogue turns, each with its own voice, and receive a single hosted audio file. Supports 70+ languages.
Models
| Model Name | Description |
|---|---|
elevenlabs-text-to-dialogue-v3 | Multi-speaker dialogue generation with expressive delivery across 70+ languages |
Pricing
Per-character pricing, based on the total character count of all dialogue[].text values:
| Item | Value |
|---|---|
| Per character | see playground |
| Limits | up to 10 distinct voices, total text ≤ 5000 characters per request |
Pre-charged on submit and automatically refunded if generation fails. Use POST /v1/estimate to preview the exact cost before submitting.
Create Task
curl -X POST https://api.aivideoapi.ai/v1/audio/generations \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "elevenlabs-text-to-dialogue-v3",
"callback_url": "https://your-server.com/webhook",
"input": {
"dialogue": [
{ "text": "Hey! Did you finish the report?", "voice": "EkK5I93UQWFDigLMpZcX" },
{ "text": "Almost — just adding the final numbers now.", "voice": "Z3R5wn05IrDiVCyEkUrK" }
],
"stability": 0.5,
"language_code": "en"
}
}'
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | elevenlabs-text-to-dialogue-v3 |
input | object | Yes | Generation parameters, see below |
callback_url | string | No | URL to receive task completion/failure notifications |
Input Object
| Field | Type | Required | Description |
|---|---|---|---|
dialogue | array | Yes | Ordered list of dialogue turns. Each item is { text, voice }. Up to 10 distinct voices; total text across all turns ≤ 5000 characters |
dialogue[].text | string | Yes | What this voice says |
dialogue[].voice | string | Yes | ElevenLabs voice ID or preset name |
stability | number | No | Voice stability / randomness. One of 0, 0.5, 1. Default 0.5 |
language_code | string | No | Language code (e.g. en, zh, ja, fr). Leave empty to auto-detect (default). |
Voices
Each dialogue[].voice takes a preset voice ID (or its name) from the catalog below. Preview any voice and use its voice_id.
| Name | Style | voice_id | Preview |
|---|---|---|---|
| James | Husky, Engaging and Bold | EkK5I93UQWFDigLMpZcX | |
| Arabella | Mysterious and Emotive | Z3R5wn05IrDiVCyEkUrK | |
| Bradford | Expressive and Articulate | NNl6r8mD7vthiJatiJt1 | |
| Xavier | Dominating, Metallic Announcer | YOq2y2Up4RgXP2HyXjE5 | |
| Kuon | Cheerful, Clear and Steady | B8gJV1IhpuegLxdpXFOE | |
| Monika Sogam | Deep and Natural | 2zRM7PkgwBPiau2jvVXc | |
| Mark | Casual, Relaxed and Light | 1SM7GgM6IMuvQlz2BwM3 | |
| Adeline | Feminine and Conversational | 5l5f8iK3YPeGga21rQIX | |
| Sam | Support Agent | scOwDtmlUjD3prqpp97I | |
| Spuds Oxley | Wise and Approachable | NOpBlnGInO9m6vDvFkFC | |
| Eve | Authentic, Energetic and Happy | BZgkqPqms7Kj9ulSkVzn | |
| Northern Terry | Northern English, Characterful | wo6udizrrtpIxWGp2qJk | |
| British Football Announcer | British, Energetic Commentary | gU0LNdkMOQCOrPrwtbee | |
| Brock | Commanding and Loud Sergeant | DGzg6RaUqxGRTHSBjfgF | |
| Nathan | Virtual Radio Host | x70vRnQBMBu4FAYhjJbO | |
| Anika | Animated, Friendly and Engaging | Sm1seazb4gs7RSlUVw7c | |
| Viraj | Rich and Soft | P1bg08DkjqiVEzOn76yG | |
| Taksh | Calm, Serious and Smooth | qDuRKMlYmrm8trt5QyBn | |
| Horatius | Energetic Character Voice | qXpMhyvQqiRxWQs4qSSB | |
| Liam | Energetic, Social Media Creator | TX3LPaxmHKxFdv7VOQHJ | |
| Callum | Husky Trickster | N2lVS1w4EtoT3dr4eOWO | |
| Laura | Enthusiast, Quirky Attitude | FGY2WhTYpPnrIDTdsKH5 | |
| Brittney | Social Media - Fun, Youthful & Informative | kPzsL2i3teMYv0FxEYQ6 | |
| Mark | Natural Conversations | UgBBYS2sOqTuMpoF3BR0 | |
| Bella | Professional, Bright, Warm | hpp4J3VqNfWAUOO0d1Us | |
| Brian | Deep, Resonant and Comforting | nPczCjzI2devNBz1zQrb | |
| Hope | Bubbly, Gossipy and Girly | uYXf8XasLslADfZ2MB4u | |
| Jeff | Classy, Resonating and Strong | gs0tAILXbY5DNrJrsM6F | |
| Jamahal | Young, Vibrant, and Natural | DTKMou8ccj1ZaWGBiotd | |
| Finn | Youthful, Eager and Energetic | vBKc2FfBKJfcZNyEt1n6 | |
| Tom | Conversations & Books | DYkrAHD8iwork3YSUBbs | |
| Cassidy | Crisp, Direct and Clear | 56AoDkrOh6qfVPDXZ7Pt | |
| Addison 2.0 | Australian Audiobook & Podcast | eR40ATw9ArzDf9h3v7t7 | |
| Jessica Anne Bogart | Chatty and Friendly | g6xIsTj2HwM6VR4iXFCw | |
| Lucy | Fresh & Casual | lcMyyd2HUfFzxdCaC4Ta | |
| Tiffany | Natural and Welcoming | 6aDn1KB0hjpdcocrUkmq | |
| Felix | Warm, Positive & Contemporary RP | Sq93GQT4X1lKDXsQcixO | |
| Jessica Anne Bogart | Eloquent Villain | flHkNRp1BlvT73UL6gyz | |
| Lutz | Chuckling, Giggly and Cheerful | 9yzdeviXkFddZ4Oz8Mok | |
| Emma | Adorable and Upbeat | pPdl9cQBQq4p6mRkZy2Z | |
| Edward | Loud, Confident and Cocky | zYcjlYFOd3taleS0gkk3 | |
| Marshal | Friendly, Funny Professor | nzeAacJi50IvxcyDnMXa | |
| John Morgan | Gritty, Rugged Cowboy | ruirxsoakN0GWmGNIo04 | |
| Aria | Sultry Villain | TC0Zp7WVFzhA8zpTlRqV | |
| Viking Bjorn | Epic Medieval Raider | ljo9gAlSqKOvF6D8sOsX | |
| Pirate Marshal | Gruff, Theatrical Pirate | PPzYpIqttlTYA83688JI | |
| Johnny Kid | Serious and Calm Narrator | 8JVbfL6oEdmuxKn5DK2C | |
| Hope | Poetic, Romantic and Captivating | iCrDUkL56s3C8sCRl7wb | |
| Ana Rita | Smooth, Expressive and Bright | wJqPPQ618aTW29mptyoc | |
| John Doe | Deep | EiNlNiXeDU1pqqOPrYMO | |
| Burt Reynolds | Deep, Smooth and Clear | 4YYIPFl9wE5c4L2eu2Gb | |
| Hank | Deep and Engaging Narrator | 6F5Zhi321D3Oq7v1oNT4 | |
| Wyatt | Wise Rustic Cowboy | YXpFCvM1S3JbWEJhoskW | |
| Phil | Explosive, Passionate Announcer | LG95yZDEHg6fCZdQjLqj | |
| Johnny Dynamite | Vintage Radio DJ | CeNX9CMwmxDxUF5Q2Inm | |
| Rachel M | Pro British Radio Presenter | aD6riP1btT197c6dACmy | |
| Rex Thunder | Deep N Tough | mtrellq69YZsNwzUSyXh | |
| Ed | Late Night Announcer | dHd5gvgSOzSfduK4CvEg | |
| Jean | Alluring and Playful Femme Fatale | eVItLK1UvXctxuaRV2Oq | |
| Britney | Calm and Calculative Villain | esy0r39YPLQjOczyOib8 | |
| Sven | Emotional and Nice | Tsns2HvNFKfGiNjllgqo | |
| Viraj | Smooth and Gentle | 1U02n4nD6AdIZ9CjF053 | |
| Nathaniel | Engaging, British and Calm | AeRdCCKzvd23BpJoofzx | |
| Benjamin | Deep, Warm, Calming | LruHrtVF6PSyGItzMNHS | |
| Allison | Calm, Soothing and Meditative | 1wGbFxmAM3Fgw63G1zZJ | |
| Theodore HQ | Serene and Grounded | hqfrgApggtO1785R4Fsn | |
| Leon | Soothing and Grounded | MJ0RnG71ty4LH3dvNfSd |
Response
{
"code": 200,
"msg": "success",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
Estimate
Preview the credit cost without creating a task. The cost scales with the total character count of dialogue[].text.
curl -X POST https://api.aivideoapi.ai/v1/estimate \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "elevenlabs-text-to-dialogue-v3",
"input": {
"dialogue": [
{ "text": "Hello there!", "voice": "EkK5I93UQWFDigLMpZcX" }
]
}
}'
Query Task
curl https://api.aivideoapi.ai/v1/tasks/{taskId} \
-H "Authorization: Bearer sk-your-api-key"
Status transitions: pending -> processing -> completed or failed.
Completed
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"model": "elevenlabs-text-to-dialogue-v3",
"created_at": 1775383908,
"completed_at": 1775383956,
"output": {
"urls": [
"https://file.aivideoapi.ai/audio/2026/06/23/dialogue.mp3"
],
"metadata": {
"model": "elevenlabs-text-to-dialogue-v3"
}
}
}
Audio URLs are valid for 24 hours.
Failed
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "failed",
"model": "elevenlabs-text-to-dialogue-v3",
"created_at": 1775383908,
"error": {
"code": "upstream_error",
"message": "Generation failed"
}
}
When a task fails, pre-charged credits are automatically refunded.
Callback
Pass callback_url when creating the task. The system will automatically send a POST request to your URL when the task completes or fails. The format matches the query task response.
Error Codes
When a request fails, the API returns a JSON error response:
{
"error": {
"code": "insufficient_credits",
"message": "Your credit balance is too low. Please top up.",
"type": "billing_error"
}
}
Error Reference
| HTTP Status | Code | Type | Description |
|---|---|---|---|
| 400 | invalid_request | invalid_request_error | Missing or invalid parameters |
| 401 | invalid_api_key | authentication_error | API key is invalid, disabled, or deleted |
| 402 | insufficient_credits | billing_error | Credit balance too low, please top up |
| 403 | ip_not_allowed | permission_error | Request IP not in the key's allowlist |
| 404 | model_not_found | invalid_request_error | Model does not exist or is inactive |
| 404 | task_not_found | invalid_request_error | Task ID does not exist |
| 429 | rate_limit_exceeded | rate_limit_error | Too many requests, please slow down |
| 429 | spend_limit_exceeded | billing_error | Key spend limit reached (hourly/daily/total) |
| 500 | internal_error | api_error | Unexpected server error |
| 503 | upstream_error | upstream_error | Upstream AI provider returned an error |
Common Scenarios
invalid_request (400)
Returned when required fields are missing or invalid.
{
"error": {
"code": "invalid_request",
"message": "'model' is required.",
"type": "invalid_request_error"
}
}
insufficient_credits (402)
Your balance is too low. Check your balance with GET /v1/credits and top up in Dashboard > Billing.
invalid_api_key (401)
Possible causes:
- The key does not start with
sk- - The key has been disabled or deleted
- The user account has been banned
upstream_error (503)
The upstream AI provider returned an error. This may happen when:
- The input contains sensitive or prohibited content
- The provider is temporarily unavailable
- The request parameters are not supported by the provider
Credits are automatically refunded when a task fails due to upstream errors.