Instructions to use LunaFox/DraculaFlow-TTS-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use LunaFox/DraculaFlow-TTS-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir DraculaFlow-TTS-mlx LunaFox/DraculaFlow-TTS-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
DraculaFlow-TTS-mlx
This repository contains the MLX-converted weights for DraculaFlow-TTS, optimized for fast inference on Apple Silicon using mlx-audio.
- Original Hugging Face Model: LunaFox/DraculaFlow-TTS
Installation
Install mlx-audio:
pip install mlx-audio
Usage
1. Command Line Interface (CLI)
Generate audio clips directly from the terminal using mlx_audio.tts.generate:
python -m mlx_audio.tts.generate \
--model LunaFox/DraculaFlow-TTS-mlx \
--text "We are smoking joint out of a custom carved bong." \
--voice dracula_flow \
--output_path ./output.wav
To play the audio immediately upon generation, add the --play flag:
python -m mlx_audio.tts.generate \
--model LunaFox/DraculaFlow-TTS-mlx \
--text "This shit ain't nothing to me man." \
--voice dracula_flow \
--play
2. Python API
You can also generate audio clips within a Python script:
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="We are smoking joint out of a custom carved bong.",
model="LunaFox/DraculaFlow-TTS-mlx",
voice="dracula_flow",
output_path="./output.wav",
)
Details
- Downloads last month
- 43
Model size
2B params
Tensor type
F32
·
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for LunaFox/DraculaFlow-TTS-mlx
Base model
LunaFox/DraculaFlow-TTS