Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Coqui XTTS-v2

by Coqui (community fork by idiap)

Zero-shot voice-cloning TTS model; weights under the non-commercial Coqui Public Model License.

Voiceover (text-to-speech) Code libraryOpen source

GitHub repoWebsiteAPI docs

2. Commercial use: huggingface.co

“This license allows only non-commercial use of a machine learning model and its outputs.”

The model and its outputs may be used only for non-commercial purposes.

huggingface.co

License checked Oct 19, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

Coqui XTTS-v2: voice cloning for non-commercial projects

XTTS-v2 is a free speech model that reads text aloud in a voice copied from a few seconds of a recording, in 17 languages. It runs on your own computer, best with a graphics card. Its license allows only non-commercial use, and that includes the audio it makes.

Where you can use it

Voiceover for a hobby video

Read the script of a personal, unpaid video in your own voice after recording a short sample once.

Same voice in another language

Hear how your own voice would sound speaking Spanish, Japanese or Turkish, for a language-learning hobby project.

Voice reply in a research prototype

A test voice assistant or a lab demo speaks its answers back quickly, starting before the whole sentence is ready.

Trying it out before choosing a voice

A company may test and compare it against other voices before buying or building something else for its product.

Reading articles aloud for yourself Idea

Turn saved articles or your own notes into audio in a familiar voice, for listening on a walk.

As reported by Coqui (community fork by idiap): Voice cloning from a 6-second audio clip; The fork's docs say a 3-second clip is enough; 24 kHz audio output; Streaming with under 200 ms latency.

Coqui XTTS-v2 popularity

33 / 100
Gid Score, same scale as developer tools
2,356
GitHub stars
36.8K
PyPI downloads, last 7 days
+33.1% in 4 weeks
Coqui XTTS-v2: downloads per weekPyPI, coqui-tts 35,912
Coqui XTTS-v2: GitHub starsidiap/coqui-ai-TTS 2,356

Downloads from pypistats.org, stars from GitHub, checked Nov 26, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“Set up coqui-tts 0.28.0 in a uv venv for a personal, non-commercial project; I will accept the CPML myself on first run. Clone my voice from me.wav and read script.txt in English to voiceover.wav.”

Show codeStep 1 or Step 2

Install PyTorch for your machine first, then the maintained package coqui-tts (the original project is unmaintained).

uv pip install torch torchaudio torchcodec --torch-backend=auto
uv pip install coqui-tts

Mistakes to avoid

pip install TTS (the original package)
uv pip install coqui-tts after installing PyTorch

The original project is unmaintained; the fork publishes the current package.

Setting COQUI_TOS_AGREED=1 in a script on the person's behalf
Let the person read the CPML and answer the first-run prompt themselves

The download asks the user to agree to the non-commercial license; the variable skips that question.

Installing coqui-tts and expecting PyTorch to come with it
Install torch and torchaudio for your CPU or GPU first

Recent versions no longer include PyTorch.

Passing both speaker and speaker_wav to a model that takes only one
For XTTS use speaker_wav to clone, or speaker for a preset voice

The docs warn many models allow only one of the two.

Using XTTS-v2 for a paid client voiceover
Pick a model whose license allows commercial use, such as Chatterbox

Both the model and its output are non-commercial only.

License

Coqui Public Model License (CPML); code MPL-2.0. Only non-commercial use is allowed, for the model and for the audio it makes, and no payment of any kind may come from it. Anyone you give the model or its audio to must also get the license terms.

Commercial use
No

“This license allows only non-commercial use of a machine learning model and its outputs.” huggingface.co

Credit
Not stated
Inside your app or game
Not allowed

“Use for revenue-generating activity, including projects directly funded by government grants, is not a non-commercial purpose.” huggingface.co

Pass the files on to your users
With conditions

Sharing the model or its audio is allowed for non-commercial use, with the license terms or their link attached.

“You must ensure that anyone who gets a copy of any part of the model, or any modification of the model, or their output, from you also gets a copy of these terms or the URL for them above.” huggingface.co

Monetized YouTube
Not stated

“but only so far as you do not receive any direct or indirect payment arising from the use of the model or its output.” huggingface.co

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Coqui XTTS-v2 free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Coqui XTTS-v2. Paste them into your prompt or AGENTS.md.

License rules
- Coqui XTTS-v2 (Voiceover (text-to-speech)). Zero-shot voice-cloning TTS model; weights under the non-commercial Coqui Public Model License. Price: free; non-commercial only; cannot ship inside an app.
  Connect: PyPI coqui-tts.
  Get files: uv pip install coqui-tts (idiap fork); load TTS("tts_models/multilingual/multi-dataset/xtts_v2") and call tts_to_file with speaker_wav for cloning (wav).
  Not allowed: Coqui Public Model License: non-commercial use only, including outputs.
  Not allowed: No direct or indirect payment may arise from using the model or its output.
  Not allowed: The idiap fork code is MPL-2.0; the XTTS-v2 weights keep the CPML.
  Rule: Do not use XTTS-v2 or its outputs commercially; the CPML allows only non-commercial use.
  License: https://huggingface.co/coqui/XTTS-v2/raw/main/LICENSE.txt (checked 2026-10-19; details: https://agentgid.com/assets/coqui-xtts/)
Can an agent use it by itself?
No.

Agent installs a package or loads it from a CDN.

Install
pip install coqui-tts
How an agent gets files
uv pip install coqui-tts (idiap fork); load TTS("tts_models/multilingual/multi-dataset/xtts_v2") and call tts_to_file with speaker_wav for cloning.

Formats: wav

API, key or account
Not needed. Everything runs on your side. API docs
MCP server
None found
Credit line, if you want one
Voice: Coqui XTTS-v2, Coqui Public Model License 1.0.0 (non-commercial), https://tts-hub.github.io/cpml/
This card for machines

Alternatives

Coqui XTTS-v2 This page

Free Non-commercial PyPI

Chatterbox

Pick Chatterbox when you need voice cloning in a paid product; it is MIT-licensed and adds a watermark.

Free Commercial OK PyPI

Piper

Pick Piper for a small, fast local voice on modest hardware, checking each voice's own license.

Free With conditions PyPI

F5-TTS

Pick F5-TTS to compare another cloning model; its released weights are also non-commercial.

Free With conditions PyPI

VoiceStudio

Local desktop app for voice cloning, voice design, video dubbing, dictation and transcription in 646 languages, with a local API and an MCP server for agents.

Free With conditions MCP, API

VibeVoice

Long-form multi-speaker TTS for podcast-style dialogue, up to 90 minutes and 4 speakers, in English and Chinese.

Free With conditions Download

All voiceover (text-to-speech)

Questions

Can I use XTTS-v2 voices in a monetized YouTube video?

No. The license allows only uses that bring no direct or indirect payment, and that covers the audio it makes.

Can my company try it?

Yes, for testing, evaluation or non-commercial research; not inside a product that earns money.

Which languages does it speak?

Seventeen, including English, Spanish, French, German, Russian, Chinese, Japanese, Korean, Arabic and Hindi.

Which package should I install?

coqui-tts, the maintained fork, with PyTorch installed first.

AgentGid articles about Coqui XTTS-v2

All guides