Skip to main content
Pass language_codes in the config part to steer transcription toward a specific language. For multilingual or code-switching audio, pass an array of codes instead of a single code.
  • Accepts a single ISO language code ("es") or a list of codes (["en", "es"])
  • Defaults to English (en) when omitted
  • Ignored when a custom prompt is set — state the language as part of your contextual prompt if you use both (see Specifying the language)
For multilingual or code-switching audio, pass language_codes as an array listing every expected language:
With the SDKs, list the same codes: SyncTranscriptionConfig(language_codes=["en", "es"]) in Python, or { language_codes: ["en", "es"] } in JavaScript.

Supported languages

The endpoint accepts 32 codes. Anything outside this set is rejected with a 400 that lists the full set in its detail.