返回首页
Lanson Flow 文档库

Languages

The service passes the language value straight through to the upstream STT endpoint. Use the language code expected by the upstream model.

Common examples:

  • zh — Chinese
  • en — English
  • auto — let the upstream auto-detect the language
  • Real-time, [segment](/docs/api-reference/segment-transcription), and [batch jobs](/docs/api-reference/batch-jobs) all accept a language field. In the realtime gateway, update the language at any time with a session.update message.

    Model and capability identifiers

  • model — offline STT model override (default whisper-large-v3-turbo)
  • sttModel / stt_model — realtime STT model selection
  • normalizerModel / normalizer_model — text normalizer model selection
  • backend — upstream backend selection
  • Not all model fields are forwarded by the gateway; see [Session Configuration](/docs/realtime/session-configuration) for the current whitelist.

    Specific identifier values depend on the upstream provider and are not contractually fixed by this gateway.

    See also

  • [Live Translation](/docs/concepts/live-translation) — source language, target language, auto-detection, and code-switching
  • [Segment Transcription](/docs/api-reference/segment-transcription) — sync multipart parameters
  • [Batch Jobs](/docs/api-reference/batch-jobs) — async audio_url parameters
  • [Session Configuration](/docs/realtime/session-configuration) — realtime session.update fields