google_moogle

google_moogle
★ 4

文本翻译Google 翻译自动检测语言ComfyUI 节点
在 ComfyUI 工作流内集成 Google 翻译,支持多语言互译与自动检测源语言,界面简洁,便于在流程中直接转换文本。
💡 在 ComfyUI 流程中自动将文本翻译为目标语言。
🍴 1 Forks💻 Python🔄 2025-10-16
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/8f9eee5e2cdb
📦 requirements.txt
anyio
googletrans
sniffio
typing-extensions
image
📄 README

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.