Built with Fish Audio.
Fish Audio Drama 3 converted for mlx-audio on Apple Silicon. This is an unofficial community conversion; Fish Audio did not release or endorse it.
Drama 3 support is in review in mlx-audio (#1018). Until it is merged, install from the PR branch:
pip install "mlx-audio @ git+https://github.com/stickerdaniel/mlx-audio@fish-drama3"from mlx_audio.tts.utils import load_model
model = load_model("mlx-community/fish-audio-drama-3-4bit")
for result in model.generate(
text="[sighs] Fine. If we miss it, it's on you.",
ref_audio="reference.wav",
ref_text="Transcript of the reference clip.",
stream=True,
first_chunk_frames=4,
):
print(result.audio.shape) # 44.1 kHz chunkspython -m mlx_audio.tts.generate --model mlx-community/fish-audio-drama-3-4bit \
--text "[sighs] Fine. If we miss it, it's on you." \
--ref_audio reference.wav --ref_text "Transcript of the reference clip." \
--temperature 0.7 --top_p 0.7 --top_k 30Speaker tags (<|speaker:0|> to <|speaker:15|>), multiple references and streaming are described in the model docs.
On an M3 Max:
Made with mlx-audio's converter at its defaults:
python -m mlx_audio.tts.models.fish_drama3.convert --src drama-3 --dst drama-3-mlx-4bitNOTICE lists every change to the original weights.
The Fish Audio Community License applies, including its use restrictions and its terms for commercial use and hosted services.