Nodes/Various ComfyUI Nodes by Type/Image Load RGB From Clipboard
ComfyUI Node

Image Load RGB From Clipboard

Paste an image straight into ComfyUI

By jamesWalker55·Created 3 years ago·Updated about a year ago· 215
Image Load RGB From Clipboard
    • IMAGE

    JWImageLoadRGBFromClipboard grabs whatever image is currently on your system clipboard and drops it into the graph as an RGB image. No file to save, no upload dialog - copy an image from a browser or an editor, run the node, and it's in your workflow. For fast, scrappy iteration on a local ComfyUI it's a lovely little time-saver.

    Think of the workflow it enables: you're browsing references, you find an image, you hit copy, and instead of "save as → find the folder → Load Image → navigate to it," you just run this node. It reads the clipboard directly. It also forces RGB, so like its path-based sibling it strips any alpha and hands you a clean three-channel image.

    What it actually does

    On execution it reads the current clipboard contents, and if there's an image there, decodes it to an RGB IMAGE. There are no inputs to configure - it just takes whatever's on the clipboard at run time. That simplicity is the whole appeal.

    The inputs and outputs that matter

    There are no inputs. The node's entire behavior is "read the clipboard now."

    Output is a single IMAGE in RGB - the pasted image. Wire it into a sampler, a preprocessor, wherever you'd feed a loaded image.

    How to install it

    Pack: jamesWalker55/comfyui-various. ComfyUI Manager - search Various ComfyUI Nodes by Type, install, restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/jamesWalker55/comfyui-various
    

    then restart. The clipboard loaders live in comfyui_image_ops.py. Depending on your OS, reading the clipboard may lean on a system utility or Python clipboard support - if the node can't see your clipboard at all, that's the layer to check.

    Common issues & troubleshooting

    This only makes sense on a local machine - it's useless on hosted/serverless ComfyUI. This is the critical one. The node reads the clipboard of the machine running ComfyUI. On a cloud or serverless service like comfy.icu, that's a headless GPU worker in a data center, not your laptop - and that machine has no clipboard with your image on it. Copying an image on your computer does nothing for a server on the other side of the internet. If you're on a hosted service, use a normal upload/Load Image node instead; save clipboard-paste for a local install where ComfyUI and your clipboard are on the same box.

    Nothing on the clipboard, or non-image content. If you copied text, or the clipboard is empty, there's no image to load and the node will error or return nothing. Copy an actual image first.

    Headless Linux quirks. Even locally, a headless Linux box without a running desktop/clipboard manager may not expose a clipboard at all. Clipboard access assumes there's a real graphical session to read from.

    CategoryjamesWalker55

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    IMAGEIMAGE