# Openai Whisper API

Transcribe audio via OpenAI Audio Transcriptions API (Whisper).

- Repository: https://github.com/SafeAI-Lab-X/ClawKeeper (1020 stars)
- Category: Media
- License: see repository
- Last updated: 2026-08-17
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add SafeAI-Lab-X/ClawKeeper --skill openai-whisper-api -g -a claude-code -y`
Codex: `npx skills add SafeAI-Lab-X/ClawKeeper --skill openai-whisper-api -g -a codex -y`
Cursor: `npx skills add SafeAI-Lab-X/ClawKeeper --skill openai-whisper-api -g -a cursor -y`
Gemini CLI: `npx skills add SafeAI-Lab-X/ClawKeeper --skill openai-whisper-api -g -a gemini-cli -y`

## Description

Transcribe audio via OpenAI Audio Transcriptions API (Whisper).

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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",
    },
  },
}
```

