Downloads · 30 days
367
27% of all-time downloads
yunfengwang/supertonic-tts-mnn
supertonic-tts-mnn is a machine learning model from yunfengwang. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as openrail.
[](https://huggingface.co/yunfengwang/supertonic-tts-mnn)
Downloads · 30 days
367
27% of all-time downloads
All-time downloads
1.4K
Public
Repo size
2.1 GB
Likes
4
Public
Click a slice to open those files.
.mnn1.6 GB · 99%
From the Hugging Face model README
A command-line interface for running Supertonic TTS models using MNN.
Install by pip and run:
pip install supertonic-mnn
# Provide text through stdin
echo "Hello world" | supertonic-mnn --output out.wav
# Or read from a text file
supertonic-mnn --input-file sentences.txt --voice F1 --precision int8 --output out.wav
--input-file, -i: Input text file to synthesize (each line will be synthesized separately)--voice: Voice style (default: M1, choices: M1, M2, F1, F2)--precision: Model precision - fp32, fp16, or int8 (default: fp16)--output, -o: Output audio file path (default: output.wav)--speed: Speech speed multiplier (default: 1.0)--steps: Number of denoising steps (default: 5)--model-dir: Directory containing modelsgit clone https://github.com/vra/supertonic-mnn
cd supertonic-mnn
uv sync
# Reading text from stdin
echo "Hello world" | uv run supertonic-mnn --output hello.wav
# Using local models with default precision (fp16)
echo "Hello world" | uv run supertonic-mnn --output hello.wav --model-dir /path/to/models
# Specify precision
echo "Hello world" | uv run supertonic-mnn --output hello.wav --precision fp32
# Download models from HuggingFace (automatic)
echo "Hello world" | uv run supertonic-mnn --output hello.wav --precision int8
# Batch processing from text file
uv run supertonic-mnn --input-file sentences.txt --voice F1 --output result.wav