selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Fish Speech logo

Self-host Fish Speech

v1.5.1

Voice cloning and expressive TTS with API server and WebUI

ReleaseSource AvailableOther
docker run --gpus device=0 -v ./checkpoints:/app/checkpoints -e LLAMA_CHECKPOINT_PATH=checkpoints/drama-3 -p 8080:8080 fishaudio/fish-speech:server-cuda
Updatedlast month
LanguagePython
Setup difficultyAdvanced
Stars
33 751
Port
8080 (API server and the WebUI it serves at /ui)
Docker
fishaudio/fish-speech

What is Fish Speech?

Fish Speech is Fish Audio's open-weight text-to-speech stack, built around two models that share one command line and one API server: the 35B-A3B Drama 3 flagship and the 4B S2-Pro. It synthesises speech in roughly a hundred languages, reproduces a voice from a reference clip as short as 10-30 seconds, voices several characters in a single pass through speaker tags, and steers delivery with inline natural-language tags such as [whisper], [pause] and [excited]. Drama 3 adds word-level infilling edits, multi-turn retakes guided by plain instructions, and long dialogues streamed in one pass. Self-hosting means installing the Python package with conda or uv (CUDA 12.6/12.8/12.9 extras, or a CPU extra), pulling checkpoints from the Hugging Face Hub, and then running the included API server, which also serves a WebUI on port 8080; prebuilt images and a Compose profile cover GPU and CPU setups. S2-Pro additionally runs on plain CPU, Intel Arc cards via XPU and AMD GPUs through ROCm. Drama 3 by contrast is NVIDIA-only, wants 48 GB of VRAM or more in FP8, and does not work with torch.compile. Licensing follows the Fish Audio Community License, so research and non-commercial use is free while bigger commercial deployments need a separate agreement. The newest tagged release is v3.0.0-beta, a pre-release; v1.5.1 is the last stable one.

Fish Speech alternatives

Should you self-host Fish Speech?

Fish Speech scores 74/100 on selfhost.directory (how scoring works) and ranks #2 of 9 in Text to Speech. It has 33 751 GitHub stars, +428 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Other-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is OmniVoice-Studio (91/100, 111 668 stars). It scores higher overall, so compare the two before you pick. See Fish Speech vs OmniVoice-Studio side by side.

Features

  • API server
  • Audio editing / infillingDrama 3 only; S2-Pro does not support local editing or infilling.
  • Audio Streaming
  • Command-line inference
  • CPU inferenceCPU image and CPU backend support S2-Pro only.
  • Emotion and prosody control via inline tags
  • Long-form generationDrama 3 targets long content; S2-Pro generates in chunks.
  • Multilingual Support
  • Multiple Output Formats
  • Multi-speaker generation
  • Multi-turn revision of previous takesDrama 3 only.
  • Reference voice management
  • Text-to-speech synthesis
  • Voice Cloning10-30 seconds of reference audio reproduces a timbre.
  • Web UI

Fish Speech README

How to install Fish Speech

Install Fish Speech with Docker

Environment variables
LLAMA_CHECKPOINT_PATH, DECODER_CHECKPOINT_PATH, API_SERVER_PORT, COMPILE, DEVICE
docker run --gpus device=0 \
    -v ./checkpoints:/app/checkpoints \
    -e LLAMA_CHECKPOINT_PATH=checkpoints/drama-3 \
    -p 8080:8080 \
    fishaudio/fish-speech:server-cuda

S2-Pro:

docker run --gpus all \
    -v ./checkpoints:/app/checkpoints \
    -e LLAMA_CHECKPOINT_PATH=checkpoints/s2-pro \
    -e DECODER_CHECKPOINT_PATH=checkpoints/s2-pro/codec.pth \
    -p 8080:8080 \
    fishaudio/fish-speech:server-cuda

Model weights must be mounted at /app/checkpoints; API server on 8080 with WebUI at /ui.

How to configure Fish Speech

  • BACKENDcudaDocker build/compose backend: cuda or cpu (default cuda)

    values: cuda, cpu

  • COMPILEEnable torch.compile for faster inference (S2-Pro only)

    values: 0 or 1

  • API_PORT8080API server port (Docker Compose)
  • UV_VERSION0.8.15UV package manager version used in the image build
  • CUDA_VER12.6.0CUDA base image version

Fish Speech releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Text to Speech

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…