myshell-ai / MeloTTS-English-v2

huggingface.co
Total runs: 418
24-hour runs: 0
7-day runs: -1.2K
30-day runs: -1.2K
Model's Last Updated: March 02 2024
text-to-speech

Introduction of MeloTTS-English-v2

Model Details of MeloTTS-English-v2

MeloTTS

MeloTTS is a high-quality multi-lingual text-to-speech library by MyShell.ai . Supported languages include:

Some other features include:

  • The Chinese speaker supports mixed Chinese and English .
  • Fast enough for CPU real-time inference .
Usage
Without Installation

An unofficial live demo is hosted on Hugging Face Spaces.

Use it on MyShell

There are hundreds of TTS models on MyShell, much more than MeloTTS. See examples here . More can be found at the widget center of MyShell.ai .

Install and Use Locally

Follow the installation steps here before using the following snippet:

from melo.api import TTS

# Speed is adjustable
speed = 1.0

# CPU is sufficient for real-time inference.
# You can set it manually to 'cpu' or 'cuda' or 'cuda:0' or 'mps'
device = 'auto' # Will automatically use GPU if available

# English 
text = "Did you ever hear a folk tale about a giant turtle?"
model = TTS(language='EN_V2', device=device)
speaker_ids = model.hps.data.spk2id

# American accent
output_path = 'en-us.wav'
model.tts_to_file(text, speaker_ids['EN-US'], output_path, speed=speed)

# British accent
output_path = 'en-br.wav'
model.tts_to_file(text, speaker_ids['EN-BR'], output_path, speed=speed)

# Indian accent
output_path = 'en-india.wav'
model.tts_to_file(text, speaker_ids['EN_INDIA'], output_path, speed=speed)

# Australian accent
output_path = 'en-au.wav'
model.tts_to_file(text, speaker_ids['EN-AU'], output_path, speed=speed)

# Default accent
output_path = 'en-default.wav'
model.tts_to_file(text, speaker_ids['EN-Default'], output_path, speed=speed)
Join the Community

Open Source AI Grant

We are actively sponsoring open-source AI projects. The sponsorship includes GPU resources, fundings and intellectual support (collaboration with top research labs). We welcome both reseach and engineering projects, as long as the open-source community needs them. Please contact Zengyi Qin if you are interested.

Contributing

If you find this work useful, please consider contributing to the GitHub repo .

License

This library is under MIT License, which means it is free for both commercial and non-commercial use.

Acknowledgements

This implementation is based on TTS , VITS , VITS2 and Bert-VITS2 . We appreciate their awesome work.

Runs of myshell-ai MeloTTS-English-v2 on huggingface.co

418
Total runs
0
24-hour runs
-674
3-day runs
-1.2K
7-day runs
-1.2K
30-day runs

More Information About MeloTTS-English-v2 huggingface.co Model

More MeloTTS-English-v2 license Visit here:

https://choosealicense.com/licenses/mit

MeloTTS-English-v2 huggingface.co

MeloTTS-English-v2 huggingface.co is an AI model on huggingface.co that provides MeloTTS-English-v2's model effect (), which can be used instantly with this myshell-ai MeloTTS-English-v2 model. huggingface.co supports a free trial of the MeloTTS-English-v2 model, and also provides paid use of the MeloTTS-English-v2. Support call MeloTTS-English-v2 model through api, including Node.js, Python, http.

MeloTTS-English-v2 huggingface.co Url

https://huggingface.co/myshell-ai/MeloTTS-English-v2

myshell-ai MeloTTS-English-v2 online free

MeloTTS-English-v2 huggingface.co is an online trial and call api platform, which integrates MeloTTS-English-v2's modeling effects, including api services, and provides a free online trial of MeloTTS-English-v2, you can try MeloTTS-English-v2 online for free by clicking the link below.

myshell-ai MeloTTS-English-v2 online free url in huggingface.co:

https://huggingface.co/myshell-ai/MeloTTS-English-v2

MeloTTS-English-v2 install

MeloTTS-English-v2 is an open source model from GitHub that offers a free installation service, and any user can find MeloTTS-English-v2 on GitHub to install. At the same time, huggingface.co provides the effect of MeloTTS-English-v2 install, users can directly use MeloTTS-English-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MeloTTS-English-v2 install url in huggingface.co:

https://huggingface.co/myshell-ai/MeloTTS-English-v2

Url of MeloTTS-English-v2

MeloTTS-English-v2 huggingface.co Url

Provider of MeloTTS-English-v2 huggingface.co

myshell-ai
ORGANIZATIONS

Other API from myshell-ai