Back to workflow skills
AI and AgentsOpenAI speech-to-text APIPW
AuthorOpenClaw
AI and Agents Skill

OpenAI speech-to-text API

Transcribing audio via the OpenAI Audio Transcriptions API (Whisper).

0Uses38Likes48Views

What this skill does

# 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 `~/.openclaw/openclaw.json`: ```json5 { skills: { "openai-whisper-api": { apiKey: "OPENAI_KEY_HERE", }, }, } ```

  • Clarifies goals, inputs, and success criteria
  • Preserves evidence and marks uncertain boundaries
  • Produces structured, editable results
Installationnpx clawhub@latest install openai-whisper-apiView source