🍎 Mlx Whisper — 语音转文本

v1.0.0

利用 MLX Whisper 实现本地语音转文本,专为 Apple Silicon Mac 优化,无需 API 密钥。支持转录、翻译和字幕生成,多模型选择,简单的命令行界面。

1· 3.5k·18 当前·22 累计
by @kevin37li (Kevin37Li)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/25
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
技能的要求和运行指令与本地 Apple-Silicon 语音转文本包装器一致 — 没有任何超出此目的的请求或指令。
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/1/24

- 首次发布 mlx-whisper:使用 MLX Whisper 的本地语音转文本,针对 Apple Silicon Mac 优化。 - 无需 API 密钥;模型按需下载和缓存。 - 支持转录、翻译和字幕生成 (SRT)。 - 多个模型可用,平衡速度和质量。 - 简单的命令行界面,用于快速音频转录和字幕创建。

无害

安装命令

点击复制
官方npx clawhub@latest install mlx-whisper
🇨🇳 镜像加速npx clawhub@latest install mlx-whisper --registry https://cn.longxiaskill.com

技能文档

MLX Whisper 本地语音转文本使用 Apple MLX,针对 Apple Silicon Mac 优化。

快速开始

mlx_whisper /path/to/audio.mp3 --model mlx-community/whisper-large-v3-turbo

常见用法

# 转录为文本文件
mlx_whisper audio.m4a -f txt -o ./output
# 带语言提示的转录
mlx_whisper audio.mp3 --language en --model mlx-community/whisper-large-v3-turbo
# 生成字幕 (SRT)
mlx_whisper video.mp4 -f srt -o ./subs
# 翻译为英文
mlx_whisper foreign.mp3 --task translate

模型(首次使用时下载)

模型大小速度质量
mlx-community/whisper-tiny~75MB最快基本
mlx-community/whisper-base~140MB良好
mlx-community/whisper-small~470MB中等较好
mlx-community/whisper-medium~1.5GB较慢极好
mlx-community/whisper-large-v3~3GB最慢最佳
mlx-community/whisper-large-v3-turbo~1.6GB优秀(推荐)
## 注意事项
  • 需要 Apple Silicon Mac (M1/M2/M3/M4)
  • 模型缓存到 ~/.cache/huggingface/
  • 默认模型为 mlx-community/whisper-tiny;使用 --model mlx-community/whisper-large-v3-turbo 获取最佳结果
数据来源:ClawHub ↗ · 中文优化:龙虾技能库