Learn how to enable language detection
Set thelanguage query parameter to multi when calling https://waves-api.smallest.ai/api/v1/lightning/get_text. Lightning STT will auto-detect the spoken language across 30+ ISO 639-1 codes without changing your request body, whether you upload raw audio bytes or send a hosted URL.
Output format & field of interest
When language detection is enabled, thetranscription, word_timestamps, and utterances arrays are emitted in the detected language. Persist the detected locale in your app by storing the language parameter you supplied (for auditing) and by inspecting downstream metadata such as subtitles or captions that inherit the localized transcript.

