Transcribe an audio file via OpenAI’s /v1/audio/transcriptions endpoint.
{baseDir}/scripts/transcribe.sh /path/to/audio.m4aDefaults:
whisper-1<input>.txt{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.jsonSet OPENAI_API_KEY, or configure it in ~/.openclaw/openclaw.json:
{
skills: {
"openai-whisper-api": {
apiKey: "OPENAI_KEY_HERE",
},
},
}npx skills add openclaw/openclaw/skills/openai-whisper-api上記のインストールコマンドをコピーしてターミナルで実行してください。
スキルの説明に従って、MCPクライアントに必要な環境変数を追加してください。
MCP対応アプリ(ClaudeまたはCursorなど)でこのスキルを設定して有効化してください。