2025-08-25 19:10:27 +03:00
2025-08-25 18:53:30 +03:00
2025-08-25 19:10:27 +03:00
2025-08-25 19:10:27 +03:00
2025-08-25 19:10:27 +03:00
2025-08-25 19:10:27 +03:00
2025-08-25 19:10:27 +03:00
2025-08-25 19:10:27 +03:00

ComfyUI-SaveCheckpointWithMetadata

Save .safetensors checkpoints with custom metadata and explicit filename behavior in ComfyUI.

  • Write exactly the header you want via metadata_json.
  • Optional prompt_override to replace the hidden PROMPT.
  • Merge mode to include hidden EXTRA_PNGINFO.
  • Filename modes:
    • smart_counter: first save uses unsuffixed prefix.safetensors if free, next saves continue from the next free counter without going backwards.
    • no_counter_overwrite: always write to prefix.safetensors and overwrite if it exists.

Install

ComfyUI Manager

Manual

cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/<your-account>/ComfyUI-SaveCheckpointWithMetadata.git
# optional deps
python3 -m pip install -r ComfyUI-SaveCheckpointWithMetadata/requirements.txt
# optional post-install hook
python3 ComfyUI-SaveCheckpointWithMetadata/install.py || true
S
Description
No description provided
Readme
47 KiB
Languages
Python 100%