Nodes/ComfyUI-LogicUtils/Download Image from URL
ComfyUI Node

Download Image from URL

Download Image from URL (ImageFromURLNode) — ComfyUI-LogicUtils

By aria1th·Created 3 years ago·Updated 7 months ago· 116
Download Image from URL
    • IMAGE
    url

    Give this node a URL and it fetches the image at that address and drops it into your graph as a real IMAGE. No downloading the file first, no dragging it into the input folder, no upload step. Just a link in, a picture out. For anyone building automated or API-driven workflows, that's a genuinely handy shortcut.

    The use case is remote source images. You're pulling a reference from somewhere on the web, or your automation already has image URLs and you'd rather not turn each one into a local file. Wire the URL into this node and the image is in the pipeline. It pairs naturally with headless runs where the URL field gets populated from your request rather than typed by hand, which is the same territory as the base64 decoder in this pack, just fetching over the network instead of decoding inline text.

    It comes from ComfyUI-LogicUtils, the utility pack by aria1th, the handle behind AngelBottomless who trained Illustrious XL. It's a personal toolkit, thinly documented, so the node is minimal and you learn its quirks by running it.

    Inputs and outputs

    One input, url, a STRING, the web address of the image. One output, an IMAGE, the fetched picture. That's the whole node. There's no auth field, no headers, no caching option, just the URL.

    Installing it

    • ComfyUI Manager: search "ComfyUI-LogicUtils" in Custom Nodes Manager, install, restart.
    • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/aria1th/ComfyUI-LogicUtils, then restart.

    No models and no heavy dependencies. The pack's optional auto-installer only runs if you set COMFYUI_LOGICUTILS_AUTO_INSTALL=1 (turn it off with COMFYUI_LOGICUTILS_SKIP_INSTALL=1), and fetching a URL needs none of it.

    Where it gets fragile

    This is the one node in the pack that reaches out to the network, and that's where the failure modes live. The URL has to point directly at an image file, not at a webpage that displays one, so a link that ends in .png or .jpg works and a link to a gallery page does not. Anything behind a login, or protected against hotlinking, will fail because the node can't authenticate. And if the host is down or slow, your generation waits on it or errors out. When this node breaks, it's almost always the URL or the remote server, not the node.

    One more thing that surprises people running ComfyUI somewhere other than their own laptop: the fetch happens on whatever machine ComfyUI is running on, not on your computer. On a remote or cloud instance, the image has to be reachable from that server. A URL that only resolves on your home network, or a localhost link, won't work from there.

    Worth a general note too, since this node fetches remote content: custom nodes in ComfyUI run arbitrary Python with full network and disk access, and the ecosystem has been burned by malicious packages before, so it's always sensible to know what a pack does before you install it. This particular node's network use is benign and exactly what it says on the label, but the habit of checking is a good one.

    Categoryimage

    Inputs (1)

    NameTypeDefaultDescription
    urlSTRING

    Outputs (1)

    NameTypeDescription
    IMAGEIMAGE