← Back to catalog

ElevenLabs

Live
audiotts

ElevenLabs text-to-speech with selectable voice and model.

Endpoint

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

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
textstringrequiredText to synthesize (max 5000 chars).
voice_idstringoptionalElevenLabs voice id.
tts_modelstringoptionalTTS model id (eleven_multilingual_v2, eleven_turbo_v2_5, eleven_v3, eleven_flash_v2_5).
default: eleven_v3
voice_settingsobjectoptionalVoice tuning: { stability 0-1, similarity_boost 0-1, style 0-1, use_speaker_boost, speed }.
output_formatstringoptionalAudio output format (e.g. mp3_44100_128, pcm_24000).
default: mp3_44100_128
language_codestringoptionalISO 639-1 language code to enforce.
seednumberoptionalDeterministic sampling seed (0-4294967295).
previous_textstringoptionalPreceding text for prosody continuity.
next_textstringoptionalFollowing text for prosody continuity.
apply_text_normalizationstringoptionalText normalization mode: auto, on, off.
default: auto

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/audio/elevenlabs \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello from Trinetra Brahmand.","voice_id":"Rachel"}'
request body (JSON)
{
  "text": "Hello from Trinetra Brahmand.",
  "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_elevenlabs_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_elevenlabs_a1b2c3",
  "model": "elevenlabs",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/elevenlabs/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.