Agent Skillsvakovalskii/LocalTaskClaw › openai-whisper-api

openai-whisper-api

GitHub

通过调用 OpenAI Whisper API 对音频文件进行转录,支持指定模型、语言及输出格式,适用于语音转文字场景。

core/skills/openai-whisper-api/SKILL.md vakovalskii/LocalTaskClaw

触发场景

需要转录音频文件 将语音转换为文本

安装

npx skills add vakovalskii/LocalTaskClaw --skill openai-whisper-api -g -y
更多选项

非标准路径

npx skills add https://github.com/vakovalskii/LocalTaskClaw/tree/main/core/skills/openai-whisper-api -g -y

不安装直接使用

npx skills use vakovalskii/LocalTaskClaw@openai-whisper-api

指定 Agent (Claude Code)

npx skills add vakovalskii/LocalTaskClaw --skill openai-whisper-api -a claude-code -g -y

安装 repo 全部 skill

npx skills add vakovalskii/LocalTaskClaw --all -g -y

预览 repo 内 skill

npx skills add vakovalskii/LocalTaskClaw --list

SKILL.md

Frontmatter
{
    "name": "openai-whisper-api",
    "homepage": "https:\/\/platform.openai.com\/docs\/guides\/speech-to-text",
    "metadata": {
        "openclaw": {
            "emoji": "☁️",
            "requires": {
                "env": [
                    "OPENAI_API_KEY"
                ],
                "bins": [
                    "curl"
                ]
            },
            "primaryEnv": "OPENAI_API_KEY"
        }
    },
    "description": "Transcribe audio via OpenAI Audio Transcriptions API (Whisper)."
}

OpenAI Whisper API (curl)

Transcribe an audio file via OpenAI’s /v1/audio/transcriptions endpoint.

Quick start

{baseDir}/scripts/transcribe.sh /path/to/audio.m4a

Defaults:

  • Model: whisper-1
  • Output: <input>.txt

Useful flags

{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 ~/.openclaw/openclaw.json:

{
  skills: {
    "openai-whisper-api": {
      apiKey: "OPENAI_KEY_HERE",
    },
  },
}

版本历史

  • dc3ec90 当前 2026-07-25 11:26

同 Skill 集合

core/skills/github/SKILL.md
core/skills/nano-pdf/SKILL.md
core/skills/tmux/SKILL.md
core/skills/weather/SKILL.md
core/skills/coding-agent/SKILL.md

元信息

文件数
0
版本
dc3ec90
Hash
c0ad5004
收录时间
2026-07-25 11:26

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-31 22:00
浙ICP备14020137号-1 $访客地图$