Nodes Browser
ComfyDeploy: How NX_Translator works in ComfyUI?
What is NX_Translator?
A custom node for translating prompts with Google Translate or DeeplL directly in ComfyUI.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
NX_Translator
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
NX_Translator
<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.
Installation
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.
Features
- translates from any language into English
- uses Google or DeepL services
- allows you to replace or add one translation to another by choosing the separator
- indicates usage quota for DeepL
- import API key DeepL from node