Optionalcode_Should code switching be enabled for this transcription.
Optionalcode_The confidence threshold for the automatically detected code switching language.
Optionalexpected_A list of languages that the audio could be expected to be.
Optionalfallback_The language to fallback to in case the language detection does not predict any of the expected ones.
Optionallanguage_The language detection model to use.
Optionallocalization?: string[] | nullRegional variants such as "en_au" or "en_uk", with at most one per base language.
Optionalon_Controls behavior when language confidence is below threshold. Either "error" (default) or "fallback".
Optionalon_Controls behavior when no speech is detected. "fallback" returns an empty
completed transcript with metadata.warnings. Use a specific fallback_language;
"auto" is rejected. Successful fallback transcripts are billable.
Optionalswiss_If True, route German language requests as Swiss German audio. Only applies when language_detection is enabled and German is detected.
Options for controlling the behavior of Automatic Language Detection