360 Secure SkillHub
360 安全技能中心

Openai Whisper

使用本地 whisper CLI 对音频做语音转写,支持 --model 选择模型、--task translate 翻译为英文、以 txt/srt 等格式输出到指定目录;需预装 whisper 二进制,首次运行会下载模型到 ~/.cache/whisper,全程本地推理、无需 API Key。

steipete
steipete
热度 43.42
最近更新 2026-09-22 02:57:39
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换 / 翻译

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openai-whisper
Metadata
name
openai-whisper
description
Local speech-to-text with the Whisper CLI (no API key).
homepage
https://openai.com/research/whisper
metadata
{"clawdbot":{"emoji":"🎙️","requires":{"bins":["whisper"]},"install":[{"id":"brew","kind":"brew","formula":"openai-whisper","bins":["whisper"],"label":"Install OpenAI Whisper (brew)"}]}}

Whisper (CLI)

Use whisper to transcribe audio locally.

Quick start

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

Notes

  • Models download to ~/.cache/whisper on first run.
  • --model defaults to turbo on this install.
  • Use smaller models for speed, larger for accuracy.