Openclaw-prompts-and-skills openai-whisper-api

Transcribe audio via OpenAI Audio Transcriptions API (Whisper).

install
source · Clone the upstream repo
git clone https://github.com/seedprod/openclaw-prompts-and-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/seedprod/openclaw-prompts-and-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/openai-whisper-api" ~/.claude/skills/seedprod-openclaw-prompts-and-skills-openai-whisper-api && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/seedprod/openclaw-prompts-and-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/.claude/skills/openai-whisper-api" ~/.openclaw/skills/seedprod-openclaw-prompts-and-skills-openai-whisper-api && rm -rf "$T"
manifest: .claude/skills/openai-whisper-api/SKILL.md
source content

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"
    }
  }
}