Kokoro TTS for Vietnamese: Runs Free on Your Own Machine
A practical walk through Kokoro for Vietnamese text to speech: local install on a normal CPU, voice choice, where it sounds right, and where it does not.
Text to speech stopped being a luxury the moment models got small enough to run on the machine in front of you. Kokoro is the example I keep coming back to: an open model, light enough for a laptop processor, with a voice list you can audition before writing a single line of code. This is the path I use when a Vietnamese narration has to be produced offline, on a budget, or on a schedule that does not tolerate a queue.
What Kokoro is and where Vietnamese fits
Kokoro is a compact speech synthesis model released with open weights and a permissive licence, which means you download it, keep it, and use it commercially without a subscription. Language coverage arrived in stages, and the official voice list is not the whole story: community voices for additional languages circulate alongside the originals. Before you plan a project around it, check the current voice catalogue for the exact language and accent you need — that single page decides whether this tool is a fit or a dead end.
Getting it running on an ordinary CPU
Install the package, let it pull the model on first run, and feed it a plain text file. No graphics card is required for short narration; the trade is speed — a paragraph takes noticeably longer than real time on a laptop, so batch your work instead of typing line by line. If you plan to narrate long documents, export them as chunks and let the job run while you do something else.
Choosing a voice and writing the input text
Audition two or three candidates on the same paragraph before committing; differences show up in pacing and in how numbers and loanwords are pronounced, not in the waveform preview. Then fix the text itself: expand abbreviations, write out numbers the way you want them spoken, and add punctuation for breath. Synthesis inherits every ambiguity you leave in the file, and a missing comma becomes an odd pause somewhere you did not intend.
Where it sounds right and where it stumbles
Short informational narration is the sweet spot: tutorials, summaries, read-aloud versions of articles, placeholder dialogue in a video. Emotional delivery and long poetic passages are where it strains — the phrasing stays even when the text asks for weight. Two things to test in your own language before promising anything: proper nouns, and any sentence where meaning depends on intonation. Render both, listen on a phone speaker, and decide with your ears rather than a spec sheet.
Using the output in a video or project
Generate at the sample rate your video project already uses so you are not resampling, then drop the file onto the timeline and mix against your music bed. Normalise the narration once at the end rather than per line; a single pass keeps the level consistent across sections. Keep the source text file next to the audio — when a sentence changes in review, you re-render one line instead of the whole track.
What it does not replace
It does not replace a human read for anything that has to carry emotion, and it does not remove the need for proofreading — it simply reads your mistakes out loud, more clearly than you would. Used where it fits, it removes a paid service, a queue, and a privacy question from your workflow, and that is a genuinely useful trade.
— Nam Hoai