360 Secure SkillHub
360 安全技能中心

Openai Whisper

这是基于OpenAI Whisper CLI的本地语音转文本工具,无需API密钥即可使用。核心功能支持多种音频格式的转录与翻译,可选择不同规模模型(小模型速度快,大模型精度高,默认turbo模型),输出txt、srt等多种格式文件。典型场景包括本地音频转文字、外文音频翻译字幕等,使用时输入音频路径及参数指令,首次运行会自动下载模型至缓存目录。

utromaya-code
utromaya-code
热度 46.84
最近更新 2026-05-11 17:35:15
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换 / 翻译

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add whisper-local-stt
Metadata
name
openai-whisper
description
Local speech-to-text with the Whisper CLI (no API key).
homepage
https://openai.com/research/whisper
metadata
{"openclaw":{"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.