Whisper命令行工具Skill openai-whisper

Whisper CLI 是一个本地语音转文本工具,基于 OpenAI 的 Whisper 模型,允许用户在命令行中快速转录音频文件,支持多种音频格式和翻译任务,无需互联网连接或 API 密钥。适用于音频处理、字幕生成、NLP 应用等场景。关键词:语音转文本,本地转录,Whisper CLI,OpenAI,命令行工具,音频处理,NLP,语音识别。

NLP 0 次安装 0 次浏览 更新于 3/24/2026

name: openai-whisper description: 使用 Whisper CLI 进行本地语音转文本(无需 API 密钥)。 homepage: https://openai.com/research/whisper metadata: { “otto”: { “emoji”: “🎙️”, “requires”: { “bins”: [“whisper”] }, “install”: [ { “id”: “brew”, “kind”: “brew”, “formula”: “openai-whisper”, “bins”: [“whisper”], “label”: “安装 OpenAI Whisper (brew)”, }, ], }, }

Whisper (CLI)

使用 whisper 在本地转录音频。

快速入门

  • whisper /路径/audio.mp3 --model medium --output_format txt --output_dir .
  • whisper /路径/audio.m4a --task translate --output_format srt

注意事项

  • 模型在首次运行时下载到 ~/.cache/whisper
  • 在此安装中,--model 默认为 turbo
  • 使用较小的模型以获得速度,较大的模型以获得准确性。