Kokoro TTS: What It Is, What It Costs and How to Start
Hear Kokoro TTS in hexgrad’s demo, choose from 54 voices, and make a local WAV. See what the license allows for a product video.
Published

Kokoro TTS can read your product script aloud in any of 54 preset voices. Try a line with your product name in hexgrad’s browser demo first. If you like the delivery, you can use the same voice on your own machine when the script changes.
What is Kokoro TTS?
Kokoro is an 82-million-parameter text-to-speech model published by hexgrad. Its parameters are the learned settings that turn written words into speech. The weights, the files containing those settings, are available under the Apache License 2.0. Hexgrad credits @rzvzn with training the model and Li and colleagues with the underlying StyleTTS 2 architecture. The project repository contains the Python library that lets you use the weights.
Kokoro TTS voices list by language
On December 1, 2026, hexgrad’s model card listed eight languages and 54 voices for v1.0. The voice directory has nine groups because it separates American and British English. Your choice is much wider in some languages than in others. An English-language producer can audition several narrators with the same accent. For French, listen to ff_siwis before committing a whole series to the model.
How Kokoro reads a script
Give Kokoro the words and cast a narrator. Think of changing the voice as handing the same script to another reader. The library converts the spelling into speech sounds for the selected language. The preset supplies the voice that speaks them.
In hexgrad’s example, lang_code='a' selects American English, voice='af_heart' casts Heart, and the script saves each passage as a WAV audio file. To hear the effect of casting alone, keep the words and speed fixed when you switch voices.
Listening to Kokoro TTS voice samples
The maker’s recorded voice samples are a quick way to shortlist a voice before trying your script.

Does Kokoro TTS voice cloning work from a recording?
The released model has no voice encoder, the component that would extract a new speaker’s vocal identity from a recording. You can pick Heart by name. You can’t hand this release a clip of your founder and ask Heart to speak in the founder’s voice. If the audience needs to recognize the speaker, settle that requirement before spending time auditioning presets.
Who should use Kokoro for a product video?
Kokoro fits a product marketer whose walkthrough changes whenever the interface does. Write a separate line for the shot where the customer clicks Export. If the button later becomes Download, keep the approved voice ID, replace that line, and check where the new word lands against the cursor. Save the script, voice ID, language and speed with the edit so the next producer can recreate the take.
Commercial narration is permitted. Section 2 of the Apache License 2.0 gives recipients “a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license” and expressly includes the right to publicly perform the work. For a product video, you can use the model to narrate a script you own. Shipping the model itself inside a customer’s app adds redistribution duties under section 4, including supplying the license, retaining applicable notices and identifying modified files.
A solo builder can start with one help article and listen for the terms customers need to recognize. A team planning a live narration feature has a different acceptance test. Time the wait for speech on the machine that will serve users. A good reading of a prepared script settles the voice choice, but leaves that timing question open.
Cost. Local use carries no model license fee and uses your own computing resources. For hosted generation, DeepInfra’s Kokoro endpoint lists $0.99 per million input characters.
Try the Kokoro TTS demo in your browser
Open hexgrad’s official Hugging Face demo. This Space, a hosted interactive app linked by the model’s publisher, showcases English. The other languages in the directory are available through the model.
Paste a line you expect to ship
Replace the example in Input Text with a sentence such as “Open Acme Studio, choose your report, then select Export.” A product name and an instruction give you something specific to listen for.
Choose a voice and generate
Pick a narrator in Voice, leave Speed at its default, and select Generate. Play Output Audio. Can someone following the video hear the button name clearly before the cursor moves?
Change one thing per take
For a rushed pause, try a full stop after the product name. For a different narrator, restore the original sentence and change only the voice. Listen against the picture before choosing.
Kokoro TTS download and local setup
Use the local library when you want to generate the same kind of take from a script. Here is the repository’s setup adapted from notebook cells to a Debian or Ubuntu terminal. Start in an empty project directory with an activated Python virtual environment. The quotation marks around the version constraint keep the shell from treating > as an instruction to redirect output.
python -m pip install -q 'kokoro>=0.9.4' soundfile
sudo apt-get -qq -y install espeak-ngThe Python package runs Kokoro. SoundFile writes the audio to disk, and eSpeak NG supplies pronunciation support for some languages and a fallback for unfamiliar English words. The first run needs a connection to fetch the model and selected voice.

Save this as narrate.py and run python narrate.py in the same environment. It uses hexgrad’s example narrator with a short product-video line.
from kokoro import KPipeline
import soundfile as sf
pipeline = KPipeline(lang_code='a')
script = "Open Acme Studio. Choose your report, then select Export."
for i, (_, _, audio) in enumerate(pipeline(script, voice='af_heart')):
sf.write(f'{i}.wav', audio, 24000)Play 0.wav in the project directory. For longer text, the loop saves each segment to a separate numbered file. Move any take you want to keep before rerunning the script, since the numbering starts over. When switching language, change both the pipeline’s language code and the voice ID to a matching pair from the directory.
What hardware does it need?
A CPU can run Kokoro. The library’s device-selection code includes a CPU path, and the repository documents GPU acceleration on Apple Silicon. Hexgrad’s model card gives no minimum RAM or graphics-memory requirement for generating speech. Its A100 figure describes the hardware used to train the model. Start with the computer you have and time your own passage before budgeting for a GPU.
What a successful demo tells you
One good take tells you a specific voice fits a specific line. It doesn’t establish parity with a paid service across a training course, languages or speakers. For a multilingual release, give someone who speaks each target language the passage containing the brand name, the longest instruction and the final call to action. Ask them to flag the exact word they would rerecord.
If the job calls for another local speech model, the Qwen3-TTS setup guide is a next experiment. For a conversation between speakers, follow the Google AI Studio dialogue walkthrough. If a managed voice service is the requirement, start with the Fish Audio guide and use the Fish Audio and ElevenLabs comparison to narrow that choice. The ElevenLabs alternatives guide covers the wider shortlist.
If the preset voices don’t fit your brief, compare the best text-to-speech tools for your project.
- Published
- Category
- AI








