This is a collection of nodes created to aid when managing area conditionings.
This extension adds custom nodes to ComfyUI that offer enhanced control over area-based conditioning. With these nodes, you can precisely manage areas of influence by visually defining their scope. The extension also includes a compact visual panel for previewing how these areas will be positioned and scaled within the image.
The development of these nodes was heavily inspired by Davemane42's Custom Nodes, with the goal of making those nodes accessible to everyone once again.
A special thanks to the cozy_ex_dynamic repository, which provided invaluable guidance on creating nodes with dynamic inputs.
Enter the custom nodes directory for ComfyUI (found in the program's installation directory):
cd custom_nodes
Clone the repository:
git clone https://github.com/Fuwuffyi/ComfyUI-VisualArea-Nodes.git
Restart ComfyUI
A node that allows for area prompting with a graph displaying the areas affected by the conditionings. There are three conditioning inputs when used:
The rest of the widgets within the node are used to properly define the areas of each of the area conditionings. The id widget is used to choose which area to affect, while the other widgets change the area's properties (position and dimensions)
There are also two outputs:
Same as Visual Area Prompt node, with a couple of extra inputs to influence areas in more ways.
There also is a merge_global toggle, to apply the global_conditioning to all areas, meaning it gets applied once for the whole image, and once for each area.