Nodes/comfyui-timesaver/TS Files Downloader
ComfyUI Node

TS Files Downloader

Download every model a workflow needs from a list of URL + target-folder lines, with resume, mirrors and integrity checks.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
TS Files Downloader
      file_listhttps://www.dropbox.com/sh/example_folder?dl=0 /path/to/models https://huggingface.co/stabilityai/sdxl-turbo/resolve/main/sd_xl_turbo_1.0_fp16.safetensors /path/to/checkpoints
      skip_existingtrue
      verify_sizetrue
      chunk_size_kb4096
      hf_token
      hf_domainhuggingface.co, hf-mirror.com
      proxy_url
      modelscope_token
      unzip_after_downloadfalse
      enabletrue
      integrity_modehf_sha256_auto
      CategoryTS/Files

      Inputs (11)

      NameTypeDefaultDescription
      file_listSTRINGhttps://www.dropbox.com/sh/example_folder?dl=0 /path/to/models https://huggingface.co/stabilityai/sdxl-turbo/resolve/main/sd_xl_turbo_1.0_fp16.safetensors /path/to/checkpointsOne download per line, formatted as '<url> <target_dir>'. Target may be absolute, a 'models/...' path, or a registered model folder name (checkpoints, loras, vae). Lines starting with # are ignored.
      skip_existingBOOLEANtrueSkip a file that already exists in the target folder instead of downloading it again.
      verify_sizeBOOLEANtrueVerify each finished file against the size (or HF SHA256) reported by the server; re-download or resume on mismatch.
      chunk_size_kbINT40961–65536Streaming chunk size in KB. Larger values can be faster on fast links; smaller values use less memory.
      hf_tokenoptSTRINGHuggingFace token for gated repos. WARNING: stored in the workflow JSON as plain text — do not share a file that contains it.
      hf_domainoptSTRINGhuggingface.co, hf-mirror.comComma-separated HuggingFace mirror domains. The first reachable one replaces huggingface.co in each URL. Useful in regions where the main host is slow or blocked.
      proxy_urloptSTRINGProxy URL (may contain credentials). WARNING: stored in the workflow JSON as plain text — do not share a file that contains it.
      modelscope_tokenoptSTRINGModelScope token. WARNING: stored in the workflow JSON as plain text — do not share a file that contains it.
      unzip_after_downloadoptBOOLEANfalseAfter a successful download, extract any .zip archive into its target folder and delete the archive.
      enableoptBOOLEANtrueMaster switch. When off, the node does nothing and returns immediately.
      integrity_modeoptCOMBOhf_sha256_autoIntegrity check strategy. 'hf_sha256_auto' verifies HuggingFace files by SHA256 when available; 'size_only' checks byte size alone.

      Outputs (0)

      No outputs