Mistral Stt

Transcribe audio files using Mistral AI Voxtral.

llblab Updated

File contents

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_KEY is 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, -dtrue to label speaker segments; default: false.
  • --help, -h — usage.

Dependencies

  • Node.js 18+ with built-in fetch, FormData, and Blob.
  • Internet access.

Notes

  • Diarization preserves Mistral's speaker_id values without guessing or merging speakers.

llblab/skills/tree/main/mistral-stt commit 5d95262fd0

Frequently asked questions

npx skillmds@latest add llblab/mistral-stt