Provides STT language code mapping and resolution for the X.ai STT API.
// Source: https://github.com/xai-org/grok-build | License: Apache-2.0 | Copyright 2023-2026 SpaceXAI // Provided via justclaw.it.com; keep this notice with the code. //! Grok Speech-to-Text language codes. //! //! Source of truth for the `language` query/form parameter on //! `https://api.x.ai/v1/stt` and `wss://api.x.ai/v1/stt`. //! //! Official catalog (25 languages): //! <https://docs.x.ai/developers/model-capabilities/audio/speech-to-text#supported-languages> //! //! Per the docs, the model can transcribe these languages regardless of the parameter. //! Setting `language` enables Inverse Text Normalization for that language: numbers, currencies, and units come out in written form. //! The STT API does **not** accept `auto` (unlike TTS); clients must send a concrete code. //! Use [`lan ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key