Skip to main content

openai-whisper-api

OpenAI Audio Transcriptions API via curl; gpt-4o-transcribe, mini, diarize, or whisper-1.

Jump to install

Source facts

Repository
openclaw/openclaw
Last source activity
May 22, 2026 at 22:37
Detected SKILL.md language
English
Stars
390,629
Forks
82,163

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
openai-whisper-api
description
OpenAI Audio Transcriptions API via curl; gpt-4o-transcribe, mini, diarize, or whisper-1.
homepage
https://platform.openai.com/docs/guides/speech-to-text
metadata
{"openclaw":{"emoji":"🌐","requires":{"bins":"[Truncated]","env":"[Truncated]"},"primaryEnv":"OPENAI_API_KEY","install":["[Truncated]"]}}
# OpenAI transcriptions API Transcribe audio through `/v1/audio/transcriptions`. Set `OPENAI_BASE_URL` for an OpenAI-compatible proxy or local gateway. ## Quick start ```bash {baseDir}/scripts/transcribe.sh /path/to/audio.m4a ``` Defaults: - Model: `gpt-4o-transcribe` - Output: `<input>.txt` ## Useful flags ```bash {baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model gpt-4o-transcribe --out /tmp/transcript.txt {baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model gpt-4o-mini-transcribe {baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model gpt-4o-transcribe-diarize --json {baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 {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 ``` Notes: - Supported upload formats include `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. - 25 MB upload limit on the hosted API. - Use diarize for speaker labels; script sends `chunking_strategy=auto` and rejects `--prompt`. ## API key Set `OPENAI_API_KEY`, or configure it in the active OpenClaw config file (`$OPENCLAW_CONFIG_PATH`, default `~/.openclaw/openclaw.json`). Optionally set `OPENAI_BASE_URL`: ```json5 { skills: { "openai-whisper-api": { apiKey: "OPENAI_KEY_HERE", }, }, } ```
View on GitHub