This node provides access to the high-quality Parler TTS with promptable descriptions within ComfyUI. It is part of the IF_AI_tools collection.
Prerequisites:
- Python environment: You need a Python environment with pip. You can use virtual environments like venv or conda environments.
- ComfyUI: Ensure you have ComfyUI installed and set up.
Installation Steps:
- Activate your Python environment.
- Install Parler TTS:
- Linux/macOS:
pip install git+https://github.com/huggingface/parler-tts.git
- Windows (Portable Embedded Python):
H:\ComfyUI_windows_portable\python_embeded\python.exe -m pip install git+https://github.com/huggingface/parler-tts.git
- Install ffmpy (if necessary):
- If you encounter issues with ffmpy, follow these instructions:
- Download ffmpy from https://pypi.org/project/ffmpy/#files
- Extract the downloaded code.
- In the
setup.py
file, comment out line 4 (#from ffmpy import __version__
). - Change the version string on line 8 to the actual version (e.g.,
version="0.3.0"
). - Open a terminal in the extracted ffmpy directory.
- Run the following command, replacing
<your python path>
with the path to your Python executable:<your python path> setup.py
- If you encounter issues with ffmpy, follow these instructions:
- Install importlib_resources (Windows Portable Embedded Python only):
H:\ComfyUI_windows_portable\python_embeded\python.exe -m pip install importlib_resources
- Once installed, the Parler TTS node should be available within ComfyUI.
- You can use it to generate speech audio from text prompts, including descriptive details for controlling the speech style and characteristics.
- Refer to the Parler TTS documentation and examples for more information on using the model effectively. * T