界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

mlx-stt

mlx-stt

【效率与协作】Speech-To-Text with MLX (Apple Silicon) and GLM-ASR-Nano-2512 locally.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: mlx-stt description: Speech-To-Text with MLX (Apple Silicon) and GLM-ASR-Nano-2512 locally. metadata: {"openclaw":{"always":true,"emoji":"🦞","homepage":"https://github.com/guoqiao/skills/blob/main/mlx-stt/mlx-stt/SKILL.md","os":["darwin"],"tags":["latest","asr","stt","speech-to-text","audio","glm","glm-asr","glm-asr-nano-2512","glm-asr-nano-2512-8bit","macOS","MacBook","Mac mini","Apple Silicon","mlx","mlx-audio"],"requires":{"bins":["brew"]}}}

⚠️ Deprecation Notice

This skill is deprecated and will no longer receive updates.

Please use mlx-audio-server instead, which replaces this skill and provides improved functionality.

MLX STT

Speech-To-Text/ASR/Transcribe with MLX (Apple Silicon) and GLM-ASR-Nano-2512 locally.

Free and Accurate. No api key required. No server required.

Requirements

  • mlx: macOS with Apple Silicon
  • brew: used to install deps if not available

Installation

bash ${baseDir}/install.sh

This script will use brew to install these cli tools if not available:

  • ffmpeg: convert audio format when needed
  • uv: install python package and run python script
  • mlx_audio: do the real job

Usage

To transcribe an audio file, run the mlx-stt.py script:

uv run  ${baseDir}/mlx-stt.py <audio_file_path>
  • When first run, it will download model from Hugging Face, default: mlx-community/GLM-ASR-Nano-2512-8bit, 2.5GB ish.
  • The transcript result will be printed to stdout.
我的收藏