界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

transcribe

transcribe

【开发与工程】Speech-to-text transcription using Groq Whisper API. Supports m4a, mp3, wav, ogg, flac, webm.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: transcribe description: Speech-to-text transcription using Groq Whisper API. Supports m4a, mp3, wav, ogg, flac, webm.

Transcribe

Speech-to-text using Groq Whisper API.

Setup

The script needs GROQ_API_KEY environment variable. Check if already set:

echo $GROQ_API_KEY

If not set, guide the user through setup:

  1. Ask if they have a Groq API key
  2. If not, have them sign up at https://console.groq.com/ and create an API key
  3. Have them add to their shell profile (~/.zshrc or ~/.bashrc):
    export GROQ_API_KEY="<their-api-key>"
    
  4. Then run source ~/.zshrc (or restart terminal)

Usage

{baseDir}/transcribe.sh <audio-file>

Supported Formats

  • m4a, mp3, wav, ogg, flac, webm
  • Max file size: 25MB

Output

Returns plain text transcription with punctuation and proper capitalization to stdout.

我的收藏