Files
AlekPet-ComfyUI_Custom_Node…/IDENode
AlekPet 6564e907b1 fixes
+ PoseNode alpha channel and js code
+ IDENode check extra_pnginfo in the workflow
+ update version
2025-08-28 22:04:31 +03:00
..
2025-08-22 17:16:22 +03:00
2025-08-28 22:04:31 +03:00
2025-05-17 20:57:44 +03:00

IDE Node

Screenshot IDE Node

IDE Node is an experimental node that allows you to run code written in Python or Javascript directly in the node, it is also possible to receive input data, which is stored in variables, process and output the result.

Changelog:

  • 2024.08.28: Implemented add output variables and types

Features:

  • Selecting a syntax highlighting theme
  • Choosing a programming language

Note:

The result variable is used for output The F1 key in the editor brings up additional settings (Default-Keyboard-Shortcuts)

IDE Node workflows

Translate code

The OPUS-MT model is used (https://github.com/Helsinki-NLP/Opus-MT), but others can be used if you adjust the code.

To use, you need to select the required model for your language, here https://huggingface.co/Helsinki-NLP?sort_models=downloads#models (I use "Helsinki-NLP/opus-mt-ru-en", you can change the abbreviations at the end to your own)

Simple example: Screenshot IDE Node Translate OPUS-MT Simple

Workflow example: Screenshot IDE Node Translate OPUS-MT Workflow

Drag image to ComfyUI open workflow: Screenshot Drag image to ComfyUI open workflow

Workflow link: Workflow ai_translate_opus-mt_idenode_workflow.json