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",
)