Skip to main content

Language hints

Language detection is automatic by default. When you already know the spoken language, pass a hint with the upload language field or realtime transcription.language field.

Common accepted codes are:

CodeLanguageCodeLanguage
arArabiccsCzech
daDanishdeGerman
elGreekenEnglish
esSpanishfaPersian
fiFinnishfilFilipino
frFrenchhiHindi
huHungarianidIndonesian
itItalianjaJapanese
koKoreanmkMacedonian
msMalaynlDutch
plPolishptPortuguese
roRomanianruRussian
svSwedishthThai
trTurkishviVietnamese
yueCantonesezhChinese

Full language names such as English, Spanish, and Cantonese are also accepted case-insensitively. Chinese regional hints include anhui, dongbei, fujian, gansu, guizhou, hebei, henan, hubei, hunan, jiangxi, ningxia, shaanxi, shandong, shanxi, sichuan, tianjin, yunnan, and zhejiang. The API also recognizes Cantonese (Hong Kong accent), Cantonese (Guangdong accent), Wu language, and Minnan language.

Omit the field or use auto for automatic detection. An unrecognized hint currently falls back to automatic detection rather than returning an error.