Mistral STT Skill
Standalone direct Node.js client for Mistral's Voxtral transcription API. The canonical client is scripts/transcribe.mjs; scripts/transcribe.sh is the shell entrypoint wrapper. There are no curl fallbacks or Python parser dependencies.
Usage
MISTRAL_API_KEY=xxx ./scripts/transcribe.sh audio.ogg [language] [model] [diarize]
MISTRAL_API_KEY=xxx ./scripts/transcribe.sh --file audio.ogg --lang ru --model voxtral-mini-latest --diarize true
- Outputs plain transcription text, or timestamped speaker segments when diarization is enabled.
- Fails fast when the file or
MISTRAL_API_KEYis missing.
CLI Options
--file,-f— audio file path.--lang,--language,-l— optional language code; omitted means provider auto-detection.--model,-m— Mistral transcription model; default:voxtral-mini-latest.--diarize,-d—trueto label speaker segments; default:false.--help,-h— usage.
Dependencies
- Node.js 18+ with built-in
fetch,FormData, andBlob. - Internet access.
Notes
- Diarization preserves Mistral's
speaker_idvalues without guessing or merging speakers.