NeuTTS: Instant Voice Cloning Right on Your Laptop
If you've been wanting to experiment with text-to-speech that actually sounds like a real person, and not a robot from 2012, you should look at NeuTTS. It's open source, runs entirely on your own machine, and includes instant voice cloning. No cloud credits. No API keys. Just your own hardware and a voice sample.
The repo just dropped a couple weeks ago, and it's been getting some attention for doing voice cloning in real time without needing a GPU that costs more than your rent.
What It Does
NeuTTS is a text-to-speech model that generates natural sounding speech. The standout feature is "instant voice cloning", where you provide a short audio clip (like 5 to 10 seconds of someone speaking), and the model replicates that voice to read new text.
It runs locally, on device. That means your voice data stays on your machine. No sending samples to some server. The model is sized to work on consumer hardware, including laptops with decent CPUs or any modest GPU.
Why It's Cool
The instant cloning part is neat, but what makes this project practical is the latency. You feed it a voice sample and start generating speech in seconds, not minutes. The repo claims near real time performance on modern hardware.
Some other details that stand out:
- Open weights. The model weights are released under the MIT license. You can use them, modify them, build on top of them. No restrictive terms.
- No internet required. Everything loads from disk. Great for privacy, offline use, or air gapped environments.
- Clean codebase. The repository is well organized with a simple Python API. If you've used any TTS library before, you'll pick it up in minutes.
- Single speaker or clone. You can use the built in speaker for quick testing, or switch to a cloned voice whenever you want.
Use cases? Voice over for indie games. Audio books in a specific voice. Accessibility tools where a user wants to hear text in their own voice. Even prototyping voice interfaces without cloud costs.
How to Try It
Getting started is straightforward. Clone the repo and install with pip:
git clone https://github.com/neuphonic/neutts
cd neutts
pip install -e .
Then run the quick demo:
from neutts import NeuTTS
tts = NeuTTS() # loads model, takes a moment first time
tts.speak("Hello, this is a test of the NeuTTS system.")
To clone a voice, pass a path to a short WAV file:
tts.clone_voice("sample.wav")
tts.speak("This is now in the cloned voice.")
Full details are in the README. There is also a notebook in the repo showing the process step by step.
Final Thoughts
NeuTTS is one of those projects that fills a real gap. There are plenty of TTS models out there, but few combine open source licensing, instant cloning, and local only execution into a single clean package. It's not perfect every single time, but for something that runs on a laptop with no cloud dependency, the quality is impressive.
If you build anything with it, the maintainers seem active on the repo. Open issues if you hit rough edges. This is the kind of tool that makes you wonder why we ever paid for TTS APIs.
Found this on @githubprojects