Community程式設計與開發github.com

openai-whisper-api

透過 curl 使用 OpenAI 音訊轉錄 API;支援 gpt-4o-transcribe、mini、diarize 或 whisper-1 模型。

openai-whisper-api 是什麼?

這個技能提供了一個簡潔的命令列介面,用於透過 OpenAI 的 /v1/audio/transcriptions 端點將音訊檔案轉錄為文字。它支援多種模型,包括 gpt-4o-transcribe 及其變體(如 mini 和 diarize),以及傳統的 whisper-1。使用者可以透過設定 OPENAI_BASE_URL 環境變數來路由請求至 OpenAI 相容的代理或本地閘道。技能支援常見音訊格式(如 mp3、m4a、wav),並內建 25 MB 上傳限制。透過語音日誌(diarization)功能可區分說話者,並支援自訂提示(prompt)以提升轉錄準確性。API 金鑰可透過環境變數 OPENAI_API_KEY 設定,或儲存在 OpenClaw 設定檔中。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/openai-whisper-api

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

OpenAI 轉錄 API

透過 /v1/audio/transcriptions 轉錄音訊。設定 OPENAI_BASE_URL 以使用 OpenAI 相容的代理或本地閘道。

快速開始

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

預設:

  • 模型:gpt-4o-transcribe
  • 輸出:<輸入>.txt

實用旗標

{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 "說話者名稱:Peter, Daniel"
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --json --out /tmp/transcript.json

注意事項:

  • 支援的上傳格式包含 mp3、mp4、mpeg、mpga、m4a、wav、webm。
  • 託管 API 的上傳限制為 25 MB。
  • 使用 diarize 取得說話者標籤;指令碼會自動發送 chunking_strategy=auto,並拒絕 --prompt。

API 金鑰

設定 OPENAI_API_KEY,或將其設定在使用中的 OpenClaw 設定檔中($OPENCLAW_CONFIG_PATH,預設為 ~/.openclaw/openclaw.json)。可選地設定 OPENAI_BASE_URL:

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

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能