Downloads · 30 days
20
18% of all-time downloads
mlx-community/kanitts-2
kanitts-2 is a text-to-speech model from mlx-community. Use it when you need text read aloud. It is set up for mlx-audio. The card lists the license as other.
This model was converted to MLX format from nineninesix/kani-tts-400m-en using mlx-audio version 0.2.8.
Downloads · 30 days
20
18% of all-time downloads
All-time downloads
112
Public
Parameters
474M
4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1 GB · 99%
How the weights are stored.
BF16442M · 93%
From the Hugging Face model README
This model was converted to MLX format from nineninesix/kani-tts-400m-en using mlx-audio version 0.2.8.
Refer to the original model card for more details on the model.
pip install -U mlx-audio
python -m mlx_audio.tts.generate --model mlx-community/kanitts-2 --text "Hello, this is a test."
from mlx_audio.tts.utils import load_model
from mlx_audio.tts.generate import generate_audio
model = load_model("mlx-community/kanitts-2")
generate_audio(
model=model,
text="Hello, this is a test.",
ref_audio="path_to_audio.wav",
file_prefix="test_audio",
)