Skip to content
Skillpedia
Audio & voice394k · #70

openai-whisper-api

What it does

It guides an AI agent through transcribing audio files, such as voice notes, podcasts, or meetings, with OpenAI's transcription models. It is for people who need written text from a recording.

When to use it

  • ✓When you have a voice memo or recording that you want as written text.
  • ✓When you need a transcript that labels who is speaking.
  • ✓When you want to transcribe an audio file in a particular language.

Skill link

https://github.com/openclaw/openclaw/blob/main/skills/openai-whisper-api/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/openai-whisper-api/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Transcribe my voice memo from this morning into a text file, and label the speakers if there are several.”

5 new skills a week. 1 minute to read.

How it works

The skill sends the audio file to OpenAI's transcription service and saves the result as a text or JSON file. You can choose a different model or add a language hint, and it can use a custom base address if you have one.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

OpenAI transcriptions API

Transcribe audio through /v1/audio/transcriptions. Set OPENAI_BASE_URL for an OpenAI-compatible proxy or local gateway.

Quick start

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

Defaults:

  • Model: gpt-4o-transcribe
  • Output: <input>.txt

Useful flags

{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:

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

Which audio formats work?

Common formats such as mp3, mp4, m4a, wav, and webm are supported, with a 25 MB upload limit.

Do I need an OpenAI key?

Yes. You set an OPENAI_API_KEY or add the key to your OpenClaw config file.

Can it label different speakers?

Yes. The diarize model adds speaker labels, although it does not accept a prompt.

Details

Original description by the author

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

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#70
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills