Groq STT Skill
Standalone direct Node.js client for Groq's Whisper transcription API. The canonical client is scripts/transcribe.mjs; scripts/transcribe.sh is the shell entrypoint wrapper. There are no curl fallbacks or JSON parser dependencies.
Usage
GROQ_API_KEY=xxx ./scripts/transcribe.sh audio.ogg [language] [model] [diarize]
GROQ_API_KEY=xxx ./scripts/transcribe.sh --file audio.ogg --lang ru --model whisper-large-v3-turbo --diarize true
- Outputs plain transcription text, or timestamped speaker segments when diarization is enabled.
- Fails fast when the file or
GROQ_API_KEYis missing.
CLI Options
--file,-f— audio file path.--lang,--language,-l— optional language code; omitted means provider auto-detection.--model,-m— Groq transcription model; default:whisper-large-v3-turbo.--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 Groq's
speakerlabels without guessing or merging speakers.