Automatic Language Detection
Identify the dominant language spoken in an audio file and use it during the transcription. Enable it to detect any of the supported languages.
Additional language support
We will be adding support for all Universal tier languages by the end of Q3 2025. Until then, if you need automatic language detection for an unsupported language please reach out to our Support team at support@assemblyai.com for more information on how that can be accomplished.
Confidence score
If language detection is enabled, the API returns a confidence score for the detected language. The score ranges from 0.0 (low confidence) to 1.0 (high confidence).
Set a language confidence threshold
You can set the confidence threshold that must be reached if language detection is enabled. An error will be returned if the language confidence is below this threshold. Valid values are in the range [0,1] inclusive.
Fallback to a default language
For a workflow that resubmits a transcription request using a default language if the threshold is not reached, see this cookbook.