Skip to main content

Getting started

Which interface should I use: REST, Realtime or Batch?

Any model works with any interface. See Overview.

Which model should I use?

Prisma v3.0 for audio where the language is not known in advance, speech that mixes languages, and when you want to give hints such as names and topics. Prisma v2.5 transcribes in the language you specify, and is the default when you leave out model. Send model=prisma-v3.0 to use Prisma v3.0. See Models.

Does /stt/v3 mean Prisma v3.0?

No. The 3 is the URL version. Both models are served from /stt/v3, and only the model value decides which one runs.

Which languages are supported?

Hindi, English, Bengali, Gujarati, Kannada, Malayalam, Marathi, Punjabi, Tamil and Telugu, on both models and every interface. See Supported languages and Building for Indian languages.

Transcripts

Why is my transcript empty?

An empty transcript is not an error. It comes back when:
  • The clip has no speech, or is shorter than 0.1 seconds.
  • On Realtime, voice activity was not detected. Quiet or distant speech can fall below x-vad-threshold; lower it. A high x-min-segment-ms drops short answers without a transcript. See VAD tuning.
A zero-byte file is different: it returns 400 EMPTY_AUDIO.

My audio is longer than 30 seconds. What can I do?

REST refuses it with 400 MAX_AUDIO_DURATION_EXCEEDED. Send it to Batch (up to 4 hours per file), or stream it on Realtime (sessions of up to 15 minutes).

The Realtime transcript is garbled. Why?

Most often x-sample-rate does not match the audio: 8 kHz audio sent as 16000 plays to the model at double speed. Read the rate from your audio source. Also check that you send raw PCM, not a WAV or MP3 file, at real-time pace. See Phone audio.

What does truncated: true mean?

Prisma v3.0 hit its output limit and the transcript was cut short. The field is only present when this happens. Send shorter clips, or use Batch.

Why do I get slightly different results for the same audio?

With Prisma v3.0, results for identical audio can differ by a borderline word. Store the transcript if you need the same output every time. See REST transcription.

Why are numbers written as words, not digits?

The output style decides it. Send format=transcribe for digits. Prisma v2.5 uses verbatim (words) by default and formats numbers only for hi-IN and en-IN. Prisma v3.0 uses digits by default only when you send a single hi-IN or en-IN. The Python SDK sends format="verbatim" unless you set it. See Format numbers.

Why are English words written in Hindi script?

With verbatim, English words are written in the script of the language. On Prisma v3.0, use transcribe or codemix to keep them in Latin letters, or transliterate for the whole transcript in Latin letters. See Choose an output style.

Names, brands and product terms come out wrong. How do I fix them?

Send them as keyterms on Prisma v3.0 (up to 200 words or short phrases), or as bias_list with bias_score on Prisma v2.5. For words that are always wrong in the same way, use find-and-replace. Compare results with and without hints: on some audio they lower accuracy. See Improve names and terms.

The detected language is wrong. Why?

detected_language_code is judged from the script of the transcript. Hindi and Marathi share a script, so a very short Marathi utterance can be tagged hi-IN, and mostly-English speech with a short Hindi phrase can be tagged en-IN. If you know the language, send only that code. See Detect the language.

Can I tell who said what?

Yes, on Batch only. Each segment has a speaker_id. REST and Realtime do not label speakers; for a phone call with one speaker per channel, stream each channel on its own Realtime connection. See Label speakers.

Realtime streaming

Can I connect to Realtime from a browser?

Not directly. The connection needs your API key in a header, which a browser cannot set and must never see. Stream from the browser to a small relay on your server instead. See Stream from a browser.

What audio does Realtime accept?

Raw 16-bit little-endian mono PCM with no header, in 1,024-byte frames, sent at real-time pace: one frame every 32 ms at 16 kHz, or every 64 ms at 8 kHz. Set x-sample-rate to the rate of your audio. See PCM specification.

How do I get the last words before I hang up?

Send {"type": "commit"}. It ends the open utterance at once instead of waiting for silence.

Why did my session close?

See the Realtime error reference.

How do I transcribe phone calls?

Send x-sample-rate: 8000, use the telephony voice-activity settings, and decode µ-law or A-law to 16-bit PCM first. See Phone audio.

Batch

My transcript_url stopped working.

It expires after 1 hour. Call Get job files again for a fresh link.

How large can Batch files be?

Up to 4 hours per file, and 100 files per upload job. Uploaded files can be up to 10 MB each, or up to 5 GiB with a presigned upload. See Batch limits.

Limits, errors and billing

Why do I get 429 RATE_LIMITED?

On the Free and Pay as you go plans, each API key and account can send 1 request per second and hold 20 Realtime connections at once. Batch jobs do not count. Wait and retry with backoff. See Limits and Retrying.

Which audio formats does REST accept?

WAV, MP3, OGG, FLAC, AAC and M4A, detected from the file-name extension. An unsupported extension returns 400 UNSUPPORTED_AUDIO_FORMAT; a file that cannot be decoded returns 400 AUDIO_CONVERSION_ERROR.

How much does Speech-to-Text cost?

₹20 per hour of audio, excluding GST, on REST, Realtime and Batch. See Limits and billing.

Error Reference

Every error code and what to do about it.

Limits

Audio length, formats, rate limits and sessions.

Building for Indian languages

Language codes, mixed languages, scripts and numbers.

Quickstart

Your first transcript in a few minutes.
Last modified on December 2, 2026