金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

transcribe

transcribe 是面向内容与媒体的 Agent Skill,来自 badlogic/pi-skills。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

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

SKILL.md

下载 MD ↓
nametranscribe
descriptionSpeech-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): bash 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.

来源:badlogic/pi-skills · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本