mlx-audio-server
oleh guoqiao
Media & StreamingRingkasan
A fast, accurate, and fully local OpenAI-compatible API.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- Apple Silicon Mac (M1 or later)
- Homebrew installed
Instalasi
clawhub install guoqiao/mlx-audio-serverJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.