From b2b498d46633c9d8c05399e10dd16bbeaa54a9db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Zs=C3=B6g=C3=B6n?= <10298071+andreszs@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:11:43 -0300 Subject: [PATCH] Change Save Image default value Set a more useful default filename for the **Save Image** node. Sample output path would be: **output/2025-01-07/190401_00001_.png** Note thate "00001_" is a suffix added by ComfyUI itself. --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 1b796ced..e7752278 100644 --- a/nodes.py +++ b/nodes.py @@ -1578,7 +1578,7 @@ class SaveImage: return { "required": { "images": ("IMAGE", {"tooltip": "The images to save."}), - "filename_prefix": ("STRING", {"default": "ComfyUI", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."}) + "filename_prefix": ("STRING", {"default": "%date:yyyy-MM-dd%/%date:hhmmss%", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."}) }, "hidden": { "prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"