SuperAPI AI Directory

tts-generation-webui

Open Source generative AI App for voice and music, supporting 15+ TTS models.

Open website

About this tool

TTS Generation WebUI is an open-source generative AI application for speech synthesis and music generation, integrating multiple models into a single Gradio + React WebUI. The project is maintained by rsxdalv, and the codebase is licensed under the MIT License.

Purpose The tool is used to run multiple text-to-speech (TTS), voice conversion, and audio generation models locally, providing a unified graphical interface that makes it easy for users to test, compare, and combine different models. It supports tasks such as speech synthesis, music generation, voice conversion, and audio separation.

Main capabilities Supports more than 15 TTS models, including 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. Some of these models are not installed by default and are provided as extensions. Provides an extension system: extensions are essentially Python packages installed via pip. Multiple extensions can be installed at the same time, but compatibility issues may occur, and the application must be restarted after installation or update. Extensions can be installed from within the WebUI, the React UI, the extension manager, or an external extension installer (adding custom extensions via JSON). The project also provides an extension marketplace (embedded iframe in the Gradio UI) and an extension directory. Provides an OpenAI-compatible API that can be integrated with clients such as Silly Tavern and OpenWebUI. For example, adding a TTS API default provider endpoint in Silly Tavern http://localhost:7778/v1/audio/speech。 Provides a database API server for managing generated audio files and metadata. Provides a log viewer extension for viewing and managing log files.

Usage It is recommended to use the TTS WebUI Ignition installer, which is the new installer and launcher. For other platforms, you can download the latest version from the releases page, or build from source according to the repository instructions. Traditional installer: the current base installation size is about 10.7 GB, and each model requires an additional 2-8 GB of space. Download the latest version and extract it, then run start_tts_webui.bat or start_tts_webui.sh to start the server. The script will ask for the GPU/chip type. After installation is complete, the Gradio server runs at http://localhost:7770,React The UI runs at http://localhost:3000。输出日志位于 installer_scripts/output.log. Note: the startup script sets up the conda environment and Python virtual environment, so there is no need to create a venv in advance. Starting from another venv may break the script. Manual installation: requires Python 3.10 or 3.11 (3.12 is not yet supported), ffmpeg (with vorbis support), optional NodeJS 22.9.0 for the React UI, and SQLite (bundled with Python) for database support. Clone the repository: git clone https://github.com/rsxdalv/tts-webui.git,然后 cd tts-webui. Install dependencies: pip install -r requirements.txt. Run the server: python server.py --no-react. If you need the React UI: cd react-ui, npm install, npm run build, cd .., python server.py. Docker deployment: can be run in a Docker container; using CUDA requires the NVIDIA Container Toolkit. Pull the image from GitHub Container Registry, then start it with Docker Compose. The ports are 7770 (environment variable TTS_PORT) for the Gradio backend and 3000 (environment variable UI_PORT) for the React frontend. When the container generates output for the first time, you need to wait for the model to download in the background; you can check the download status through the container logs. You can also use the included Dockerfile to build your own container, and edit docker-compose to use the new image.

Use cases Suitable for developers, researchers, and enthusiasts who need to test multiple TTS and audio generation models in a unified local interface; suitable for integration with clients such as Silly Tavern and OpenWebUI, providing an OpenAI-compatible speech API; suitable for creative scenarios such as speech synthesis, music generation, voice conversion, and audio separation.

Limitations Some models are not installed by default and need to be installed as extensions. There may be compatibility issues between extensions. After installing and updating extensions, the application needs to be restarted. The base installation is large (about 10.7 GB), and each model takes up an additional 2-8 GB. Manual installation does not currently support Python 3.12. Red messages in the console (pip warnings/errors) are normal, because the project integrates multiple AI projects, and they may complain about other installed projects, but they can still work together in the end. Updates need to be done manually through the mini control panel.

License and compliance The code repository uses the MIT license, but installing dependencies is also subject to their respective licenses. Known non-permissive dependencies include: Tortoise (the repository states Apache-2.0, but HuggingFace has no license file, status unknown), MusicGen (CC BY-NC 4.0), AudioGen (CC BY-NC 4.0).Model weights have different licenses, and you need to pay attention to the license of the model you use. The project requires responsible, ethical, and lawful use; malicious, harmful, or illegal activities are prohibited; impersonating others is prohibited; fraudulent behavior is prohibited; and applicable laws must be complied with.