Nodes/ComfyUI-Toggle-Pass/Toggle Load Image
ComfyUI Node

Toggle Load Image

LoadImage, with an eye icon to hide the preview when someone's watching

By electricty00·Created 4 months ago·Updated 4 months ago· 0
Toggle Load Image
    • IMAGE
    • MASK
    image

    Toggle Load Image is ComfyUI's LoadImage with one addition: the privacy mask. Same dropdown of images from your input folder, same IMAGE + MASK outputs, same upload support - plus a 👁 icon in the title bar that blanks the preview when you click it. If you've ever had to unplug a monitor, minimize a window, or explain to a visitor why a questionable reference image is on screen while tuning a workflow, you know exactly why this exists.

    What it actually adds

    The loader itself is a straight clone of the core node's behavior: it lists image files from ComfyUI/input, loads the one you pick (handling EXIF orientation, GIF/MPO sequences, and alpha channels as masks), and returns IMAGE and MASK. One extra quirk: it attempts to extract frames from video files too, if the comfy_extras input utilities are available - so a video file in your input folder can be loaded as its frames.

    The differentiator is the title-bar toggle. Click 👁 and it becomes 🫣; the image preview inside the node goes blank while the data keeps flowing. It's implemented in the frontend by intercepting the node's imgs property, so nothing about the actual image or the generation changes - this is purely "don't show this on my screen." The state serializes into the workflow file, so it sticks around when you save and reopen.

    Inputs and outputs

    Required: image - the file dropdown (with an upload button). Outputs: IMAGE and MASK, wired exactly like the core LoadImage: IMAGE into a VAE Encode, MASK into whatever masking step you're doing.

    Honest verdict

    The functionality is identical to the built-in node, so the only reason to install the pack for this alone is the privacy toggle. Is that worth it? If you screen-share or stream while working, or just work in a shared room, it genuinely is - being able to hide a reference without unplugging the display is a real quality-of-life win. If you're a solo user in a private room, the built-in LoadImage does the same job and you can skip this one. There's no real downside other than another node name to remember.

    Installing it

    It comes with the whole Toggle-Pass pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/electricty00/ComfyUI-Toggle-Pass
    

    then restart ComfyUI, or use ComfyUI Manager and search ComfyUI-Toggle-Pass. No requirements.txt, no pip dependencies - the loader uses ComfyUI's own node_helpers and image utilities, so there's nothing extra to install and nothing to conflict. Small personal pack, modest polish, but the feature it adds over stock is real and it works.

    CategoryToggle-Pass

    Inputs (1)

    NameTypeDefaultDescription
    imageCOMBO1 options: example.png

    Outputs (2)

    NameTypeDescription
    IMAGEIMAGE
    MASKMASK