SKILL.md
readonly

openai-whisper-api

著者:openclaw
カテゴリ:
開発
323.6k
62.4k
name: openai-whisper-api
description: Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
homepage: https://platform.openai.com/docs/guides/speech-to-text

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

アクション

install --global skills.sh
npx skills add openclaw/openclaw/skills/openai-whisper-api

使用ガイド

  1. 1. インストールコマンドを実行

    上記のインストールコマンドをコピーしてターミナルで実行してください。

  2. 2. 環境の設定

    スキルの説明に従って、MCPクライアントに必要な環境変数を追加してください。

  3. 3. クライアントで使用

    MCP対応アプリ(ClaudeまたはCursorなど)でこのスキルを設定して有効化してください。