openai-whisper-api
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
- License 许可
- MIT
- 最近更新
- 2026-07-28
- Stars
- ★ 40
- Forks
- 1
01 前言 Front Matter
- name
- openai-whisper-api
- homepage
- https://platform.openai.com/docs/guides/speech-to-text
- metadata
- { "clawdbot": { "emoji": "☁️", "requires": { "env": [ "WHISPER_API_KEY" ], "bins": [ "curl" ] }, "primaryEnv": "WHISPER_API_KEY" } }
- description
- Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
02 资源文件 2
- 参考文档_meta.json137 B
- 脚本scripts/transcribe.sh5.5 KB
03 SKILL.md 正文
OpenAI Whisper API (curl)
Transcribe an audio file via OpenAI’s /v1/audio/transcriptions endpoint.
Quick start
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a
Defaults:
- Model: provider-aware. It uses
whisper-large-v3-turbofor Groq/vveai URLs andwhisper-1otherwise. Override with--model NAMEorWHISPER_MODEL. - Output:
<input>.txt
Useful flags
{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --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
{baseDir}/scripts/transcribe.sh /path/to/video.mp4 --srt --out /tmp/captions.srt
For --srt / --vtt the script always asks the API for verbose_json
and assembles SRT/VTT locally, so the same flag works against providers
(e.g. Groq) that don't emit SRT natively.
API key & base URL
Required env:
WHISPER_API_KEY— your key. The helper falls back toOPENAI_API_KEYonly whenWHISPER_API_KEYis unset.
Optional env:
WHISPER_BASE_URL— endpoint root, defaults toOPENAI_BASE_URLwhen set, otherwisehttps://api.groq.com/openai/v1. Include/v1in the URL.WHISPER_TIMEOUT_SECONDS— request timeout; defaults to 300 seconds.
04 同仓库更多 Skills
cli-anything-zoom
Command-line interface for Zoom — manage meetings, participants, and recordings from the command line via the Zoom REST API.
netease-music-cli
CLI for NetEase Cloud Music — search songs/albums/playlists, get lyrics, and manage your music library from the terminal.
google-calendar-gcalcli
Install and use gcalcli for live Google Calendar read access using the provided OAuth cache.
Excel / XLSX
Create, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation. Use when (1) the task is about Excel, `.xlsx`, `.xlsm`, `.xls`, `.csv`, or `.tsv`; (2) formulas, formatting, workbook structure, or compatibility matter; (3) the file must stay reliable after edits.
duckdb-en
DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".
automate-excel
Automates reading, writing, merging, transforming, and validating Excel (.xlsx/.xls) files. Use when the user works with spreadsheets, .xlsx files, Excel data — for cleaning, joining, validating, deduplicating, aggregating, filtering, or auditing tabular data.