Downloads · 30 days
662
25% of all-time downloads
appautomaton/fishaudio-s2-pro-8bit-mlx
fishaudio-s2-pro-8bit-mlx is a text-to-speech model from appautomaton. Use it when you need text read aloud. It is set up for mlx. The card lists the license as other.
This repository contains a self-contained MLX-native int8 conversion of Fish Audio S2 Pro for local text-to-speech on Apple Silicon.
Downloads · 30 days
662
25% of all-time downloads
All-time downloads
2.7K
Public
Parameters
4.6B
6.7 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors6.7 GB · 100%
How the weights are stored.
U324.6B · 100%
From the Hugging Face model README
This repository contains a self-contained MLX-native int8 conversion of Fish Audio S2 Pro for local text-to-speech on Apple Silicon.
It is intended for local speech generation with
mlx-speech, without a PyTorch
runtime at inference time.
fishaudio/s2-proThis bundle is self-contained and includes:
config.jsonmodel.safetensorscodec-mlx/config.jsoncodec-mlx/model.safetensorsThe Fish S2 Pro runtime uses the bundled codec-mlx/ directory to decode model
codes into waveform output.
Basic generation:
python scripts/generate/fish_s2_pro.py \
--text "Hello from Fish S2 Pro." \
--model-dir /path/to/fishaudio-s2-pro-8bit-mlx \
--output outputs/fish_s2_pro.wav
Voice cloning:
python scripts/generate/fish_s2_pro.py \
--text "This is a cloned voice." \
--reference-audio /path/to/reference.wav \
--reference-text "Transcript of the reference audio." \
--model-dir /path/to/fishaudio-s2-pro-8bit-mlx \
--output outputs/fish_s2_pro_clone.wav
Inline prosody and emotion tags:
Fish S2 Pro supports 15,000+ inline tags placed directly in the text. Tags are
single open-style [tag] — no closing tag. Place them immediately before the
word or phrase they apply to.
python scripts/generate/fish_s2_pro.py \
--text "Now Bobby, [clearing throat] I need to talk to you. [whisper] This stays between us. [chuckle] Just kidding." \
--reference-audio /path/to/reference.wav \
--reference-text "Transcript of the reference audio." \
--output outputs/fish_s2_pro_emotion.wav
Common tags: [whisper], [chuckle], [laugh], [clearing throat],
[excited], [sad], [pause]. See the upstream repo for the full tag list.
Minimal Python usage:
from pathlib import Path
from mlx_speech.generation.fish_s2_pro import generate_fish_s2_pro
result = generate_fish_s2_pro(
"Hello from Fish S2 Pro.",
model_dir=Path("/path/to/fishaudio-s2-pro-8bit-mlx"),
)
Fish Audio Research License — following the upstream license published with
fishaudio/s2-pro.