ⓍTTS 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.
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)
.
Stay tuned as we continue to add support for more languages. If you have any language requests, feel free to reach out!
from TTS.api import TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=True)
# 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",
)
Runs of coqui XTTS-v2 on huggingface.co
2.1M
Total runs
71.8K
24-hour runs
118.3K
3-day runs
208.5K
7-day runs
432.8K
30-day runs
More Information About XTTS-v2 huggingface.co Model
XTTS-v2 huggingface.co is an AI model on huggingface.co that provides XTTS-v2's model effect (), which can be used instantly with this coqui XTTS-v2 model. huggingface.co supports a free trial of the XTTS-v2 model, and also provides paid use of the XTTS-v2. Support call XTTS-v2 model through api, including Node.js, Python, http.
XTTS-v2 huggingface.co is an online trial and call api platform, which integrates XTTS-v2's modeling effects, including api services, and provides a free online trial of XTTS-v2, you can try XTTS-v2 online for free by clicking the link below.
XTTS-v2 is an open source model from GitHub that offers a free installation service, and any user can find XTTS-v2 on GitHub to install. At the same time, huggingface.co provides the effect of XTTS-v2 install, users can directly use XTTS-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.