No Description

Whale and Dolphin 7902e408c8 [feature]add dataset classs (#775) 1 year ago
.github 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 year ago
docs 47057d2187 fix: update command to start WebUI in documentation (#766) 1 year ago
fish_speech 7902e408c8 [feature]add dataset classs (#775) 1 year ago
tools b8bdcd454c Fix ServeReferenceAudio to allow base64 reference data in json (#777) 1 year ago
.dockerignore e413df7145 perf: Optimizing docker builds (#547) 1 year ago
.gitignore 40665e1a39 [fix]fix problems to let version 1.5 support sft (#774) 1 year ago
.pre-commit-config.yaml b951de3b72 v1.5 (#696) 1 year ago
.project-root 5707699dfd Handle adaptive number of codebooks 2 years ago
.readthedocs.yaml fe293ca492 Use readthedocs instead of github action 2 years ago
API_FLAGS.txt f54c50fe62 "Ensure the version of checkpoints" (#752) 1 year ago
LICENSE a5629ad60a Update LICENSE (#740) 1 year ago
README.md a5629ad60a Update LICENSE (#740) 1 year ago
docker-compose.dev.yml f6c56c68d4 Update docker-compose.dev.yml 1 year ago
dockerfile f54c50fe62 "Ensure the version of checkpoints" (#752) 1 year ago
dockerfile.dev 23fa4d7e38 Fix dockerfile for `pyaudio` (#623) 1 year ago
entrypoint.sh 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 year ago
inference.ipynb 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 year ago
install_env.bat f15d9f23a9 feat: enable more workers in `api.py` (#621) 1 year ago
mkdocs.yml 172bcc5f35 [docs]Fix bugs in Chinese docs and add translated docs of agent for other language. (#656) 1 year ago
pyproject.toml c8647de399 Remove dependency duplicate (#719) 1 year ago
pyrightconfig.json 6d57066e52 Update pre-commit hook 2 years ago
run_cmd.bat 8702c61100 From whisper to sensevoice (#482) 1 year ago
start.bat 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 year ago

README.md

Fish Speech

**English** | [简体中文](docs/README.zh.md) | [Portuguese](docs/README.pt-BR.md) | [日本語](docs/README.ja.md) | [한국어](docs/README.ko.md)




This codebase is released under Apache License and all model weights are released under CC-BY-NC-SA-4.0 License. Please refer to LICENSE for more details.


Fish Agent

We are very excited to announce that we have made our self-research agent demo open source, you can now try our agent demo online at demo for instant English chat and English and Chinese chat locally by following the docs.

You should mention that the content is released under a CC BY-NC-SA 4.0 licence. And the demo is an early alpha test version, the inference speed needs to be optimised, and there are a lot of bugs waiting to be fixed. If you've found a bug or want to fix it, we'd be very happy to receive an issue or a pull request.

Features

Fish Speech

  1. Zero-shot & Few-shot TTS: Input a 10 to 30-second vocal sample to generate high-quality TTS output. For detailed guidelines, see Voice Cloning Best Practices.

  2. Multilingual & Cross-lingual Support: Simply copy and paste multilingual text into the input box—no need to worry about the language. Currently supports English, Japanese, Korean, Chinese, French, German, Arabic, and Spanish.

  3. No Phoneme Dependency: The model has strong generalization capabilities and does not rely on phonemes for TTS. It can handle text in any language script.

  4. Highly Accurate: Achieves a low CER (Character Error Rate) and WER (Word Error Rate) of around 2% for 5-minute English texts.

  5. Fast: With fish-tech acceleration, the real-time factor is approximately 1:5 on an Nvidia RTX 4060 laptop and 1:15 on an Nvidia RTX 4090.

  6. WebUI Inference: Features an easy-to-use, Gradio-based web UI compatible with Chrome, Firefox, Edge, and other browsers.

  7. GUI Inference: Offers a PyQt6 graphical interface that works seamlessly with the API server. Supports Linux, Windows, and macOS. See GUI.

  8. Deploy-Friendly: Easily set up an inference server with native support for Linux, Windows and MacOS, minimizing speed loss.

Fish Agent

  1. Completely End to End: Automatically integrates ASR and TTS parts, no need to plug-in other models, i.e., true end-to-end, not three-stage (ASR+LLM+TTS).

  2. Timbre Control: Can use reference audio to control the speech timbre.

  3. Emotional: The model can generate speech with strong emotion.

Disclaimer

We do not hold any responsibility for any illegal usage of the codebase. Please refer to your local laws about DMCA and other related laws.

Online Demo

Fish Audio

Fish Agent

Quick Start for Local Inference

inference.ipynb

Videos

V1.4 Demo Video: Youtube

Documents

Samples (2024/10/02 V1.4)

Credits

Tech Report (V1.4)

@misc{fish-speech-v1.4,
      title={Fish-Speech: Leveraging Large Language Models for Advanced Multilingual Text-to-Speech Synthesis},
      author={Shijia Liao and Yuxuan Wang and Tianyu Li and Yifan Cheng and Ruoyi Zhang and Rongzhi Zhou and Yijin Xing},
      year={2024},
      eprint={2411.01156},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2411.01156},
}

Sponsor