Nodes/ComfyUI-Wireless/Get Wireless (Image)
ComfyUI Node

Get Wireless (Image)

Pick up an image stored halfway across your workflow

By errew·Created 7 months ago·Updated 7 months ago· 2
Get Wireless (Image)
    • image
    keyimg_var

    The receiver half of the blue-port pair. Get Wireless (Image) looks up an IMAGE that a Set Wireless (Image) node stored under a key, and hands it out on a blue IMAGE output - no wire drawn between the two. In a workflow where an image has to reach a save node, an upscaler, or a detail pass that lives far from where it was generated, this lets you skip dragging a connection across the whole graph.

    That's the whole job. Unlike the Any variant, this one is strictly typed to IMAGE, which is exactly why it's pleasant to use: the blue port matches ComfyUI's color-coded type system, so the node slots into image inputs cleanly and you can't wire it where a latent belongs. The price of the convenience is the same as for every hidden-link node - the connection is now an invisible contract between two keys, so when something breaks, you debug by key name rather than by following a wire.

    How it works

    GlobalStore.get(key) trims whitespace from your key (Set does the same when storing, so stray spaces don't break the match) and pulls the image out of the pack's in-process _GLOBAL_CONTEXT dict. No copy - you get the same tensor object the Set node wrote. If the key isn't in the store, it raises a ValueError that helpfully lists every key that is available, so you can see at a glance whether you fat-fingered the name or the Set node just never ran.

    Inputs and outputs

    • key - the channel name (default img_var). Must match the Set node's key exactly (case-sensitive; outer whitespace is trimmed). Two workflows sharing a name in the same session will collide, so pick unique keys.

    Output: image (IMAGE) - feed it anywhere an image input is expected: Save Image, an Upscale Image, VAE Encode for img2img, whatever the far-away consumer is.

    Installation

    ComfyUI Manager, search "ComfyUI-Wireless", or:

    cd ComfyUI/custom_nodes/
    git clone https://github.com/errew/ComfyUI-Wireless.git
    

    Restart and you're done. The pack is standard-library-only - no dependencies, no models to fetch.

    Where people get burned

    • "Key not found" with the key listed as missing means the Set node hasn't run yet. No wire means ComfyUI can't order this Get after the Set on its own - the standard fix is to keep the Set's pass-through output connected into a downstream node so the graph forces the right order.
    • Silent stale output. If the Set was bypassed or deleted, this node returns the last image still in the dict - from a previous run, possibly. An output that looks "off" but produces no error is the signature.
    • Wrong type under the key. If an Any-variant Set stored a non-image under img_var, you'll only find out when the downstream node rejects it. Keep channels separate and names unique.
    CategoryWireless

    Inputs (1)

    NameTypeDefaultDescription
    keySTRINGimg_var

    Outputs (1)

    NameTypeDescription
    imageIMAGE