groq-stt
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGroq STT Skill
Groq STT 技能
This skill uploads an audio file to the Groq Speech-to-Text API and saves the transcription.
该技能可将音频文件上传至Groq语音转文本API并保存转录结果。
Usage
使用方法
bash
undefinedbash
undefinedset your API key (or use .env in the repo root)
set your API key (or use .env in the repo root)
export GROQ_API_KEY=your_api_key_here
export GROQ_API_KEY=your_api_key_here
run the script with a path to an audio file
run the script with a path to an audio file
node scripts/transcribe.mjs /path/to/audio.mp4
undefinednode scripts/transcribe.mjs /path/to/audio.mp4
undefinedOutput
输出
- Writes a next to the input file.
{filename}_transcript.txt
- 在输入文件的同级目录下生成名为的文件。
{filename}_transcript.txt
Notes
注意事项
- Uses the model by default.
whisper-large-v3-turbo - Supported file types: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm
- 默认使用模型。
whisper-large-v3-turbo - 支持的文件类型:flac、mp3、mp4、mpeg、mpga、m4a、ogg、wav、webm