OpenClaw-hot-skills-zh openai-whisper-zh

使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)。

install
source · Clone the upstream repo
git clone https://github.com/L-LesterYu/OpenClaw-hot-skills-zh
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/openai-whisper-zh" ~/.claude/skills/l-lesteryu-openclaw-hot-skills-zh-openai-whisper-zh && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/openai-whisper-zh" ~/.openclaw/skills/l-lesteryu-openclaw-hot-skills-zh-openai-whisper-zh && rm -rf "$T"
manifest: skills/openai-whisper-zh/SKILL.md
source content

Whisper (CLI)

使用

whisper
在本地转录音频。

快速开始

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

注意事项

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