skills/library/mlx-whisper/SKILL.md
Fast local speech-to-text on Apple Silicon using MLX Whisper. 10x faster than OpenAI Whisper.
npx skillsauth add malue-ai/dazee-small mlx-whisperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
利用 Apple Silicon 的 MLX 框架本地转录语音,速度是 OpenAI Whisper 的 10 倍。完全离线,隐私安全。
pip install mlx-whisper
需要 Apple Silicon Mac(M1/M2/M3/M4)。
import mlx_whisper
result = mlx_whisper.transcribe(
"audio.mp3",
path_or_hf_repo="mlx-community/whisper-large-v3-turbo",
)
print(result["text"])
result = mlx_whisper.transcribe(
"audio.mp3",
path_or_hf_repo="mlx-community/whisper-large-v3-turbo",
word_timestamps=True,
)
for segment in result["segments"]:
print(f"[{segment['start']:.1f}s - {segment['end']:.1f}s] {segment['text']}")
| 模型 | 大小 | 速度 | 准确度 |
|---|---|---|---|
| whisper-tiny | 39M | 最快 | 一般 |
| whisper-base | 74M | 快 | 较好 |
| whisper-small | 244M | 中 | 好 |
| whisper-large-v3-turbo | 809M | 较慢 | 最佳 |
默认使用 large-v3-turbo,短音频(<1分钟)可用 small 加速。
result = mlx_whisper.transcribe("audio.mp3", language="zh")
development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.