ComfyUI Extension: Download File

Authored by serious-factory

Created

Updated

0 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Single ComfyUI node to securely download image/audio files from a URL.

Looking for a different extension?

Custom Nodes (1)

README

ComfyUI - Download File

A single ComfyUI node to securely download an image or audio file from a URL, store it in the temp directory, and return it as an IMAGE/AUDIO tensor plus file path.

Installation

  1. Clone into ComfyUI/custom_nodes:
    cd ComfyUI/custom_nodes
    git clone https://github.com/serious-factory/ComfyUI-DownloadFile.git
    
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Restart ComfyUI.

Quick usage

  • Add the Download File node (category Utilities/Download).
  • Provide an HTTP/HTTPS URL to an image (jpg/png/webp/gif) or audio file (mp3/wav/flac/ogg/m4a).
  • Optional: expect_type (auto/image/audio) to force the expected type, max_mb to cap size (default 50 MB).
  • Wire IMAGE to image nodes or AUDIO to audio nodes. filepath points to the downloaded file in ComfyUI temp.

Download File node screenshot

Built-in safety

  • HTTP/HTTPS only, blocks private/loopback hosts to reduce SSRF risk.
  • Connection/read timeouts and configurable size limit.
  • MIME/extension allowlist for images and audio; unsupported types are rejected.

Core dependencies

  • requests, torch, torchaudio, pillow, numpy (ComfyUI provides folder_paths).

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more