Skip to main content
Use this when you do not know in advance which language a caller will speak, or when you need to know which language was heard.

Turn it on

Send model=prisma-v3.0 with language_code=indic-auto, and read detected_language_code in the reply. This example uses the Tamil sample clip:
If you know the likely languages, send them instead, comma-separated, such as language_code=hi-IN,en-IN (1 to 4). They are a hint for the model, not a limit.

Examples

Hosted sample clips (synthetic, Timbre v3.0), sent to Prisma v3.0 on REST with no other options:
  • With the wrong hint, the Tamil clip is still transcribed in Tamil and tagged ta-IN.
  • The Marathi clip is told apart from Hindi, though both use the Devanagari script.
  • A Hindi sentence with English words is tagged hi-IN. To control how the English words are written, set the output style; format=codemix keeps them in Latin letters.
Each request gave the same result both times it was run. Synthetic speech is cleaner than most real recordings, so test on your own audio.

By interface

Form field language_code on POST /stt/v3, with model=prisma-v3.0. The reply carries detected_language_code for the whole clip.

By model

Rules and limits

Things to watch for

  • The tag comes from the script of the transcript, not from what you sent. Send ta-IN and get an English answer, and the tag is en-IN.
  • No tag for an empty transcript, a transcript of only digits or punctuation, text in a script the API does not map (such as Urdu or Odia), or format=transliterate, whose output is always in Latin letters. Read it with .get() rather than assuming it is there.
  • Hindi and Marathi share a script, so a very short utterance (a greeting, a name, a number) may be tagged hi-IN. If you know which one to expect, send only that code.
  • Mostly-English speech with a short native phrase can be tagged en-IN: the native-language tag needs at least 30 % of the letters to be in the native script.
  • With format=transliterate, a list of languages is ignored and the language is detected automatically.
  • Python SDK. For a list of languages, the SDK takes language_code="indic-auto" with language_candidates=[...] (2 to 4) instead of a comma-separated language_code.

Language detection on Prisma v3.0

How the tag is worked out, in more detail.

Supported languages

Every language code, with its script.

Choose an output style

How English words and numbers are written in a mixed-language transcript.

Improve names and terms

Help the model spell names and domain words.
Last modified on December 2, 2026