Text to speech

Open-Source Toolkit for Text-to-Speech Synthesis

Coqui TTS open-source toolkit in 2026: which GitHub repo is maintained, how to install it, how XTTS voice cloning is licensed, and 4 alternatives compared.

  • Coqui TTS open-source toolkit
  • Coqui TTS GitHub
  • open-source speech synthesis libraries
Coqui TTS open-source toolkit: illustration of a code window with prompt and brackets above a toolbox, with a gear and an open padlock

TL;DR

  • This article covers everything you need to know about open-source text-to-speech (TTS) toolkits. We look at what they are, how they works, and why their super-useful for video creators and other content producers on a budget. You'll discover some of the best options out there, and how to decide if open source is right for your project, or if you need something more.
On this page

The Coqui TTS open-source toolkit is a Python library for training and running text-to-speech models, including XTTS voice cloning. The original coqui-ai/TTS repo has had no release since December 2023. Today the maintained version is the Idiap fork, installed as coqui-tts, with release 0.27.5 out on January 26, 2026.

Last updated: October 6, 2026. GitHub, PyPI and Hugging Face pages were checked on that date.

This guide is for creators and developers who want to run speech synthesis on their own machine. It covers Coqui TTS's current status, its architecture, setup and the XTTS license. It also compares 4 other open-source speech synthesis libraries.

Quick answer
Use the Idiap fork. Install coqui-tts (not TTS) with Python 3.10 or newer and PyTorch. The code is MPL-2.0, but the XTTS-v2 voice-cloning model is non-commercial only. If you need a finished voiceover today, jump to the hosted option.

Key Takeaways

  • Use the Idiap fork. The original coqui-ai/TTS repo's last release was v0.22.0 on December 12, 2023. The fork at idiap/coqui-ai-TTS calls the original "unmaintained" and ships as coqui-tts on PyPI.
  • XTTS-v2 clones a voice from a 6-second clip in 17 languages, but its model license is non-commercial only.
  • The toolkit code is MPL-2.0. Model weights can carry their own licenses, so check each model before you publish audio.
  • Alternatives exist for every need: Piper for fast local voices, eSpeak NG for tiny devices and 100+ languages, ESPnet for research.
  • Running models yourself takes setup. You'll need Python 3.10 or newer, PyTorch and some patience with dependencies.

On this page: Status · News · Architecture · Install · Voice cloning · Alternatives · Choosing · Hosted option · FAQ

What is Coqui TTS

Coqui TTS is a deep learning toolkit for text-to-speech. Its GitHub description calls it "battle-tested in research and production" (coqui-ai/TTS, retrieved 2026-10-06). It bundles many model types, pretrained voices and training scripts in one Python package.

There are 2 GitHub repos, and the difference matters:

RepoPyPI packageLatest releaseStatus (October 6, 2026)
coqui-ai/TTS (original)TTSv0.22.0, December 12, 2023Not archived, but last code push was August 16, 2024
idiap/coqui-ai-TTS (fork)coqui-ttsv0.27.5, January 26, 2026Maintained; describes itself as a fork of the "original, unmaintained repository"

Sources: GitHub API for coqui-ai/TTS, idiap/coqui-ai-TTS and PyPI coqui-tts, retrieved 2026-10-06.

Both repos use the Mozilla Public License 2.0 (MPL-2.0) for the code. The fork is maintained by the Idiap Research Institute team. If you follow an older tutorial that says pip install TTS, swap it for coqui-tts.

Recent Coqui TTS releases

Searches for "Coqui TTS news" usually mean "what changed lately?" Here are the recent releases of the maintained fork, from its GitHub releases page (idiap/coqui-ai-TTS releases, retrieved 2026-10-06).

VersionDateMain change
v0.27.5January 26, 2026Fixed XTTS inference with newer Hugging Face Transformers
v0.27.4January 23, 2026Python 3.14 and PyTorch 2.10 support; PyTorch no longer installed by default
v0.27.3December 13, 2025Sentence-level timestamps; better PyTorch 2.9 support
v0.27.2September 25, 2025Python 3.13 support and documentation link fixes
v0.27.0July 14, 2025Speaker caching for cloned voices and a unified synthesize() interface

There was no release in November 2025. The December 2025 release (v0.27.3) is the one most "late 2025" news refers to.

How Coqui TTS works

Most text-to-speech systems, Coqui included, turn text into audio in 3 stages. Think of it as a small assembly line.

  1. Text processing. The text is cleaned up and often turned into phonemes, the basic sounds of a language. "Dr." becomes "doctor", for example.
  2. Acoustic model. A neural network turns the phonemes into a spectrogram, a picture of how the sound's pitch and energy change over time. Coqui calls these "spectrogram models", such as Tacotron 2, Glow-TTS and FastSpeech 2.
  3. Vocoder. A second network turns the spectrogram into a real audio waveform. Coqui includes vocoders such as HiFi-GAN, MelGAN and WaveRNN.

Coqui also ships end-to-end models that do stages 2 and 3 in one network, such as VITS, YourTTS, XTTS, Tortoise and Bark (coqui-ai/TTS README, retrieved 2026-10-06). End-to-end models are simpler to run and often sound more natural.

How text becomes audio in 3 stages A three-stage flow. Stage 1, text processing, cleans the text and makes phonemes, for example Dr. becomes doctor. Stage 2, the acoustic model, turns phonemes into a spectrogram, as in Glow-TTS or Tacotron 2. Stage 3, the vocoder, turns the spectrogram into an audio waveform, as in HiFi-GAN or MelGAN. Below stages 2 and 3, a box notes that end-to-end models such as VITS, YourTTS, XTTS and Bark do both stages in one network. How text becomes audio in 3 stages Most TTS systems, Coqui included 1. Text processing Cleans the text, makes phonemes “Dr.” → “doctor” 2. Acoustic model Phonemes to spectrogram Glow-TTS, Tacotron 2 3. Vocoder Spectrogram to audio waveform HiFi-GAN, MelGAN End-to-end models One network for stages 2–3 VITS, YourTTS, XTTS, Bark
Text processing feeds an acoustic model and then a vocoder, while end-to-end models such as XTTS handle the last two stages in one network.

Want a deeper look at each stage? Our explainer on neural network architectures for AI voice generation covers the acoustic models, and the guide to neural vocoder architectures covers stage 3.

Installing Coqui TTS

These steps follow the fork's README. They assume you're comfortable with a terminal.

  1. Check Python. The fork is tested with Python 3.10 up to (but not including) 3.15.
  2. Install PyTorch first. From v0.27.4, PyTorch is not included by default, so install it for your system using the official PyTorch instructions.
  3. Install the toolkit: pip install coqui-tts
  4. List the available models: tts --list_models
  5. Make your first file: tts --text "Hello from my first open-source voice." --out_path hello.wav
  6. Import it into your editor. Drop the WAV file into your video editor like any other audio clip.

You can also use it from Python. The README's single-speaker example loads a model and writes a file:

from TTS.api import TTS

tts = TTS("tts_models/de/thorsten/tacotron2-DDC")
tts.tts_to_file(text="Ich bin eine Testnachricht.", file_path="output.wav")

If installation fails, the cause is usually a Python or PyTorch version mismatch. Create a fresh virtual environment and match the versions in the README.

Try it: the three install commands

Copy these into a terminal after PyTorch is installed. Each line is one step from the list above.

pip install coqui-tts
tts --list_models
tts --text "Hello from my first open-source voice." --out_path hello.wav
Setup checklist

Tick each step as you finish it. Your ticks stay in this browser.

0 of 7 done

Stuck? Two quick answers
Install failed? Show me what to check
The cause is usually a Python or PyTorch version mismatch. Create a fresh virtual environment, confirm your Python is between 3.10 and 3.14, install PyTorch for your system, then install coqui-tts again. Match the versions in the fork README.
Which kind of model should I pick? Show me
Spectrogram models such as Tacotron 2, Glow-TTS and FastSpeech 2 do stage 2 and need a vocoder such as HiFi-GAN. End-to-end models such as VITS, YourTTS, XTTS, Tortoise and Bark do stages 2 and 3 in one network, which is simpler to run and often sounds more natural.

Voice cloning with XTTS-v2

XTTS-v2 is Coqui's best-known model. It can clone a voice from a short reference clip and speak in another language. Its Hugging Face model card says it needs "just a 6-second audio clip". It supports 17 languages, including English, Spanish, French, German, Arabic, Chinese, Japanese and Hindi (coqui/XTTS-v2, retrieved 2026-10-06).

In code, you pass a short WAV file of the target voice:

tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2")
wav = tts.tts(text="Hello world!", speaker_wav="my/cloning/audio.wav", language="en")

Check the license before you publish. The XTTS-v2 weights use the Coqui Public Model License 1.0.0. That license is for non-commercial use only. In its terms, non-commercial means you get no direct or indirect payment from the model or its output (XTTS-v2 license, retrieved 2026-10-06). So a monetized YouTube channel or a client video is likely outside it.

Can I use this model for my project?

Pick the part of the toolkit and how you will use the audio. The answer repeats this guide, so it is a summary, not legal advice.

Only clone voices you have permission to use. For how this kind of cloning works under the hood, see our guide to zero-shot voice cloning. If you are weighing cloning against a stock voice, read text-to-speech vs voice cloning, and check whether voice cloning is legal before you publish.

Other open-source libraries

Coqui isn't the only choice. Here are 4 maintained or widely used options, with facts from each project's own GitHub page (retrieved 2026-10-06).

ToolkitCode licenseApproachStatusBest for
Coqui TTS (Idiap fork)MPL-2.0Neural, many models, voice cloning via XTTSMaintainedTrying many models and cloning in one package
PiperGPL-3.0 (new repo); MIT (old repo)Neural, "fast and local"Old rhasspy/piper repo archived; development moved to OHF-Voice/piper1-gplFast offline voices on modest hardware
eSpeak NGGPL-3.0Formant synthesis, a few MB in sizeMaintainedTiny devices, screen readers, 100+ languages and accents
ESPnetApache 2.0Research toolkit with Tacotron 2, FastSpeech 2, VITS and moreMaintainedResearchers training and comparing models

Sources: OHF-Voice/piper1-gpl, rhasspy/piper, eSpeak NG and ESPnet, retrieved 2026-10-06.

eSpeak NG sounds robotic next to neural models, but it's clear, small and covers many languages. Piper sits in the middle: neural quality with low resource needs. ESPnet is the most flexible, and the hardest to start with.

Choosing a TTS toolkit

Match the toolkit to your goal, not to the longest feature list.

Which toolkit fits you? Pick your goal

Click the goal that sounds like yours. Answers use only the facts in this guide.

Pick an option above to see the answer.
Coqui TTS (Idiap fork). Pretrained models and a one-line command. Install coqui-tts, run tts --list_models and listen.
XTTS-v2. It clones from a 6-second clip in 17 languages, but its licence is non-commercial. Use only voices you have permission to use.
Piper. Neural quality with low resource needs. The old rhasspy/piper repo is archived and development moved to OHF-Voice/piper1-gpl (GPL-3.0).
eSpeak NG. A few MB, 100+ languages and accents, GPL-3.0. It sounds more robotic than neural models, but it is clear and small.
ESPnet. Apache 2.0, with Tacotron 2, FastSpeech 2, VITS and more. The most flexible and the hardest to start with.
A hosted voice generator. No installs and no GPU, with clear commercial terms. See when a hosted tool makes more sense.
If you want…Start withWhy
To try many voices and models fastCoqui TTSPretrained models and a one-line command
Voice cloning for personal projectsCoqui XTTS-v26-second clip, 17 languages, non-commercial license
Offline voices on a small computerPiperBuilt to be fast and local
A tiny engine with wide language coverageeSpeak NGA few MB, 100+ languages and accents
To train and publish research modelsESPnetRecipes for many model types

Also check 3 things before you commit:

  • License of the code and of the model weights. They're often different.
  • Recent activity. Look at the date of the last release, not just the star count.
  • Your hardware. Large neural models run far faster on a GPU.

To compare output quality between toolkits, run the same script through each and score it with the listening tests in our guide to synthetic speech intelligibility metrics.

When hosted makes sense

Open-source toolkits are great for learning, privacy and custom research. They're less great when you just need a finished voiceover by this afternoon.

A hosted tool like Kveeky skips the setup: paste a script, pick a voice, download the audio. Kveeky has 700+ AI voices in 40+ languages and a free plan with 500 credits a month (about 40 seconds) and no credit card. Every paid plan includes commercial usage rights, which matters if XTTS's non-commercial license rules it out for you.

Where open source wins: you control the model, your audio never leaves your machine, and you can train on your own data. Where a hosted tool wins: no installs, no GPU, ready-made voices and clear commercial terms.

To size a script, try the words-to-minutes calculator, compare plans on the pricing page and read free vs paid text to speech. Other hosted names are profiled under ElevenLabs and in our 10 best free AI voiceover generators.

Would your script fit a hosted free plan?

Enter the words in your script. The estimate uses 150 words a minute and the free-plan rate of 500 credits for about 40 seconds a month. It is a planning guide, not a quote.

The Kveeky text-to-speech editor with a script in the text box and the Settings panel showing Voice, Transcript Language, Speed, Volume, Emotion and Custom Punctuation.
Look at the editor: a script in the box and, on the right, the settings Voice, Transcript Language, Speed, Volume, Emotion and Custom Punctuation. This is the whole hosted workflow: paste, choose, generate, download the audio.
The Voices page in the Kveeky app: a search box, gender and language filters, the tabs Featured, All voices, My voices and Saved, and a list of stock voices, each with a preview button and a FREE or PRO tag.
The Voices page: search, gender and language filters, a preview button on every voice and a FREE or PRO tag. Press play on a few before you choose. There are more in the AI voices library.

Frequently asked questions

Is Coqui TTS still maintained?

The original coqui-ai/TTS repo has had no release since v0.22.0 on December 12, 2023. The Idiap fork, installed as coqui-tts, is maintained. Its latest release was v0.27.5 on January 26, 2026.

Is Coqui TTS free for commercial use?

The toolkit code is MPL-2.0, which allows commercial use under its terms. Model weights have their own licenses. XTTS-v2 uses the Coqui Public Model License, which is non-commercial only, so check each model you use.

Where is the Coqui TTS GitHub repo?

The original is github.com/coqui-ai/TTS. The maintained fork is github.com/idiap/coqui-ai-TTS, and its PyPI package is coqui-tts.

Can Coqui TTS clone voices?

Yes. The XTTS-v2 model clones a voice from a short reference clip, about 6 seconds according to its model card, and supports 17 languages. Its license limits use to non-commercial projects.

What are the best open-source speech synthesis libraries?

Coqui TTS for many models and voice cloning, Piper for fast offline voices, eSpeak NG for tiny size and 100+ languages, and ESPnet for research. The best one depends on your hardware and license needs.

Do I need a GPU to run Coqui TTS?

Not always. Smaller models can run on a CPU, but large models like XTTS-v2 run much faster on a GPU. Lighter engines such as Piper or eSpeak NG are better fits for low-power machines.

How do I install Coqui TTS?

Use Python 3.10 or newer (below 3.15), install PyTorch for your system first, then run pip install coqui-tts. List the models with tts --list_models and make your first file with the tts command.

Is Coqui TTS open source?

Yes. The toolkit code is MPL-2.0. Model weights can carry their own licenses, and XTTS-v2 uses the Coqui Public Model License, which is non-commercial only.

What is the difference between TTS and coqui-tts on PyPI?

TTS is the original package, last released as v0.22.0 on December 12, 2023. coqui-tts is the maintained Idiap fork, with v0.27.5 released on January 26, 2026.

Which open-source TTS is the lightest?

eSpeak NG is only a few MB and covers 100+ languages and accents, but it sounds more robotic than neural models. Piper is a neural option built to be fast and local.

What is a vocoder in text-to-speech?

A vocoder is the network in stage 3 that turns a spectrogram into an audio waveform. Coqui includes vocoders such as HiFi-GAN, MelGAN and WaveRNN.

How we checked this guide

This guide is written by Govind Kumar for the Kveeky team. Disclosure: Kveeky makes an AI voice generator. No Kveeky usage data is used in this guide.

Your next step: if you're new to speech synthesis, read our plain-English guide to how text-to-speech AI works before you install anything. It'll make every model name above easier to follow.

Keep reading