mlx-audio-server
guoqiao tarafından
Media & StreamingÖzet
A fast, accurate, and fully local OpenAI-compatible API.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Gereksinimler
- Apple Silicon Mac (M1 or later)
- Homebrew installed
Kurulum
clawhub install guoqiao/mlx-audio-serverCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.