HiAPI
OverviewModels MarketAPI KeysUsage StatisticsCall LogsBillingReferralPlaygroundStorageChangelogContact UsSettings
Display unit
N
Powered by hiapi
Settings

Welcome

Contact Us

Create multi-speaker dialogue with ElevenLabs Text to Dialogue. Hear a real audio drama, map voices to lines, review pricing, and copy API code.

Provider: ElevenLabs

Category: music generation

Endpoint: /v1/tasks

Status: Available

Cost: See live page pricing

Back to Models

ElevenLabs Text to Dialogue

New
by ElevenLabsMusic

Create multi-speaker dialogue with ElevenLabs Text to Dialogue. Hear a real audio drama, map voices to lines, review pricing, and copy API code.

Pricing

Standard Usage

250 Credits/ 1K characters

Input

Example dialogues (click to fill)
0 / 5000
Line 1
Text
Voice

Write the conversation line by line; each line can use a different voice. Total characters across all lines must not exceed 5000; At least 1 items

More parameters

Generation settings

0 = more emotional and varied, 0.5 = balanced, 1 = most stable and consistent

Auto-detects the language by default; you can also set it manually

Estimated cost0 Credits0 characters × 250 Credits / 1K chars

Output

Ready for generation

Configure your parameters and click "Run" to see the output here.

--GPU-T4

Hear multi-speaker dialogue

Review the script, speaker mapping, and generated audio together to judge speaker separation and dialogue flow.

Brian × Laura × Mark · Three speakers

Rainy-night drama

Three speakers alternate across a short suspense scene with a stable voice assigned to every line.

Dialogue script

Brian: Midnight. The city hummed beneath a curtain of rain. Laura: You're late. I almost gave up on you. Mark: The bridge was watched. I took the long way. Laura: Then we don't have much time.

Related audio models

Choose an adjacent route for music, single-speaker speech, or multi-speaker dialogue.

Low-latency speech

Qwen-Audio 3.0 TTS Flash

Responsive speech for assistants, notifications, and voice agents.

High-quality narration

Qwen-Audio 3.0 TTS Plus

Higher-quality voiceovers for video narration and spoken content.

Compare AI audio APIs

About ElevenLabs Text to Dialogue

Create multi-speaker dialogue with ElevenLabs Text to Dialogue. Hear a real audio drama, map voices to lines, review pricing, and copy API code.

The Playground, listening examples, and API Quickstart use the same model ID: elevenlabs/text-to-dialogue.

Provider
ElevenLabs
Task
Multi-speaker Dialogue
Output
Audio
Pricing
250 Credits / 1K characters

Model specifications

These specifications reflect the current ElevenLabs Text to Dialogue request contract.

Dialogue
Up to 5,000 combined characters
Voice control
One voice per line70+ languages
Stability
0 / 0.5 / 1
Billing
250 Credits / 1K characters

How to use ElevenLabs Text to Dialogue

Use three steps to organize the input, validate the audio, and integrate the API.

01 Split the script by speaker

Put each line in a separate dialogue item with clear speaker roles.

02 Assign a voice to every line

Reuse the same voice for each character, then set language and stability when needed.

03 Review speaker transitions

Check speaker separation, pauses, and dialogue flow before production integration.

API Quickstart

Copy a minimal request. See Docs for complete parameters, task retrieval, and errors.

Endpoint
POST /v1/tasks
Model ID
elevenlabs/text-to-dialogue
cURL
curl -X POST https://api.hiapi.ai/v1/tasks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/text-to-dialogue",
  "input": {
    "dialogue": [
      {
        "text": "Midnight. The city hummed beneath a curtain of rain.",
        "voice": "Brian"
      },
      {
        "text": "You're late. I almost gave up on you.",
        "voice": "Laura"
      }
    ],
    "stability": 0.5
  }
}'

The create request immediately returns a taskId; audio generation continues asynchronously.

Read the full API documentation

Frequently asked questions

How does ElevenLabs Text to Dialogue separate speakers?

Dialogue is an array of lines, each with text and a voice. Reuse the same voice for a character to keep that speaker consistent.

How much dialogue can one request contain?

The combined dialogue.text content can contain up to 5,000 characters. Language can be detected automatically or set with language_code.

How is dialogue generation billed?

HiAPI bills effective dialogue text characters and displays the rate per 1,000 characters. See the live page price and task record for the final charge.