Instructions to use mlx-community/kanitts-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/kanitts-2 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir kanitts-2 mlx-community/kanitts-2
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
mlx-community/kanitts-2
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.
Use with mlx-audio
pip install -U mlx-audio
CLI Example:
python -m mlx_audio.tts.generate --model mlx-community/kanitts-2 --text "Hello, this is a test."
Python Example:
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",
)
- Downloads last month
- 4
Model size
0.5B params
Tensor type
F32
·
BF16 ·
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for mlx-community/kanitts-2
Base model
nineninesix/kani-tts-400m-0.3-pt