← Back to catalog

ElevenLabs Dialogue

Live
audiotts

Multi-speaker dialogue synthesis from an ordered list of lines.

Endpoint

POSThttps://brahmand-api.bulletshorts.co/v1/audio/elevenlabs-dialogue

Authenticate with the X-API-Key request header.

Pricing

13 credits / 1k chars1 credit = ₹1. Billed on success: per character.

List price. Volume / bulk customers get a discounted rate — contact us for account pricing.

Parameters

NameTypeRequiredDescriptionDefault / options
inputsstring[]requiredOrdered array of { text, voice_id } dialogue turns (max 10 voices, ~2000 chars total).
model_idstringoptionalDialogue model id.
default: eleven_v3
stabilitynumberoptionalVoice stability (0-1); lower = more emotional range.
default: 0.5
seednumberoptionalDeterministic sampling seed (0-4294967295).
language_codestringoptionalISO 639-1 language code to enforce.
apply_text_normalizationstringoptionalText normalization mode: auto, on, off.
default: auto
output_formatstringoptionalAudio output format (e.g. mp3_44100_128).
default: mp3_44100_128

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/audio/elevenlabs-dialogue \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":[{"text":"Are you ready?","voice_id":"Adam"},{"text":"Absolutely.","voice_id":"Rachel"}]}'
request body (JSON)
{
  "inputs": [
    {
      "text": "Are you ready?",
      "voice_id": "Adam"
    },
    {
      "text": "Absolutely.",
      "voice_id": "Rachel"
    }
  ]
}

Response

Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.

202 Accepted
{
  "job_id": "job_elevenlabsdialogue_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_elevenlabsdialogue_a1b2c3",
  "model": "elevenlabs-dialogue",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/elevenlabs-dialogue/a1b2c3.mp3",
        "type": "audio"
      }
    ]
  },
  "credits_charged": 10
}

Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.