首页/ AI 技能 / @skilllib/skill-2014279387699425281
Skill站外收录 @skilllib/skill-2014279387699425281

openai-whisper-api

将音频文件转换为文本内容,支持指定语言、提示词和输出格式,适用于会议记录、访谈整理等语音转文字场景。

0.0 (0) 361 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# OpenAI Whisper API (curl) Transcribe an audio file via OpenAI’s `/v1/audio/transcriptions` endpoint. ## Quick start ```bash {baseDir}/scripts/transcribe.sh /path/to/audio.m4a ``` Defaults: - Model: `whisper-1` - Output: `<input>.txt` ## Useful flags ```bash {baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 --out /tmp/transcript.txt {baseDir}/scripts/transcribe.sh /path/to/audio.m4a --language en {baseDir}/scripts/transcribe.sh /path/to/audio.m4a --prompt "Speaker names: Peter, Daniel" {baseDir}/scripts/transcribe.sh /path/to/audio.m4a --json --out /tmp/transcript.json ``` ## API key Set `OPENAI_API_KEY`, or configure it in `~/.clawdbot/clawdbot.json`: ```json5 { skills: { "openai-whisper-api": { apiKey: "OPENAI_KEY_HERE" } } } ```

评论 0

还没有评论,来抢沙发。