A custom node for translating prompts with Google Translate or DeeplL directly in ComfyUI.
<img src="https://img.shields.io/badge/Python-3.10-blue" /> <img src="https://img.shields.io/badge/ComfyUI-orange" />
A custom node for translating prompts with Google Translate or DeeplL directly in ComfyUI.
If GIT is installed on your system, go to the custom_nodes
subfolder of your ComfyUI installation, open a terminal and type:
git clone https://github.com/Franck-Demongin/NX_Translator.git
If GIT is not installed, retrieve the ZIP file, unzip it into the custom nodes
folder and rename it NX_translator.
IMPORTANT Activate the Python virtual environment used by ComfyUI from the ComfyUI installation directory:
# Linux, Mac source venv/bin/activate
# Windows venv\Scripts\activate
The command line must be preceded by (venv), indicating that the virtual environment is active.
Install the dependencies used by the node:
pip install -r requirements.txt
Restart ComfyUI. Translator should be available in the NX_Nodes category.