A ComfyUI node that fetches an image from an HTTP URL and returns it as an image tensor. Useful for API-based workflows.
Load Image from HTTP URL is a lightweight but powerful custom node for ComfyUI that allows you to fetch images directly from a remote URL and use them in your workflows without manual uploads or preprocessing.
Instead of uploading an image file manually, you can pass a publicly accessible image URL โ and the node will handle downloading, decoding, and converting it into an image tensor compatible with ComfyUI.
This is especially useful when you're:
By skipping the file transfer step, you reduce friction, improve performance, and make your workflows more automation-friendly.
IMAGE
) for ComfyUILoad Image from HTTP URL
LoadImageFromHttpURL
jerrywap/loaders
image_url
(STRING): Image address (e.g. https://placehold.co/400)IMAGE
: ComfyUI image tensorComfyUI/custom_nodes
directory:cd /workspace/ComfyUI/custom_nodes
git clone https://github.com/yourusername/ComfyUI_LoadImageFromHttpURL.git
cd ComfyUI_LoadImageFromHttpURL
This node requires the following Python packages:
requests
Pillow
numpy
torch
If you're not sure whether you have them installed, you can simply run:
bash install.sh
Or, alternatively:
pip install -r requirements.txt
โ Note: If you already have these packages installed (e.g., through your ComfyUI or Python environment), you do not need to run the installation steps.
Use this node to pull images from:
Example input:
https://placehold.co/400
Contributions welcome! Submit a PR or open an issue if youโd like to improve this.
MIT License โ free to use, modify, and distribute.