Nessuna descrizione

tawsif 58046eaa1a changed weights_only=True to false to override security concerns (#973) 10 mesi fa
.github 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 anno fa
docs 626df17a0e Big update on V1.5 (#920) 1 anno fa
fish_speech 80aff02178 fix: rollback clean.py (#951) 1 anno fa
tools 58046eaa1a changed weights_only=True to false to override security concerns (#973) 10 mesi fa
.dockerignore e413df7145 perf: Optimizing docker builds (#547) 1 anno fa
.gitignore 40665e1a39 [fix]fix problems to let version 1.5 support sft (#774) 1 anno fa
.pre-commit-config.yaml 07f97ba3fc [pre-commit.ci] pre-commit autoupdate 1 anno fa
.project-root 5707699dfd Handle adaptive number of codebooks 2 anni fa
.readthedocs.yaml fe293ca492 Use readthedocs instead of github action 2 anni fa
API_FLAGS.txt f54c50fe62 "Ensure the version of checkpoints" (#752) 1 anno fa
LICENSE a5629ad60a Update LICENSE (#740) 1 anno fa
README.md 626df17a0e Big update on V1.5 (#920) 1 anno fa
docker-compose.dev.yml f6c56c68d4 Update docker-compose.dev.yml 1 anno fa
dockerfile f54c50fe62 "Ensure the version of checkpoints" (#752) 1 anno fa
dockerfile.dev 23fa4d7e38 Fix dockerfile for `pyaudio` (#623) 1 anno fa
entrypoint.sh 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 anno fa
inference.ipynb 4fc8dbdfe0 Move inference code to library dir (#801) 1 anno fa
mkdocs.yml 24e5028eb2 Update mkdocs.yml (#936) 1 anno fa
pyproject.toml c811be2361 update license in pyproject.toml. (#931) 1 anno fa
pyrightconfig.json 6d57066e52 Update pre-commit hook 2 anni fa

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 for instant 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

Open In Colab

Videos

V1.5 Demo Video: Watch the video on X (Twitter).

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