Nodes/ComfyUI-iTools/Paint Node (Beta)
ComfyUI Node

Paint Node (Beta)

A mini Photoshop living inside ComfyUI

By MohammadAboulEla·Created 2 years ago·Updated 6 days ago· 236
Paint Node (Beta)
    • image

    The author's own description of this node, straight from the README: it "may be the most complex node in ComfyUI." That's not marketing copy - it's a genuine paint-and-composite tool built entirely from custom widget code, supporting painting, layer compositing, background removal, text editing, and pasting images directly from your clipboard, all inside one node on the canvas. The README calls it "the fastest mini Photoshop for ComfyUI," and given what's crammed into it, that's a fair claim rather than an overreach.

    What it actually gives you

    Three ways to get content onto the canvas: load an image from disk, add custom text, or paste the last thing you copied to your clipboard. From there, a set of UI buttons: set canvas size, fill the canvas with a chosen color, clear the currently selected layer, and a hold/fetch pair for quick-saving and restoring the node's current state without leaving the graph.

    A handful of shortcuts do real work here too: hold Shift while painting to switch to an eyedropper and pick up the color under your cursor. Alt stamps an image onto the background or foreground layer, and - while the color picker is visible - swaps which side of the screen the palette sits on. Double-click resets a selected image or text element's rotation back to zero, useful after you've fat-fingered a rotate handle.

    The inputs and outputs that matter

    Nothing in required or optional - like this pack's Prompt Builder and Instructor nodes, this is entirely custom-UI-driven with no typed sockets to configure. Everything happens on the node's own canvas.

    Output is a single image - whatever you've composed, ready to feed into the rest of your pipeline (as an inpaint source, a ControlNet input, or just a finished composite).

    Installing it

    Via ComfyUI Manager: search "iTools" or "ComfyUI-iTools," install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/MohammadAboulEla/ComfyUI-iTools
    

    then restart.

    Troubleshooting

    Something breaks after updating ComfyUI or the pack. Take this one seriously - the author explicitly flags it as beta and warns that "future updates could break its functionality," while also committing to try to keep it working. All the widget code here was hand-built specifically for this node rather than reusing a standard ComfyUI component, which is exactly the kind of custom canvas rendering that's historically been the first thing to break when ComfyUI's frontend changes underneath it - the same pattern that's currently hitting other packs with rich custom UI, like rgthree, under the newer Node 2.0 rewrite. If it stops working after an update, check the pack's GitHub issues before assuming your workflow is at fault.

    Clipboard paste doesn't work. It's a right-click-to-paste interaction on the node itself, and it needs an actual image on your OS clipboard at the moment you try it - copied text or a file path won't register as a pasted image.

    Rotation got stuck at an odd angle and you want it reset. Double-click the selected image or text element - that's the built-in shortcut specifically for resetting rotation, rather than trying to drag it back to zero by hand.

    You saved state with "hold" and can't find it after reloading the workflow. The hold/fetch pair is described as a quick save/load for the node's current state - treat it as a within-session convenience rather than permanent storage, and export anything you genuinely can't afford to lose as a real image file instead.

    CategoryiTools

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    imageIMAGE