The Lanson Live API now supports multi-target translation for both realtime WebSocket streams and asynchronous batch transcription jobs, along with a dedicated language-detection endpoint.
Realtime Translation
- Pass
session.update.target_languages(up to 8 BCP-47 target languages) or the single-language shorthandtranslate_tobefore audio starts. session.updatedconfirms the activelanguage,target_languages, and sessionfeatures.- Translated utterances arrive as independent
live.translation.completedevents per utterance and target language, decoupled from the source transcript stream.
Recorded Batch Translation & Token Usage
POST /v1/audio/transcriptions/jobsacceptstarget_languages(max 8) andtranslate_to.- Completed jobs return
result.translations[](one track per target language with segment IDs, timestamps,text, andsource_text) alongsideresult.metadata.translationandresult.metadata.llm_usagebreakdowns.
Language Detection
For clients that do not know the spoken language up front, POST /v1/audio/language-detection detects the language prior to session setup, or realtime sessions can omit language (or pass "auto") for automatic mid-session detection. See Language Detection and Realtime Translation.
