TTS-WebUI

rsxdalvMIT活跃维护

一个基于 Gradio + React 的 WebUI,把 GPT-SoVITS、CosyVoice、XTTSv2、Bark、MusicGen、RVC 等二十多种语音合成、音频生成与音乐生成模型整合到同一界面,省去逐个部署的麻烦。

A single Gradio + React WebUI with extensions for ACE-Step, OmniVoice, Kimi Audio, Piper TTS, GPT-SoVITS, CosyVoice, XTTSv2, DIA, Kokoro, OpenVoice, ParlerTTS, Stable Audio, MMS, StyleTTS2, MAGNet, AudioGen, MusicGen, Tortoise, RVC, Vocos, Demucs, SeamlessM4T, and Bark!

v1.5.2发布于 2026-08-31 21:03 UTC3,309star +2 / 7 天336fork同步于 2026-11-10 17:42 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/rsxdalv/tts-webui.git
cd tts-webui
pip install -r requirements.txt
python server.py --no-react
硬件要求按 README 说明

README 未说明具体显存要求;安装脚本启动时会要求选择所用 GPU/Chip,Docker 中使用 CUDA 需安装 NVIDIA Container Toolkit。

需要 CUDA有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一个 Gradio + React 的 WebUI,把几十种 TTS、音乐生成和音频处理模型集中到同一界面

一个基于 Gradio + React 的 WebUI,把 GPT-SoVITS、CosyVoice、XTTSv2、Bark、MusicGen、RVC 等二十多种语音合成、音频生成与音乐生成模型整合到同一界面,省去逐个部署的麻烦。

核心能力

  • 集成 Bark、Tortoise、XTTSv2、Kokoro 等多种 TTS 模型
  • 内置 MusicGen、MAGNeT、Stable Audio 等音乐生成模型
  • 提供 RVC、Demucs、Vocos、Whisper 等音频转换与处理工具
  • 通过扩展市场在 UI 内安装和管理外部扩展
  • 同时提供 Gradio 后端与 React 前端两套界面

容易踩的坑

Python 需 3.10 或 3.11,3.12 尚不支持;基础安装约 10.7 GB,每个模型还需额外 2-8 GB 空间;Docker 首次启动需在后台下载模型,要等一段时间才有输出;Gradio 默认端口 7770,React UI 默认端口 3000。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v1.5.2
  1. v1.5.2Release 1.5.2最新正式版2026-08-31 · 2026-08-31 21:03 UTC

    What's Changed

    New Contributors

    Full Changelog: https://github.com/rsxdalv/TTS-WebUI/compare/v1.5.1...v1.5.2

  2. v1.5.1Release 1.5.12026-05-14 · 2026-05-14 21:32 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/rsxdalv/TTS-WebUI/compare/v1.5.0...v1.5.1

  3. v1.5.0Release 1.5.02026-04-30 · 2026-04-30 22:38 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/rsxdalv/TTS-WebUI/compare/v1.4.1...v1.5.0

  4. v1.4.1Release 1.4.12026-04-26 · 2026-04-26 21:12 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/rsxdalv/TTS-WebUI/compare/v1.4.0...v1.4.1

  5. v1.4.0Release 1.4.02026-04-22 · 2026-04-22 22:55 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/rsxdalv/TTS-WebUI/compare/v1.2.0...v1.4.0

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Download Installer || Installation || Docker Setup || Silly Tavern || Extensions || Feedback / Bug reports

    banner

    GitHub stars GitHub Discord Open In Colab GitHub forks YouTube

    Videos

    Watch the videoWatch the videoWatch the video

    Examples

    Screenshots

    react_1react_2react_3
    gradio_1gradio_2gradio_3

    Supported Models

    Text-to-speechAudio/Music GenerationAudio Conversion/Tools
    BarkMusicGenRVC
    TortoiseMAGNeTDemucs
    Maha TTSStable AudioVocos
    MMSRiffusion*Whisper
    Vall-E XAudioCraft Mac*AP BWE
    StyleTTS2AudioCraft Plus*Resemble Enhance
    SeamlessM4TACE-Step*Audio Separator
    XTTSv2*Song Bloom*PyRNNoise*
    MARS5*MiMo Audio*
    F5-TTS*
    Parler TTS*
    OpenVoice*
    OpenVoice V2*
    Kokoro TTS*
    DIA*
    CosyVoice*
    GPT-SoVITS*
    Piper TTS*
    Kimi Audio 7B Instruct*
    Chatterbox*
    VibeVoice*
    Kitten TTS*
    Index-TTS2*
    VoxCPM*
    FireRedTTS2*
    MegaTTS3*
    MiniMax Cloud TTS (built-in)

    * These models are not installed by default, instead they are available as extensions.

    Installation

    Using TTS WebUI Ignition (Recommended)

    TTS WebUI Ignition is the new installer and launcher for TTS WebUI.

    On Windows:

    winget install TTS-WebUI.Ignition
    

    For other platforms, download the latest release from the releases page or build it from source using the instructions in the repository.

    Using the Installer (Legacy)

    Current base installation size is around 10.7 GB. Each model will require 2-8 GB of space in addition.

    • Download the latest version and extract it.
    • Run start_tts_webui.bat or start_tts_webui.sh to start the server. It will ask you to select the GPU/Chip you are using. Once everything has installed, it will start the Gradio server at http://localhost:7770 and the React UI at http://localhost:3000.
    • Output log will be available in the installer_scripts/output.log file.
    • Note: The start script sets up a conda environment and a python virtual environment. Thus you don't need to make a venv before that, and in fact, launching from another venv might break this script.

    Manual installation

    Prerequisites:

    • git
    • Python 3.10 or 3.11 (3.12 not supported yet)
    • PyTorch
    • ffmpeg (with vorbis support)
    • (Optional) NodeJS 22.9.0 for React UI
    • SQLite (bundled with Python) for database support
    1. Clone the repository:

      git clone https://github.com/rsxdalv/tts-webui.git
      cd tts-webui
      
    2. Install required packages:

      pip install -r requirements.txt
      
    3. Run the server:

      python server.py --no-react
      
    4. For React UI:

      cd react-ui
      npm install
      npm run build
      cd ..
      python server.py
      

    For detailed manual installation instructions, please refer to the Manual Installation Guide.

    Docker Setup

    tts-webui can also be ran inside of a Docker container. Using CUDA inside of docker requires NVIDIA Container Toolkit. To get started, pull the image from GitHub Container Registry:

    docker pull ghcr.io/rsxdalv/tts-webui:main
    

    Once the image has been pulled it can be started with Docker Compose: The ports are 7770 (env:TTS_PORT) for the Gradio backend and 3000 (env:UI_PORT) for the React front end.

    docker compose up -d
    

    The container will take some time to generate the first output while models are downloaded in the background. The status of this download can be verified by checking the container logs:

    docker logs tts-webui
    
    Building the image yourself

    If you wish to build your own docker container, you can use the included Dockerfile:

    docker build -t tts-webui .
    

    Please note that the docker-compose needs to be edited to use the image you just built.

    Changelog

    May:

    • Add virtual environment system (uv), preventing extension conflicts.

    April:

    • Add torchcodec CPU to requirements
    • Upgrade PyTorch to 2.11.0
    • Update pin TorchAudio to 2.7.0

    March:

    • feat: Next.js 13.5 → 16.2.1 Upgrade

    December:

    • Minor bug fixes and improvements
    • refactor: extract bark config loading to separate function from WebUI
    • chore: remove postgres from tts-webui as it is a heavy dependency not needed for most users
    • feat: add database API server to manage generated audio files and metadata

    November:

    • Add extension marketplace directly in the Gradio UI using iframe
    • Move voices-tortoise to voices/tortoise/ (and maha-tts to voices/maha_tts/)
    • feat: add comprehensive test suite for tts_webui modules
    • feat: implement install button for extension marketplace
    • feat: add button to check dependencies in extension management UI
    • feat(cli): add extension-manager command to launch GUI tool
    • chore: remove uv from google colab
    • chore: move logging directory to installer_scripts/logs/
    • feat: add ability to disable decorator extensions via config.json

    October:

    • Update Gradio to 5.49.1
    • Update @gradio/client to 1.19.1
    • Fix Chatterbox installation issues, paths and streaming errors in Silly Tavern
    • Create new extension category - Conversational AI
    • Reorganize environment variables, new dotenv manager
    • Convert more of the UI into extensions and simplify base server
    • Add API_KEY to OpenAI TTS API extension
    • feat: support new extensions format - tabsInGroups
    • feat: add External Extensions Installer to manage and install external extensions via JSON
    • feat: Add links to TTS WebUI Extension Catalog in documentation and installer UI
    • feat: Add Log Viewer extension to view and manage log files

    Past Changes

    See the 2025 Changelog for a detailed list of changes in 2025.

    See the 2024 Changelog for a detailed list of changes in 2024.

    See the 2023 Changelog for a detailed list of changes in 2023.

    Extensions

    Extensions are available to install from the webui itself, or using React UI. They can also be installed using the extension manager or the External Extensions Installer (a built-in tool for adding custom extensions from JSON).

    Internally, extensions are just python packages that are installed using pip. Multiple extensions can be installed at the same time, but there might be compatibility issues between them. After installing or updating an extension, you need to restart the app to load it.

    For a curated list of community-created extensions, visit the TTS WebUI Extension Catalog. You can also find information on publishing your own extensions there.

    Updates need to be done manually by using the mini-control panel:

    mini-control-panel

    Integrations

    Silly Tavern

    1. Update OpenAI TTS API extension to latest version

    2. Start the API and test it with Python Requests

      (OpenAI client might not be installed thus the Test with Python OpenAI client might fail)

    3. Once you can see the audio generates successfully, go to Silly Tavern, and add a new TTS API Default provider endpoint: http://localhost:7778/v1/audio/speech silly-tavern-tts-api

    4. Test it out!

    Text Generation WebUI (oobabooga/text-generation-webui)

    1. Install https://github.com/rsxdalv/text-to-tts-webui extension in text-generation-webui
    2. Start the API and test it with Python Requests
    3. Configure using the panel: oobaboooga-text-to-tts-webui

    OpenWebUI

    1. Enable OpenAI API extension in TTS WebUI
    2. Start the API and test it with Python Requests
    3. Once you can see the audio generates successfully, go to OpenWebUI, and add a new TTS API Default provider endpoint: http://localhost:7778/v1/audio/speech
    4. Test it out! openwebui

    OpenAI Compatible APIs

    Using the instructions above, you can install an OpenAI compatible API, and use it with Silly Tavern or other OpenAI compatible clients.

    Compatibility / Errors

    Red messages in console

    These messages:

    ---- requires ----, but you have ---- which is incompatible.
    

    Are completely normal. It's both a limitation of pip and because this Web UI combines a lot of different AI projects together. Since the projects are not always compatible with each other, they will complain about the other projects being installed. This is normal and expected. And in the end, despite the warnings/errors the projects will work together. It's not clear if this situation will ever be resolvable, but that is the hope.

    Extra Voices for Bark, Prompt Samples

    PromptEcho

    Bark Speaker Directory

    Bark Readme

    README_Bark.md

    Info about managing models, caches and system space for AI projects

    https://github.com/rsxdalv/tts-webui/discussions/186#discussioncomment-7291274

    Open Source Libraries

    Ethical and Responsible Use

    This technology is intended for enablement and creativity, not for harm.

    By engaging with this AI model, you acknowledge and agree to abide by these guidelines, employing the AI model in a responsible, ethical, and legal manner.

    • Non-Malicious Intent: Do not use this AI model for malicious, harmful, or unlawful activities. It should only be used for lawful and ethical purposes that promote positive engagement, knowledge sharing, and constructive conversations.
    • No Impersonation: Do not use this AI model to impersonate or misrepresent yourself as someone else, including individuals, organizations, or entities. It should not be used to deceive, defraud, or manipulate others.
    • No Fraudulent Activities: This AI model must not be used for fraudulent purposes, such as financial scams, phishing attempts, or any form of deceitful practices aimed at acquiring sensitive information, monetary gain, or unauthorized access to systems.
    • Legal Compliance: Ensure that your use of this AI model complies with applicable laws, regulations, and policies regarding AI usage, data protection, privacy, intellectual property, and any other relevant legal obligations in your jurisdiction.
    • Acknowledgement: By engaging with this AI model, you acknowledge and agree to abide by these guidelines, using the AI model in a responsible, ethical, and legal manner.

    License

    Codebase and Dependencies

    The codebase is licensed under MIT. However, it's important to note that when installing the dependencies, you will also be subject to their respective licenses. Although most of these licenses are permissive, there may be some that are not. Therefore, it's essential to understand that the permissive license only applies to the codebase itself, not the entire project.

    That being said, the goal is to maintain MIT compatibility throughout the project. If you come across a dependency that is not compatible with the MIT license, please feel free to open an issue and bring it to our attention.

    Known non-permissive dependencies:

    LibraryLicenseNotes
    encodecCC BY-NC 4.0Newer versions are MIT, but need to be installed manually
    diffqCC BY-NC 4.0Optional in the future, not necessary to run, can be uninstalled, should be updated with demucs
    lameencGPL LicenseFuture versions will make it LGPL, but need to be installed manually
    unidecodeGPL LicenseNot mission critical, can be replaced with another library, issue: https://github.com/neonbjb/tortoise-tts/issues/494

    Model Weights

    Model weights have different licenses, please pay attention to the license of the model you are using.

    Most notably:

    • Bark: MIT
    • Tortoise: Unknown (Apache-2.0 according to repo, but no license file in HuggingFace)
    • MusicGen: CC BY-NC 4.0
    • AudioGen: CC BY-NC 4.0