Skip to main content
If you already know the dominant language of your audio file, you can use the language_code parameter to specify the language rather than using Automatic language detection.

Quickstart

Set multiple languages

If your audio spans a known set of languages rather than a single dominant one, Universal-3.5 Pro accepts the language_codes parameter (plural). Transcription is constrained to the languages you list while still code-switching among them:
A one-element list such as ["es"] behaves exactly like setting language_code to "es". language_codes is mutually exclusive with language_code and language_detection, so set only one of the three. For the full behavior, supported languages, and fallback rules, see Code switching. See the Supported languages page for all supported languages and their codes.