AI voice generation has become ridiculously convenient.
Need a voice-over for a YouTube video?
Paste the script into a website.
Need it to sound like you?
Upload a short recording of your voice.
Click Generate.
A few seconds later, you have narration.
That’s useful.
But there are two parts of that workflow that kept bothering me.
First, my unpublished script has to leave my computer.
Second, if I’m cloning my own voice, I’m also uploading something considerably more personal: a recording of my voice.
Then there is the meter running in the background.
Characters.
Credits.
Minutes.
Monthly subscriptions.
So I started asking a fairly simple question:
Can I do the whole thing on the computer sitting in front of me instead?
That became Local TTS.
It’s a free, open-source Python tool I built for generating long-form narration locally, including optional zero-shot voice cloning.
Plain text goes in.
A finished voice-over comes out.
And after the initial model download, the entire generation workflow can stay on your machine.
What I Mean by “Local”
“Local AI” has become one of those phrases that can mean almost anything.
So I want to be precise.
With Local TTS, the workflow is:
script.txt
↓
Python on your computer
↓
Local TTS model
↓
WAV / FLAC / OGG / MP3
The script is read from your disk.
Text processing happens locally.
The speech model runs on your GPU or CPU.
The generated audio is written back to your disk.
There is no TTS API involved.
No account.
No API key.
No telemetry built into the tool.
There is one network step
The first time you use a particular model, the model weights have to come from somewhere.
Local TTS downloads them from Hugging Face.
That can mean several gigabytes depending on the model.
Once those weights are cached, however, you can disable network access and continue generating speech locally.
So the accurate privacy claim isn’t:
This software never touches the internet.
It’s:
Your scripts and voice recordings do not need to be uploaded to a remote TTS service, and inference can run entirely offline once the required model files are cached.
I think that distinction matters.
Your Voice Is Data Too
I’m pretty comfortable uploading many things to cloud services.
But a voice recording deserves a little more thought.
A recording of your voice isn’t just another text file.
It can potentially be used to imitate you.
That’s why Local TTS keeps voice profiles, recordings, generated outputs, and model files out of Git by default.
And there’s one rule I think should be obvious but is worth stating anyway:
Only clone your own voice, or a voice you have explicit permission to use.
The fact that a technology can reproduce a voice doesn’t mean you have permission to reproduce anyone’s voice you happen to have a recording of.
Voice Cloning Doesn’t Need Hours of Training Data
One of the interesting things about modern TTS models is that voice cloning no longer necessarily requires training a custom model for hours.
With the supported cloning models in Local TTS, a short clean recording can be enough to condition the generated voice.
My workflow is usually around 10–20 seconds of clean speech.
Ideally:
- quiet room
- minimal background noise
- natural speaking voice
- no music
- no aggressive processing
- the delivery style I actually want in the narration
I save that recording as a reusable voice profile.
Local TTS computes the speaker information locally and caches it.
The next time I use that voice profile, I don’t have to start from scratch.
More importantly:
that recording stays on my disk.
The Easy Demo Is One Sentence
A lot of local TTS demos are impressive.
You type:
Hello. This is a test of my local voice model.
The GPU thinks for a moment.
The model speaks.
Cool.
But that’s not really my use case.
I make videos.
A narration might be:
- 800 words
- 1,500 words
- 3,000 words
- or more
And this is where local text-to-speech gets much more complicated.
Generating one sentence is easy.
Generating fifteen minutes of narration reliably without constantly babysitting the process is a different problem.
That’s where most of the work in Local TTS went.
Long Scripts Need to Be Broken Up Intelligently
You generally don’t want to throw a giant article or video script into an autoregressive speech model as one massive block.
Instead, Local TTS first analyzes the text.
It identifies paragraphs and sentences.
But even that isn’t as trivial as splitting every time it sees a period.
Consider:
Dr. Smith paid $3.50 at example.com.
Those periods don’t all mean:
start a new sentence here.
So the text processor accounts for cases such as:
- titles
- abbreviations
- decimal numbers
- URLs
Once the sentences are identified, they’re packed into reasonably balanced chunks.
The default target is around 300 characters, but the important rule is that the tool doesn’t arbitrarily cut a sentence in half just to hit an exact number.
The result is a generation plan.
And you can preview that plan before loading the speech model at all.
Preview Before Burning GPU Time
This is one of those small features I find surprisingly useful.
Before asking a multi-gigabyte model to load onto the GPU, Local TTS can show how it intends to break the script apart.
Maybe the script becomes:
Chunk 1 — Introduction
Chunk 2 — First argument
Chunk 3 — Example
Chunk 4 — Transition
...
Chunk 42 — Conclusion
If the segmentation looks wrong, I can fix the source text first.
That’s much better than discovering an awkward split halfway through a generation job.
It also follows a pattern I increasingly like in automation:
plan first, execute second.
Models Sometimes Go Off the Rails
Generative speech isn’t perfectly deterministic.
Occasionally a model may:
- stop too early
- repeat itself
- ramble
- skip something
- produce output much longer than expected
Local TTS checks each generated chunk against what it expected.
If a chunk appears suspiciously short or long, it can regenerate that section using a different seed.
That’s important because I don’t want one bad generation halfway through a fifteen-minute script to ruin the entire output.
And there is another safeguard that matters even more.
Every Finished Chunk Is Cached
Imagine generating a long narration.
The computer has completed 39 chunks.
Then:
Crash.
Power outage.
CUDA problem.
You stop the process.
Without caching, that’s painful.
Start again.
Regenerate everything.
Instead, Local TTS stores completed chunks.
Run the same job again and it can resume from the work that already succeeded.
Conceptually:
1 ✓
2 ✓
3 ✓
...
39 ✓
40 ← resume here
41
42
For me, resumability is one of the differences between an AI demo and an actual tool.
If a process takes more than a few minutes, it should assume that failure is possible.
Then the Narration Has to Sound Like One Recording
Independent chunks create another problem.
If you simply glue them together with no thought, the result can sound robotic even when each individual sentence sounds good.
So Local TTS adds appropriate pauses between sentences and paragraphs.
The audio is then combined and normalized before export.
For video work, it can output at 48 kHz, which fits cleanly into common video-editing workflows.
The result can be exported as:
- WAV
- FLAC
- OGG
- MP3
I generally prefer working with a lossless format during editing and compressing later if necessary.
One Tool, Several Different Voice Models
I didn’t want the project locked to a single model.
Different TTS models make different trade-offs.
Some are fast.
Some clone voices.
Some handle more languages.
Some are small enough to run comfortably on a CPU.
Local TTS currently wires in eight selectable model configurations, including models from:
- Chatterbox
- Chatterbox Turbo
- Chatterbox Multilingual
- Chatterbox Nano
- Kokoro
- Qwen3-TTS
Switching models is handled through the same tool rather than requiring a completely different workflow for each engine.
That also means I can list the available models from the terminal and see information such as their licensing and memory requirements.
Chatterbox Turbo Is My Default
The default model is Chatterbox Turbo from Resemble AI.
It’s an English text-to-speech model with zero-shot voice-cloning support.
For my use case, it hits a useful balance between:
- voice quality
- speed
- cloning
- GPU memory usage
I built and tested Local TTS on a fairly normal consumer GPU:
an NVIDIA RTX 3060 Ti with 8 GB of VRAM.
I think this detail matters because local AI discussions can sometimes make it sound as if you need a workstation full of $10,000 GPUs.
You don’t.
The default model uses roughly 3.5 GB of VRAM in my setup, and on that machine I get around twice real-time generation speed.
So a ten-minute narration takes roughly five to six minutes to generate.
That’s perfectly reasonable for my workflow.
You Don’t Necessarily Need a GPU
A GPU helps a lot with the heavier models.
But it’s not mandatory for every option.
Kokoro-82M is tiny compared with many modern generative models and runs well on a CPU.
It also includes a selection of preset voices.
That creates a very different workflow:
CPU-only computer
↓
Kokoro
↓
Local narration
No NVIDIA card required.
That makes it useful for:
- laptops
- smaller machines
- systems without CUDA
- quick non-cloned narration
The same Local TTS interface handles both approaches.
Multilingual Narration Is an Option Too
The default Turbo model is English-only.
But Local TTS isn’t limited to English.
Chatterbox Multilingual supports 23 languages, while the included Qwen3-TTS variants provide another multilingual option.
That means the tool isn’t fundamentally tied to one language or one voice architecture.
The model becomes a choice.
The workflow stays mostly the same.
That’s the abstraction I wanted.
Why Licensing Was Part of the Design
This might be one of the less exciting parts of the project.
It’s also one of the most important.
Just because an AI model is free to download does not automatically mean you can use its output commercially without restrictions.
That’s relevant if you’re generating narration for:
- a monetized YouTube channel
- paid courses
- client projects
- podcasts with advertising
- commercial products
So I deliberately focused on models with licensing that fits those kinds of workflows.
Local TTS itself is MIT licensed.
Chatterbox Turbo is also distributed under the MIT license, including its model weights, while Kokoro and the supported Qwen models use permissive Apache licensing.
Resemble AI explicitly describes Chatterbox Turbo as MIT-licensed and suitable for personal, research, and commercial projects under its license terms.
That doesn’t mean you should stop reading licenses.
Dependencies and models can change.
Always verify the exact terms of the version you’re using.
But I didn’t want the default workflow to depend on a model that suddenly makes a monetized video legally awkward.

“Free” Doesn’t Mean Zero Cost
I call Local TTS free because there is:
- no subscription
- no character quota
- no monthly TTS bill
- no API usage fee
But the computation isn’t magically free.
Your computer uses:
- electricity
- storage
- GPU or CPU time
You already paid for the hardware.
So a more accurate way to think about it is:
there is no per-generation service fee.
For someone generating a lot of narration, that difference can become meaningful.
For someone generating thirty seconds of audio once every six months?
A hosted service may be far more convenient.
Chatterbox Adds an Inaudible Watermark
There’s one characteristic of the Chatterbox models worth knowing before you use them.
Resemble AI embeds its PerTh watermark in generated Chatterbox audio.
The watermark is designed to be inaudible while still providing provenance information for AI-generated speech. Resemble says the watermark is present on Chatterbox Turbo output by design.
Local TTS does not remove it.
And I don’t try to.
If that’s incompatible with your use case, choose a different supported model.
This is another reason I like having several engines behind the same tool.
There Are Real Limitations
Local TTS is not an ElevenLabs-style polished web application where you create an account and start generating audio in thirty seconds.
Setup exists.
You’ll need a compatible Python environment.
For GPU acceleration, you’ll need a suitable PyTorch/CUDA setup.
The first run downloads model weights.
Depending on the model, that can be several gigabytes.
And generative TTS itself isn’t perfect.
Words can occasionally be skipped or repeated
Autoregressive models sometimes make mistakes.
That means:
proof-listen before publishing.
I would recommend that regardless of which AI narration platform you’re using.
Chunk-to-chunk delivery can change slightly
Because long scripts are generated in pieces, tone and pacing can shift somewhat between chunks.
The stitching logic helps.
It doesn’t completely remove the underlying behavior of the model.
The default model is English-only
For multilingual work, select one of the multilingual models instead.
CPU can be much slower
Kokoro works nicely on CPU.
That doesn’t mean every model will.
Trying to run a larger generative TTS model without appropriate acceleration can be painfully slow.
Cloud TTS Is Still More Convenient
I don’t think everything needs to run locally.
If your priority is:
I want a polished editor and absolutely zero setup
then a cloud service is probably the better tool.
Hosted platforms take care of:
- GPUs
- model installation
- drivers
- dependencies
- updates
- scaling
- interfaces
That’s valuable.
Local TTS optimizes for a different set of priorities.
It makes more sense if you care about:
- keeping unpublished scripts local
- keeping voice samples local
- avoiding per-character billing
- processing a lot of narration
- running offline
- controlling the models
- integrating TTS into your own automation
It’s not:
local is always better.
It’s:
control versus convenience.
Choose the side that matters for the job you’re doing.
Who I Built This For
My ideal user is probably somebody a lot like me.
A creator who generates narration regularly.
Maybe for:
- YouTube
- tutorials
- courses
- product demos
- documentation
- podcasts
- prototypes
They have a decent computer already.
They don’t want to count characters every time they write a script.
And they would rather keep unpublished content and voice recordings on their own drive.
For that kind of workflow, local TTS makes a lot of sense.
Installation Isn’t One Click — and That’s Okay
The project currently targets Python 3.10 through 3.12.
For the accelerated models, an NVIDIA GPU is recommended, although CPU-capable options are included.
Because PyTorch and CUDA environments can vary between systems, I recommend following the current README rather than copying an installation command from an article that may become stale.
The project lives here:
GitHub:github.com/atomikfactory/atomik-scripts/tree/main/python/audio/local-tts
Once everything is installed, the basic idea is deliberately simple:
plain-text script
↓
Local TTS
↓
voice profile + model
↓
finished narration
The complexity lives inside the tool rather than inside every generation command.
What I Like Most Isn’t Actually Voice Cloning
Voice cloning is the flashy part.
But it’s not the reason I find this project useful.
The more interesting part is that I can treat narration as a repeatable local pipeline.
Write a script.
Run the command.
Let it segment the text.
Generate chunks.
Retry bad ones.
Resume if interrupted.
Join everything.
Normalize it.
Export it for the video editor.
That’s the workflow I wanted.
Not:
Look, my GPU can say one sentence in my voice.
But:
Can I give this tool a complete video script and come back to a usable narration file?
That’s a much higher bar.
AI Doesn’t Have to Mean Sending Your Work Somewhere
This is becoming a recurring theme in the tools I build.
AI is often presented as a service.
Your file goes somewhere.
A model processes it.
The result comes back.
Sometimes that’s exactly what I want.
But modern consumer hardware can handle more AI workloads locally than many people realize.
Transcription.
Image upscaling.
Text-to-speech.
Voice cloning.
Language models.
The right choice depends on the workload.
But I like having the option to ask:
Does this data actually need to leave my computer?
For narration, my answer is increasingly:
No.
My script can stay here.
My voice can stay here.
The model can run here.
The output can stay here.
No API key.
No character meter.
No account.
Just:
your script, your voice, your hardware.

Atomik Factory is where I document the software, scripts, AI tools, automations, and experiments I build or use around technology, privacy, productivity, and open source.
Most projects start with a problem I have myself.
I build something.
I learn from it.
Then I document it so I can find it again later — and hopefully somebody else finds it useful too.
Build. Learn. Share.
If you’re generating a lot of narration and already have capable hardware sitting under your desk, Local TTS is available as part of the open-source Atomik Scripts repository.
And one final reminder:
Only clone your own voice or a voice you have explicit permission to use.