# Fish Speech

> Multilingual text-to-speech and voice cloning with inline emotion control

- Category: Multimodal Generation / Audio, Music & Voice
- Language: Python
- Licence: Fish Audio Research License
- Repository: https://github.com/fishaudio/fish-speech
- Website: https://fish.audio
- Canonical page: https://ai-tldr.dev/tools/fish-speech/

## In short

Fish Speech is an open text-to-speech and voice-cloning system from Fish Audio. It sits in the Audio, Music & Voice category of the Multimodal Generation tools and is open-source, written in Python and licensed Fish Audio Research License. To get started: install system prerequisites.

## Overview

Fish Speech is an open text-to-speech and voice-cloning system from Fish Audio. The current model, Fish Audio S2 Pro, is a 4B-parameter model trained on a large multilingual audio set and covering more than 80 languages, so it can read text aloud and copy the voice in a short reference clip.

It is built for developers and researchers who want to add speech to their own apps without calling a hosted API. You can run it from the command line, through a Gradio WebUI, or as an API server, and the model weights are published on HuggingFace.

Within the speech and audio space, Fish Speech stands out for fine-grained control: you embed natural-language tags like [whisper], [excited], or [angry] directly in the text to shape prosody and emotion, and it can handle multi-speaker, multi-turn dialogue.

## What it does

- Multilingual TTS covering more than 80 languages, trained on a large audio corpus
- Voice cloning from a short reference clip plus its matching transcript
- Inline emotion and prosody tags such as [whisper], [excited], [pause], and [laughing]
- Multi-speaker and multi-turn conversation generation
- Run it your way: command-line inference, a Gradio WebUI, or an API server
- Docker Compose profiles for WebUI and server, including CPU-only and AMD ROCm setups

## Getting started

Fish Speech runs on Linux or WSL and recommends a GPU with about 24GB of memory. The simplest path is a conda environment; the project also publishes Docker Compose profiles.

1. Install system prerequisites

   Install the audio libraries the build depends on.

```bash
apt install portaudio19-dev libsox-dev ffmpeg
```

2. Create the environment and install

   Set up Python 3.12 and install the package with the CUDA extra (use cu126/cu128 for other CUDA versions, or .[cpu] for CPU-only).

```bash
conda create -n fish-speech python=3.12
conda activate fish-speech
pip install -e .[cu129]
```

3. Launch the WebUI

   Start the Gradio interface to generate speech in the browser, or use Docker Compose instead.

```bash
python tools/run_webui.py
```

4. Run a quick start with Docker

   If you prefer containers, bring up the WebUI profile with Docker Compose.

```bash
docker compose --profile webui up
```

## When to use it

- Add natural-sounding narration or in-app voice to a product without using a hosted TTS API
- Clone a specific voice from a short sample to keep a consistent character or brand voice
- Generate expressive, emotion-tagged dialogue for games, audiobooks, or video
- Produce multilingual voiceovers across the 80+ supported languages
