melotts-mblt
Run MeloTTS text-to-speech on Mobilint NPUs. melotts-mblt ships
pre-quantized MeloTTS synthesizers for English and Korean. It provides a Python API, a command line, and a Gradio
WebUI. The acoustic model runs on the NPU, and its Mobilint BERT prosody encoder loads through
transformers-mblt.
Models run on Mobilint ARIES and REGULUS
boards. Supported target-device identifiers are aries-rb, regulus-ra, regulus-rb, regulus-ra-usb, and
regulus-rb-usb.
Version 0.0.0 is the first standalone release. It was extracted from mblt-model-zoo 2.11.0.
Installation
pip install melotts-mblt
# One-time download of the NLTK tagger (English G2P) and the UniDic dictionary
melotts-mblt download
NPU execution requires a supported Mobilint NPU driver and device. Python packaging cannot run post-install steps, so
run melotts-mblt download once after installing.
Quick start
from melotts_mblt import TTS
model = TTS(language="EN_NEWEST", device="cpu", trust_remote_code=True)
try:
speaker_ids = model.hps.data.spk2id
model.tts_to_file("Did you ever hear a folk tale about a giant turtle?", speaker_ids["EN-Newest"], "en.wav", speed=1.0)
finally:
model.dispose() # release the NPU backends
trust_remote_code=True lets the Mobilint BERT prosody encoder load its Hub remote code; the melotts-mblt CLI and
WebUI pass it for you. Use language="KR" with speaker "KR" for Korean. Each language downloads its model from the Mobilint Hugging Face
organization: mobilint/MeloTTS-English-v3 and
mobilint/MeloTTS-Korean.
These TTS(...) arguments select the NPU: dev_no, target_core, target_device, encoder_mxq_path, and
decoder_mxq_path. The API reference has more examples.
Command line
The melotts-mblt command provides three subcommands:
ttssynthesizes speech with the MeloTTS CLI.uilaunches the Gradio WebUI.downloadfetches the NLTK and UniDic resources.
melotts-mblt tts "Text to read" output.wav --language EN_NEWEST --speed 1.2
melotts-mblt tts "text-to-speech 안녕하세요" kr.wav --language KR
melotts-mblt tts file.txt out.wav --file
melotts-mblt ui --host 0.0.0.0 --port 7860
melotts-mblt download
python -m melotts_mblt.cli is equivalent to melotts-mblt. Run melotts-mblt tts --help for every TTS option.
Using with mblt-model-zoo
This package replaces mblt_model_zoo.MeloTTS. The modules have the same contents, and only the import prefix and the
command names differ:
| mblt-model-zoo | melotts-mblt |
|---|---|
from mblt_model_zoo.MeloTTS.api import TTS |
from melotts_mblt import TTS |
mblt_model_zoo.MeloTTS.<module> |
melotts_mblt.<module> |
mblt-model-zoo melo ... / mblt-model-zoo melotts ... |
melotts-mblt tts ... |
mblt-model-zoo melo-ui |
melotts-mblt ui |
mblt-melotts-download |
melotts-mblt download |
Development
Use uv to manage the development environment:
git clone https://github.com/mobilint/MeloTTS-mblt.git
cd MeloTTS-mblt
uv venv --python 3.12
source .venv/bin/activate
uv pip install -e . --group dev
pre-commit install
The test guide explains the hardware-free and NPU test runs.
Support and issues
For installation, model, or runtime support, visit the Mobilint forum or contact tech-support@mobilint.com. Report reproducible package issues in the MeloTTS-mblt issue tracker.
License
Mobilint's code is distributed under the BSD 3-Clause License. The MeloTTS-derived code in melotts_mblt
remains under MyShell.ai's MIT License, and that license ships in the wheel. MeloTTS was
created by Wenliang Zhao, Xumin Yu, and Zengyi Qin; see the API reference
for the original authors and the citation.
Metadata
Release files for melotts-mblt 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| melotts_mblt-0.0.0.tar.gz | 2.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| melotts_mblt-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 MB
Release files / melotts_mblt-0.0.0.tar.gz
| Download URL | melotts_mblt-0.0.0.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b81f70b4dc803e8d60055871b09a241ae0acd80100ee08fa15eba69f3466111
|
|
BLAKE2b-256 checksum How to use checksums |
9d2dcb8c5656112e392b0340e789f15038c8701245780f51f18a06652ccc6906
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / melotts_mblt-0.0.0-py3-none-any.whl
| Download URL | melotts_mblt-0.0.0-py3-none-any.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b53f3d67831d3f19c7925cf82629a9e8117c984c98523abbd00d3f3323b3273
|
|
BLAKE2b-256 checksum How to use checksums |
6f7003240085e3b5e50fe1ce3ef79be0c70093aa1cbe8988947cc55cc9e0be52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency log