https://github.com/BuffMcBigHuge/ComfyUI-Zonos
ComfyUI node to make text to speech audio with your own voices.
https://github.com/BuffMcBigHuge/ComfyUI-Zonos
Last synced: about 2 months ago
JSON representation
ComfyUI node to make text to speech audio with your own voices.
- Host: GitHub
- URL: https://github.com/BuffMcBigHuge/ComfyUI-Zonos
- Owner: BuffMcBigHuge
- License: mit
- Created: 2025-02-17T02:53:33.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-17T03:07:26.000Z (about 2 months ago)
- Last Synced: 2025-02-17T04:20:09.946Z (about 2 months ago)
- Language: Python
- Size: 712 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-Zonos**
README
# ComfyUI-Zonos
ComfyUI node to make text to speech audio with your own voices.

** Currently only tested on Windows **
### Installation
* You can `git clone https://github.com/BuffMcBigHuge/ComfyUI-Zonos` into `custom_nodes` or install from ComfyUI-Manager
```
cd custom_nodes/ComfyUI-Zonos
git submodule update --init --recursive
pip install -r requirements.txt
git clone https://github.com/Zyphra/Zonos.git
```
You will need to install eSpeak NG on your machine.
* **Windows**: You can install [eSpeak NG](https://github.com/espeak-ng/espeak-ng/releases/download/1.52.0/espeak-ng.msi) then have to set `PHONEMIZER_ESPEAK_LIBRARY=C:\Program Files\eSpeak NG\libespeak-ng.dll` in your environment variables, and restart your terminal.
* **Linux**: You can install via `sudo apt-get install espeak-ng` then have to set `PHONEMIZER_ESPEAK_LIBRARY=/usr/lib/libespeak-ng.so` in your environment variables, and restart your terminal.
* You may need to install [CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) to use the GPU as well as [Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) to compile.### How To Use
* Drop a .wav file into `ComfyUI/input` of a short (5-10s) clear audio of the voice you'd like to use.
* And a .txt file of the same name with what was said.
* Tap "R" in ComfyUI to refresh the node list.
* Use the `ZonosGenerate` and queue a prompt, ([Example Workflow](./examples/comfy-zonos-example.json)).### Current Issues
* Untested on Mac/Linux
* Model loading isn't handled by Comfy native - ymmv
* Can't get compiling to work - will update when fixed### Special Thanks
* [Zyphra](https://github.com/Zyphra) for the Zonos model.
* [niknah](https://github.com/niknah) for the F5-TTS node.
* [sdbds](https://github.com/sdbds) for the Zonos-for-windows gradio_interface.py