ποΈ voice-server: Local TTS for PAI - Zero API Costs (MacOS only) #616
Replies: 3 comments
-
|
great job - I did the same thing circa PAI 1.0 - glad you shared yours. |
Beta Was this translation helpful? Give feedback.
-
|
Great work @madeinoz67 β I've been running a Kokoro-82M voice server based on your approach for a few weeks and it's been excellent. Sub-500ms latency, zero API costs, fully drop-in for PAI's A couple of things I ran into that might be useful for you and others: 1. Voice name passthrough bug 2. Missing voices β 54, not 41 3. Settings integration Setup notes for anyone trying this:
Happy to share diffs for the voice name passthrough + missing voices fix if helpful. Thanks for building this! |
Beta Was this translation helpful? Give feedback.
-
|
Hey @madeinoz67, thanks for raising this, and sorry it sat for a while. We're changing how LifeOS ships. Instead of cloning a full That's aimed right at what you hit here. The old "one directory, one layout, hope it matches your setup" approach is exactly what broke for so many people, and the new model should handle it far better because your AI does the integration per machine instead of us guessing. So we're closing this in prep for that release. If it still bites you once the skill-based version is out, reopen or file a fresh one and we'll jump on it. Appreciate you taking the time. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I wanted to share a project I've been working on that might be
useful for PAI users who want voice notifications without external API
dependencies.
What is voice-server?
voice-server is a local-first Text-to-Speech service built specifically for
PAI. It runs entirely on your Mac using Apple Silicon, so there are:
Key Features
What's New in v0.1.9
Just released today with documentation improvements:
Quick Start with PAI
Install via Homebrew
brew tap madeinoz67/tap
brew install voice-server
pipx install mlx-audio
Start the service
brew services start voice-server
Test with PAI
curl -X POST http://localhost:8888/pai
-H "Content-Type: application/json"
-d '{"message": "PAI Algorithm initialized"}'
Voice Configuration
Voices are configured via simple numeric IDs in your PAI agent
personalities:
my-agent
Voice ID: 12 (professional male)
Speed: 1.0
Prosody: speak in a neutral tone
Model Performance
After testing multiple TTS backends on Apple Silicon:
Kokoro-82M (Recommended)
qwen-tts (Alternative)
voice cloning
general PAI use
Links
Community
If you try it out, I'd love to hear:
Open to suggestions and improvements!
Beta Was this translation helpful? Give feedback.
All reactions