mlx-audio-server
bởi guoqiao
Media & StreamingTóm tắt
A fast, accurate, and fully local OpenAI-compatible API.
Mô tả
Kỹ năng này làm gì
Runs an OpenAI-compatible STT and TTS API server locally on Apple Silicon Macs using the MLX framework. Installs and manages itself as a persistent LaunchAgent via Homebrew. Accepts audio or video files for transcription and text strings for speech synthesis.
Runs fully offline on Apple Silicon with an OpenAI-compatible API, so existing tools that target OpenAI audio endpoints work without code changes or data leaving the machine.
Khi nào nên dùng
- Transcribing local meeting recordings without sending audio to the cloud
- Generating spoken audio from text in automation pipelines
- Replacing OpenAI Whisper/TTS API calls with a local drop-in endpoint
- Converting video files to text transcripts on a Mac
- Running always-on voice processing for offline or privacy-sensitive workflows
Quy trình ví dụ
User asks: transcribe this interview recording at ./interview.mp4
- 1
Calls run_stt.sh with the video path
- 2
ffmpeg converts the file to wav internally
- 3
Server sends audio to local mlx-community/glm-asr-nano-2512-8bit model
- 4
Transcript text is returned to stdout
Plain text transcript of the interview
Yêu cầu
- Apple Silicon Mac (M1 or later)
- Homebrew installed
Cài đặt
clawhub install guoqiao/mlx-audio-serverChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.