Nodes/Seb Nodes/Save Image (Seb)
ComfyUI Node

Save Image (Seb)

Save Image (Seb) explained

By cyberhirsch·Created about a year ago·Updated 8 months ago· 4
Save Image (Seb)
  • images
    base_output_folder/tmp/ComfyUI/output
    subfolder_patternComfyUI_Seb/%date:yyyy-MM-dd%
    filename_coreImage_Seb
    filename_separator_
    include_timestamp_in_filenamefalse
    counter_digits5
    save_workflow_datatrue
    overwrite_existingfalse

    The stock Save Image node is fine right up until the moment your output folder has four thousand PNGs with names like ComfyUI_00001_. That's the point where you start googling for something that actually organizes files, and "Save Image (Seb)" is a reasonable answer. It's a drop-in replacement for the default save node from the Seb Nodes pack: you feed it your IMAGE batch, it writes PNGs, and it gives you real control over filenames, subfolders, and metadata. No model files, no API, nothing clever - just a much better file cabinet.

    How it works

    Three features do the heavy lifting.

    Dated subfolders. The subfolder_pattern input takes tokens like %date:yyyy-MM-dd% and expands them to today's date. The default is ComfyUI_Seb/%date:yyyy-MM-dd%, which means every day's output lands in its own dated folder automatically. You're not opening a folder full of thousands of files; you're opening one full of days.

    Constructed filenames. A filename is built from filename_core (default Image_Seb), the filename_separator (default _), and an auto-incrementing counter padded to counter_digits (default 5), so you get Image_Seb_00001.png, Image_Seb_00002.png, and so on. The counter scans the existing files and keeps counting up, so re-running a workflow never overwrites. Batch runs get a _b00 suffix so each image in the batch is unique. Turn on include_timestamp_in_filename if you want the time in the name too.

    Workflow metadata. ComfyUI embeds the full workflow JSON in the PNG by default - that's what lets you drag an output image back onto the canvas to recover the graph. save_workflow_data toggles exactly that. Leave it on; you'll thank yourself later.

    There's also an actual "Open Last Output Folder" button on the node itself. It calls a small server route in the pack that opens the folder in your OS file manager - a tiny quality-of-life win that the default node just doesn't have.

    The inputs that matter

    • subfolder_pattern - this is the one you'll change. Use MyProject/%date:yyyy-MM-dd% or leave it empty to save flat into the base folder.
    • filename_core - the README's pro tip is right: it's a string input, so you can wire it to a seed primitive and get 12345678_00001.png. Seed-in-filename makes matching an image to its settings trivial.
    • save_workflow_data - keep true.
    • overwrite_existing - flip it on if you deliberately want a fixed filename that clobbers the old file.

    base_output_folder defaults to ComfyUI's output directory. One caveat from the code: the folder-sorting patterns only understand the specific %date:...% tokens the node knows about (yyyy-MM-dd, HH-mm-ss, and friends). Any other strftime-style pattern gets left literally in the filename, so don't get creative.

    Installing it

    ComfyUI Manager is the easy path - open the Manager, Install Custom Nodes, search "Seb", install, restart ComfyUI. Manual is just as simple:

    cd ComfyUI/custom_nodes
    git clone https://github.com/cyberhirsch/seb_nodes
    # restart ComfyUI
    

    The pack has no model downloads. It does auto-install a few Python packages (OpenCV, etc.) on first load, which is normal for this kind of node, just don't be surprised by the pip output.

    One honest note: this is a very small, new pack - the README documents four nodes and two more ship undocumented, and there's essentially no community chatter around it yet. For a save node that's fine; the file-organizing logic is straightforward and works. If you'd rather not trust a barely-known pack with your output pipeline, that's a fair call too - but this one does what it says.

    Categoryimage/save

    Inputs (9)

    NameTypeDefaultDescription
    imagesIMAGE
    base_output_folderSTRING/tmp/ComfyUI/output
    subfolder_patternSTRINGComfyUI_Seb/%date:yyyy-MM-dd%
    filename_coreSTRINGImage_Seb
    filename_separatorSTRING_
    include_timestamp_in_filenameBOOLEANfalse
    counter_digitsINT51–10
    save_workflow_dataBOOLEANtrue
    overwrite_existingBOOLEANfalse

    Outputs (0)

    No outputs