Labnana Load Image From URL
Turn any image URL into a ComfyUI tensor — no API key, no fuss
- images
The simplest node in ComfyUI-Labnana, and the only one that doesn't need the pack's API at all. LabnanaLoadImageFromURL takes one or more image URLs and downloads them into a standard ComfyUI IMAGE batch. That's it. No key, no client node, no credits - it's a plain HTTP downloader in node form.
So what's it doing in an API pack? Two things. First, it closes the async loop: when you generate with Labnana Image Generation or fetch with Labnana Get Task, the node already hands you tensors - but the image_urls output (public URLs, valid for 7 days) is sometimes what you want to move around. Paste those URLs here and you're back to working with images locally. Second, it's just generally handy: any image URL works, not just Labnana's, so it doubles as a lightweight "load remote reference image" utility for img2img.
How it works
It takes a single urls input - multiline, one URL per line (commas work as separators too, if you're pasting from somewhere messy). It downloads each URL with a plain requests.get call, decodes it to PIL, and stacks the results into an IMAGE batch. A couple of implementation details worth knowing:
- No authentication, ever. This node uses the raw
requestslibrary, not the authenticated Labnana client. That means it works on any public URL and can't accidentally leak your key - but it also means signed or private URLs won't load. - 120-second timeout per URL, which is generous for big images.
- The
imagesoutput is a normal IMAGE tensor - batch of 1 for a single URL, a stacked batch for several.
That makes the natural wiring: urls ← the image_urls output from a generation/Get Task node, and images → anything that eats an IMAGE, like a Load Image replacement or an img2img reference_images input on the next generation round. Feedback loop, without ever touching disk.
Install
Search Labnana in ComfyUI Manager, or:
cd ComfyUI/custom_nodes
git clone https://github.com/exoticknight/ComfyUI-Labnana.git
Restart ComfyUI. Only dependency is requests. And since this node doesn't authenticate, you don't even need an API key for it - though you'll want one for the rest of the pack.
Gotchas
- URLs expire. Labnana result URLs are only valid for 7 days, so don't build a pipeline that assumes they're permanent - download anything you care about within the week.
- Errors are loud. A dead or unreachable URL raises a
requestserror and fails the node. There's no retry or fallback here, so check URLs before you batch a dozen. - It's not a resizer or a downloader-with-save. It lands in memory as a tensor; if you want the files saved, add a Save Image after it.
The honest verdict: on its own this node is a trivial utility - but it's the piece that makes the fire-and-forget workflow feel complete. Generate, walk away, come back, fetch the task, and drop the URLs right back into your graph as images. That loop is the whole point of the Advanced menu, and this little node is the seam that holds it together.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| urls | STRING | One image URL per line. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |