← Back to catalog

ElevenLabs STT

Live
audiostt

Transcribe speech from an audio file to text.

Endpoint

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

Authenticate with the X-API-Key request header.

Pricing

6 credits / call1 credit = ₹1. Billed on success: per generation.

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

Parameters

NameTypeRequiredDescriptionDefault / options
audio_urlstringrequiredSource audio to transcribe.
model_idstringoptionalSTT model id (scribe_v1).
default: scribe_v1
language_codestringoptionalISO 639-1/3 language code; auto-detected if omitted.
tag_audio_eventsbooleanoptionalTag non-speech events (laughter, etc).
default: true
num_speakersnumberoptionalHint for number of speakers (1-32).
timestamps_granularitystringoptionalTimestamp granularity: none, word, character.
default: word
diarizebooleanoptionalAnnotate which speaker is talking.
default: false

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/audio/elevenlabs-stt \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"audio_url":"https://example.com/talk.mp3"}'
request body (JSON)
{
  "audio_url": "https://example.com/talk.mp3"
}

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_elevenlabsstt_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_elevenlabsstt_a1b2c3",
  "model": "elevenlabs-stt",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/elevenlabs-stt/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.