360 Secure SkillHub
360 安全技能中心

mlx-whisper

基于 MLX Whisper 的本地语音转文字 Skill,适用于 Apple Silicon Mac。可将音频或视频转写为文本或 SRT 字幕,支持语言提示与翻译为英文,模型会缓存到本地 Hugging Face 目录。

分类:效率
tshogx
tshogx
热度 38.12
最近更新 2026-05-11 17:30:07

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tshogx/tshogx-mlx-whisper
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据不出本机
Metadata
name
mlx-whisper
description
Local speech-to-text with MLX Whisper (Apple Silicon optimized, no API key).
homepage
https://github.com/ml-explore/mlx-examples/tree/main/whisper

MLX Whisper

Local speech-to-text using Apple MLX, optimized for Apple Silicon Macs.

Quick Start

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

Always pass --model mlx-community/whisper-large-v3-turbo, unless the user explicitly asks for a different model.

Common Usage

# Transcribe to text file
mlx_whisper audio.m4a -f txt -o ./output

# Transcribe with language hint
mlx_whisper audio.mp3 --language en --model mlx-community/whisper-large-v3-turbo

# Generate subtitles (SRT)
mlx_whisper video.mp4 -f srt -o ./subs

# Translate to English
mlx_whisper foreign.mp3 --task translate

Notes

  • Requires Apple Silicon Mac (M1/M2/M3/M4)
  • Models cache to ~/.cache/huggingface/