Skip to content

Instantly share code, notes, and snippets.

View rosenkim's full-sized avatar

kim rosenkim

View GitHub Profile
@rosenkim
rosenkim / LoadImageFromHttpURL.py
Created May 13, 2026 15:33
Modified version of ComfyUI_LoadImageFromHttpURL
"""
Image loader from HTTP URLs with optional caching.
Allows users to disable cache and force fresh downloads from specified HTTP URLs.
Based on: https://github.com/jerrywap/ComfyUI_LoadImageFromHttpURL
"""
import requests
from PIL import Image
import io