comfyui-save-image-local

comfyui-save-image-local
★ 7

本地保存PNG/JPEG批量下载自定义命名
将ComfyUI生成的图像直接保存到本地,支持PNG/JPEG、可自定义文件名前缀、自动时间戳与序号、批量保存并显示反馈。
💡 将生成的多张图像按自定义命名批量保存到本地。
🍴 7 Forks💻 Python🔄 2025-01-15
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
📄 README

English | 日本語

ComfyUI Local Save Node

This is a custom node for ComfyUI that allows you to directly download generated images to your local PC.

Features

  • Directly save images generated in ComfyUI to your local PC
  • Supports downloading in PNG or JPEG format
  • Customizable file name prefix
  • Automatic generation of file names including timestamps and serial numbers
  • Batch processing for downloading multiple images at once
  • Feedback display when saving is complete
  • Installation

  • Navigate to the ComfyUI custom nodes directory:
  • cd ComfyUI/custom_nodes

  • Clone this repository:
  • git clone https://github.com/your-username/comfyui_local_save.git

  • Restart ComfyUI
  • How to Use

  • Search for “Local Save Image” in the ComfyUI node browser
  • Add the node and set the following parameters:
  • prefix: Prefix for the file name to be saved (default: “generated”)
  • file_format: Select the save format (PNG/JPEG)
  • Connect the output of the image generation node to the input of the “Local Save Image” node
  • When you run the workflow, the generated image will be downloaded automatically
  • File Name Format

    The file name of the saved image is generated in the following format:

    {prefix}_{timestamp}_{number}.{ext}

    Example:

    generated_20250115_112814_001.png
    generated_20250115_112814_002.png

  • prefix: Prefix specified by the user
  • timestamp: Timestamp in YYYYMMdd_HHmmss format
  • number: 3-digit serial number starting from 001
  • ext: Selected format (png/jpeg)
  • Notes

  • Depending on your browser settings, downloading multiple files may be restricted
  • Please be aware of memory usage when processing a large number of images at once
  • If you select JPEG format, the quality is set to 95%
  • License

    MIT License

    Information for Developers

    Dependencies:

    torch>=2.0.0
    Pillow>=9.0.0
    numpy>=1.22.0

    These packages are included in the standard ComfyUI installation.

    Contact

    Please submit bug reports and feature requests via GitHub Issues.