Skip to content
ModelListedExternal
Download

XTTS v2

coqui-public-model-license

KindOtherBase modelcoqui/XTTS-v2VersionRevision 3a751ed

Model source

Kind
Other
File size
1.04 KB–1.74 GB
Base model
coqui/XTTS-v2
Version
vRevision 3a751ed
Updated
Sep 13, 2026
Downloads
2
Source
Hugging Face

Source description

XTTS

XTTS is a Voice generation model that lets you clone voices into different languages by using just a quick 6-second audio clip. There is no need for an excessive amount of training data that spans countless hours.

Paper: https://arxiv.org/abs/2406.04904

Features

  • Supports 17 languages.
  • Voice cloning with just a 6-second audio clip.
  • Emotion and style transfer by cloning.
  • Cross-language voice cloning.
  • Multi-lingual speech generation.
  • 24khz sampling rate.

Updates over XTTS-v1

  • 2 new languages; Hungarian and Korean
  • Architectural improvements for speaker conditioning.
  • Enables the use of multiple speaker references and interpolation between speakers.
  • Stability improvements.
  • Better prosody and audio quality across the board.

Languages

XTTS-v2 supports 17 languages: English (en), Spanish (es), French (fr), German (de), Italian (it), Portuguese (pt), Polish (pl), Turkish (tr), Russian (ru), Dutch (nl), Czech (cs), Arabic (ar), Chinese (zh-cn), Japanese (ja), Hungarian (hu), Korean (ko) Hindi (hi).

Code

The code-base supports inference and fine-tuning.

🐸💬 CoquiTTSGitHub
💼 DocumentationReadTheDocs
👩‍💻 QuestionsGitHub Discussions
🗯 CommunityDiscord

License

This model is licensed under Coqui Public Model License. There's a lot that goes into a license for generative models, and you can read more of the origin story of CPML here.

Contact

Come and join in our 🐸Community, we're active on Discord.

Using 🐸TTS API:

from TTS.api import TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to("cuda")

# Generate speech by cloning a voice using default settings
tts.tts_to_file(
  text="It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
  file_path="output.wav",
  speaker_wav="/path/to/target/speaker.wav",
  language="en"
)

Using 🐸TTS Command line:

tts --model_name tts_models/multilingual/multi-dataset/xtts_v2 \
    --text "Bugün okula gitmek istemiyorum." \
    --speaker_wav /path/to/target/speaker.wav \
    --language_idx tr \
    --use_cuda true

Using the model directly:

from TTS.tts.configs.xtts_config import XttsConfig
from TTS.tts.models.xtts import Xtts

config = XttsConfig()
config.load_json("/path/to/xtts/config.json")
model = Xtts.init_from_config(config)
model.load_checkpoint(config, checkpoint_dir="/path/to/xtts/", eval=True)
model.cuda()

outputs = model.synthesize(
    "It took me quite a long time to develop a voice and now that I have it I am not going to be silent.",
    config,
    speaker_wav="/data/TTS-public/_refclips/3.wav",
    gpt_cond_len=3,
    language="en",
)

Sources

1 source
Hugging FacePrimaryVersion 3a751ed5c63a84423194a92c98273161897fb055
huggingface.co/med-djd/XTTS-v2/tree/3a751ed5c63a84423194a92c98273161897fb055

Verified Sep 13

Model artifacts

4 artifacts

dvae.pth

pth · 201 MB · SHA-256 b29bc227d410…d97a · Hugging Face

Download

mel_stats.pth

pth · 1.04 KB · SHA-256 1f69422a8a8f…119c · Hugging Face

Download

model.pth

pth · 1.74 GB · SHA-256 d5822cb1d4bf…b99e · Hugging Face

Download

speakers_xtts.pth

pth · 7.40 MB · SHA-256 f0f6137c19a4…943b · Hugging Face

Download

Source excerpts

2 excerpts

--- license: other license_name: coqui-public-model-license license_link: https://tts-hub.github.io/cpml library_name: coqui pipeline_tag: text-to-speech base_model: coqui/XTTS-v2 language: - multilingual - en - es - fr - de - it - pt - pl - tr - ru - nl - cs - ar - zh - hu - ko - ja - hi widget: - text: "Once when I was six years old I saw a magnificent picture" output: url: samples/en_sample.wav - text: "Als ich sechs war, sah ich einmal ein wunderbares Bild" output: url: samples/de_sample.wav - text: "Cuando tenía seis años, vi una vez una imagen magnífica" output: url: samples/es_sample.wav - text: "Lorsque j'avais six ans j'ai vu, une fois, une magnifique image" output: url: samples/fr_sample.wav - text: "かつて 六歳のとき、素晴らしい絵を見ました" output: url: samples/ja-sample.wav - text: "Bir zamanlar, altı yaşındayken, muhteşem bir resim gördüm" output: url: samples/tr_sample.wav - text: "当我还只有六岁的时候, 看到了一副精彩的插画" output: url: samples/zh-cn-sample.wav - text: "Quando eu tinha seis anos eu vi, uma vez, uma imagem magnífica" output: url: samples/pt_sample.wav --- # XTTS XTTS is a Voice generation model that lets you clone voices into different languages by using just a quick 6-second audio clip. There is no need for an excessive amount of training data that spans countless hours. Paper: https://arxiv.org/abs/2406.04904 ### Features - Supports 17 languages. - Voice cloning with just a 6-second audio clip. - Emotion and style transfer by cloning. - Cross-language voice cloning. - Multi-lingual speech generation. - 24khz sampling rate. ### Updates over XTTS-v1 - 2 new languages; Hungarian and Korean - Architectural improvements for speaker conditioning. - Enables the use of multiple speaker references and interpolation between speakers. - Stability improvements. - Better prosody and audio quality across the board. ### Languages XTTS-v2 supports 17 languages: **English (en), Spanish (es), French (fr), German (de), Italian (it), Portuguese (pt), Polish (pl), Turkish (tr), Russian (ru), Dutch (nl), Czech (cs), Arabic (ar), Chinese (zh-cn), Japanese (ja), Hungarian (hu), Korean (ko) Hindi (hi)**. ### Code The [code-base](https://github.com/idiap/coqui-ai-TTS) supports inference and [fine-tuning](https://coqui-tts.readthedocs.io/en/latest/models/xtts.html#training). | | | | ------------------------------- | --------------------------------------- |...

Source context: 2 downloads · 0 likes · Pipeline text-to-speech · Library coqui · Repo med-djd/XTTS-v2