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"]) - When omitted, no language steering is applied
- Applies alongside a custom
prompt— see Specifying the language
- Python SDK
- JavaScript SDK
- Python
- JavaScript
- cURL
language_codes as an array listing every expected language:
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 a400 that lists the full set in its detail.