# MeloTTS

<figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FSwYlvp6yotf1Y9T4zejT%2Fimage.png?alt=media&#x26;token=54c36526-1605-4dbb-8f4e-e286fb7cf7de" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2F2hPCxnz2ZjHQZZBC9E0P%2Fstar-history-20241227%20(1).png?alt=media&#x26;token=1cf860a8-3bb4-4c37-a57c-4f7290919cd7" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2Fo7pGw7PIIxDzSlFsWokQ%2Fimage.png?alt=media&#x26;token=aeee7bf7-5095-4bca-ae2e-72e73af5f0df" alt="" width="375"><figcaption></figcaption></figure>

[GitHub](https://github.com/myshell-ai/MeloTTS)

MeloTTS is a **high-quality multi-lingual** text-to-speech library by [MIT](https://www.mit.edu/) and [MyShell.ai](https://myshell.ai/). Supported languages include:

| Language             | Example                                                                                                                |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| English (American)   | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-US/speed_1.0/sent_000.wav)      |
| English (British)    | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-BR/speed_1.0/sent_000.wav)      |
| English (Indian)     | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN_INDIA/speed_1.0/sent_000.wav)   |
| English (Australian) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-AU/speed_1.0/sent_000.wav)      |
| English (Default)    | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-Default/speed_1.0/sent_000.wav) |
| Spanish              | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/es/ES/speed_1.0/sent_000.wav)         |
| French               | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/fr/FR/speed_1.0/sent_000.wav)         |
| Chinese (mix EN)     | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/zh/ZH/speed_1.0/sent_008.wav)         |
| Japanese             | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/jp/JP/speed_1.0/sent_000.wav)         |
| Korean               | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/kr/KR/speed_1.0/sent_000.wav)         |

Some other features include:

* The Chinese speaker supports `mixed Chinese and English`.
* Fast enough for `CPU real-time inference`.

## Usage

* [Use without Installation](https://github.com/myshell-ai/MeloTTS/blob/main/docs/quick_use.md)
* [Install and Use Locally](https://github.com/myshell-ai/MeloTTS/blob/main/docs/install.md)
* [Training on Custom Dataset](https://github.com/myshell-ai/MeloTTS/blob/main/docs/training.md)

The Python API and model cards can be found in [this repo](https://github.com/myshell-ai/MeloTTS/blob/main/docs/install.md#python-api) or on [HuggingFace](https://huggingface.co/myshell-ai).

**Contributing**

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

* Many thanks to [@fakerybakery](https://github.com/fakerybakery) for adding the Web UI and CLI part.

## **Citation**

```
@software{zhao2024melo,
  author={Zhao, Wenliang and Yu, Xumin and Qin, Zengyi},
  title = {MeloTTS: High-quality Multi-lingual Multi-accent Text-to-Speech},
  url = {https://github.com/myshell-ai/MeloTTS},
  year = {2023}
}
```

## License

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

<br>
