YepAPI
AI Models

Eleven v3 Dialogue

Several voices in one recording with Eleven v3, with audio tags for emotion and delivery.

Pricing, live playground and model overview: Eleven v3 Dialogue API on YepAPI

POST/v1/media/queue
$0.16/1K chars

Overview

Eleven v3 Dialogue makes one recording out of a list of lines, each with its own voice. It is the earlier dialogue model; Eleven v4 Dialogue is newer and takes longer scenes.

PropertyValue
Model IDelevenlabs/eleven-v3-dialogue
CategoryText to Speech
Pricing$0.16 per 1,000 characters

Usage

All media models use the async job queue. Submit a job, then poll for the result.

Step 1: Submit Job

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'elevenlabs/eleven-v3-dialogue',
    options: {
      params: {
        inputs: [
          {
            text: '[whispering] Did you hear that?',
            voice: 'vCHG6sKIqAbXWNNm5vpY'
          },
          {
            text: 'Hear what? There\'s nothing there.',
            voice: 'FVQMzxJGPUBtfz1Azdoy'
          }
        ]
      }
    }
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "elevenlabs/eleven-v3-dialogue", "options": {"params": {"inputs": [{"text": "[whispering] Did you hear that?", "voice": "vCHG6sKIqAbXWNNm5vpY"}, {"text": "Hear what? There'\''s nothing there.", "voice": "FVQMzxJGPUBtfz1Azdoy"}]}}}'

Step 2: Poll for Result

curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

When status is completed you get result.audio: { mimeType, base64 }, one file with every line. Results are kept for one hour.

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYeselevenlabs/eleven-v3-dialogue—
options.params.inputsarrayYesThe lines in order: [{ text, voice }]. Up to 10 voices and 5,000 characters in total—
options.outputFormatstringNomp3, pcm, opus or ulawmp3
options.params.stabilitynumberNo0 to 10.5
options.params.language_codestringNoForce a language, such as endetected
options.params.timestampsbooleanNoAlso return result.data with character timings and which voice speaks whenfalse
options.params.seedintegerNoRepeat a similar take—

Features

  • Up to 10 voices in one file
  • Audio tags
  • 70+ languages
  • Optional character timings per speaker

Billing

Billed on the characters in the lines, so the price is known when you submit. $0.01 minimum.

Under the Hood

Powered by ElevenLabs.

On this page