Google Moogle
Google Moogle is a Google Translator node for ComfyUI that provides easy-to-use text translation capabilities directly within your ComfyUI workflows.
Features
Translate text between multiple languages
Auto-detect source language
Simple interface that integrates with ComfyUI’s node system
Support for all languages available in Google Translate
Installation
Navigate to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/
Clone this repository:
git clone https://github.com/ShmuelRonen/google_moogle.git
cd google_moogle
Install the required dependencies:
pip install -r requirements.txt
Usage
After installation, restart ComfyUI
In the node browser, search for “Google Moogle” or look in the “text” category
Connect the node to any text source in your workflow
Configure the source and destination languages
Run your workflow to generate the translation
Node Parameters
input_text: The text you want to translate
source_language: The language of the input text (set to “auto” for automatic detection)
destination_language: The language to translate the text into
Example Workflow
Create a “Text” node with your source text
Connect the “Text” node to the “Google Moogle” node
Set the destination language
Connect the “Google Moogle” output to any node that accepts text input
Important Notes
This node uses the unofficial googletrans Python package, which relies on Google Translate’s web interface
As this does not use an official API, translations may occasionally fail or be rate-limited
For production use cases with high volume, consider using an official translation API
Requirements
ComfyUI
Python 3.8+
Dependencies listed in requirements.txt:
googletrans
idna
sniffio
typing-extensions
License
MIT License
Disclaimer
This tool is not affiliated with, authorized by, or endorsed by Google Inc. “Google Translate” is a trademark of Google Inc.