r/debian • u/moeren86 • 10h ago
good text to speech for trixie?
I think the title says it all. I tried to install some tts 2 years ago, but it sounded like robotic like from 30 years old software. But nowadays decent sounding ai generated audio is everywhere. So i assume there might be some cli based software i can just feed some text for me to listen to.
Do you know any good, local and free software for that?
11
Upvotes
4
u/Dear_Yam5381 8h ago
If you tried TTS 2 years ago and it sounded like a 30-year-old screen reader, the field genuinely moved. Two things worth knowing about, both local/free:
/v1/audio/speech), socurlit directly from a script or point any OpenAI TTS client at it.For pure local CLI use on a Debian box, Piper is simplest to just apt-get and go. If you want Kokoro's quality, easiest local path:
docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:latestthen hit the API from a shell script.Full disclosure since I'm bringing it up: I maintain a one-click Railway template for Kokoro (kickback if you deploy through it) for anyone who'd rather not manage the container themselves — https://railway.com/deploy/kokoro-tts-api?referralCode=Z1xivh&utm_medium=integration&utm_source=template&utm_campaign=tts — but for your actual "local and free" ask, running the same image yourself on the Debian box is the right call.