a6ab7c19bac2567942da06c53f16bc7644bc541c
Added sample images to README for better illustration.
BangtrixTranslateUniversal
BangtrixTranslateUniversal is a Custom Node for ComfyUI that translates text from one language to another in real-time. This node is designed for AI generative workflows in ComfyUI that require multi-language prompts.
🌟 Key Features
- Automatic translation of positive and negative prompts.
- Supports multiple popular languages.
- Quality and style presets to enhance prompts.
- Auto-negative presets to reduce undesirable outputs.
- Translation caching for faster processing.
- Option to display original and translated text.
📝 Supported Languages
| Code | Language |
|---|---|
| auto | Auto-detect |
| id | Indonesian |
| en | English |
| ja | Japanese |
| ko | Korean |
| zh-CN | Simplified Chinese |
| zh-TW | Traditional Chinese |
| fr | French |
| de | German |
| es | Spanish |
| pt | Portuguese |
| ru | Russian |
| it | Italian |
| ar | Arabic |
| tr | Turkish |
| hi | Hindi |
| th | Thai |
| vi | Vietnamese |
💻 Installation
- Go to the
custom_nodesfolder in ComfyUI:
cd "F:\Program Files\ComfyUI\custom_nodes"
- Clone the repository or copy the folder:
git clone https://github.com/Anonymzx/BangtrixTranslateUniversal.git
- Restart ComfyUI. The node will appear automatically in the Custom Nodes panel.
⚙️ How to Use
- Add the BangtrixTranslateUniversal node to your workflow.
- Enter positive and negative prompts.
- Select source and target languages.
- Choose quality preset (
normal,high,ultra) and style preset (anime,realistic,cinematic, etc.). - Enable the following options as needed:
- Enable Translate → translate the text
- Enable Enhance → add quality/style enhancements
- Enable Clean → remove newlines
- Enable Cache → use cached translations for speed
- Enable Auto Negative → automatically apply negative prompt presets
- Run the workflow → outputs:
- positive_conditioning
- negative_conditioning
- positive_prompt_final
- negative_prompt_final
🔧 Presets
Quality Preset
normalhighultra
Style Preset
noneanimerealisticcinematicphotographyproductfantasyportrait
Auto Negative Strength
normalstrongultra
⚡ Tips
- Use show_original to see both original and translated text.
- Enable enable_cache to avoid repeated translation requests.
- Ideal for multi-language workflows and AI generative prompts.
Sample
Languages
Python
81.5%
JavaScript
18.5%