Nodes/Prompt Helpers/EZ Generate Save
ComfyUI Node

EZ Generate Save

Generate and save in one stop — the pack's finish line

By Pauan·Created 8 months ago·Updated 5 months ago· 3
EZ Generate Save
  • model
  • clip
  • vae
  • prompt
  • sampler
  • image
  • control_net
  • FULL
  • PARTIAL
  • PATH
folder
filename%timestamp%

EZ Generate Save is the all-in-one finish line of the Prompt Helpers pack: it does everything EZ Generate does - same six-plus-one inputs, same sampling - and then saves the result to disk with a timestamped filename. If EZ Generate is the engine, this is the engine with a trailer hitched on.

Everything EZ Generate takes, it takes too - model, clip, vae, prompt (EZ_PROMPT_SETTINGS), sampler (EZ_SAMPLER_SETTINGS), image (EZ_IMAGE_SETTINGS), and optional control_net (EZ_CONTROL_NET) - plus two inputs for where the file goes:

  • folder (STRING, default "") - subfolder under ComfyUI's output directory.
  • filename (STRING, default %timestamp%) - %timestamp% is replaced by the UTC time, so repeated runs don't collide.

Outputs: FULL (the image), PARTIAL (the cropped/masked region), and PATH (the exact folder/filename prefix that was used - handy for downstream nodes that need to know where things landed). It's marked as an output node in the pack, meaning ComfyUI treats it as a proper "end of graph" and it shows up in the queue like a SaveImage.

How it works

Under the hood it's a small graph expansion: an EZ Generate, an EZ Filename (which is why you never wire one yourself when using this node - the timestamp handling is built in), and a stock SaveImage, chained together. The trigger for the filename node is wired from the generated image, so each run computes a fresh timestamp at the right moment.

Which one should you use?

That's genuinely a fork in the road:

  • EZ Generate Save when you're done iterating - you want a saved file, every time, with no extra thought. It's the default terminal node for the pack, and for most people most of the time it's the right answer.
  • EZ Generate + a separate SaveImage when you want the filename logic on the canvas, want to preview without saving, or are routing the image onward (to a preview, an upscaler, a comparison grid) and saving. EZ Generate's PARTIAL output is also useful for inpaint spot-checks, and if you're inspecting PARTIAL you're not in "save and walk away" mode anyway.

If you only remember one thing: this node exists so you never have to think about EZ Filename or SaveImage plumbing. It is the pack's answer to "just let me make an image."

Installing it

It ships with the Prompt Helpers pack. In ComfyUI Manager search "Prompt Helpers" (Pauan/comfyui-prompt-helpers), install, restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/Pauan/comfyui-prompt-helpers

Restart ComfyUI. No model downloads; the pack needs PyYAML and desktop-notifier and ComfyUI 0.8.0+.

One caveat worth knowing: if you set a custom folder, it's joined with a unix-style slash (the pack's path handling has a known Windows rough edge), and an empty filename means the timestamp default. And the same rule as EZ Generate applies - every required socket must be wired from matching EZ source nodes, or the graph won't run.

Categoryprompt_helpers

Inputs (9)

NameTypeDefaultDescription
modelMODELThe model used for denoising the input latent.
clipCLIPThe CLIP model used for encoding the text.
vaeVAE
folderSTRINGThe folder that the images will be saved in.
filenameSTRING%timestamp%The filename for the images. %timestamp% is a UTC timestamp when the image was generated
promptEZ_PROMPT_SETTINGS
samplerEZ_SAMPLER_SETTINGS
imageEZ_IMAGE_SETTINGS
control_netoptEZ_CONTROL_NET

Outputs (3)

NameTypeDescription
FULLIMAGEThe full output image.
PARTIALIMAGEThe output image, but cropped and masked.
PATHSTRINGThe path used for the saved images.