myshell-ai / MeloTTS-English

huggingface.co
Total runs: 221.9K
24-hour runs: 0
7-day runs: 26.3K
30-day runs: 62.2K
Model's Last Updated: December 25 2024
text-to-speech

Introduction of MeloTTS-English

Model Details of MeloTTS-English

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', 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 on huggingface.co

221.9K
Total runs
0
24-hour runs
3.9K
3-day runs
26.3K
7-day runs
62.2K
30-day runs

More Information About MeloTTS-English huggingface.co Model

More MeloTTS-English license Visit here:

https://choosealicense.com/licenses/mit

MeloTTS-English huggingface.co

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

MeloTTS-English huggingface.co Url

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

myshell-ai MeloTTS-English online free

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

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

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

MeloTTS-English install

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

MeloTTS-English install url in huggingface.co:

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

Url of MeloTTS-English

MeloTTS-English huggingface.co Url

Provider of MeloTTS-English huggingface.co

myshell-ai
ORGANIZATIONS

Other API from myshell-ai