language_code 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 639-1 code (
"es") or a list of codes (["en", "es"]) - Defaults to English (
en) when omitted - Ignored when a custom
promptis set — state the language as part of your contextual prompt if you use both (see Specifying the language)
- Python
- JavaScript
- cURL
language_code as an array listing every expected language: