Nodes/shima_wf/Shima File Saver
ComfyUI Node

Shima File Saver

Save images with organized naming, metadata embedding, and optional preview.

By KDB-USJP·Created 5 months ago·Updated 5 months ago· 1
Shima File Saver
  • images
  • shima.commonparams
  • full_path
  • folder_path
  • filename
  • collision_id
  • timestamp
  • image
show_previewfalse
saver_enabledtrue
export_imageUnprocessed
user_notes
export_with_metadatatrue
export_with_workflowtrue
export_asPNG
export_quality95
overwrite_modecollision_id
base_folderoutput
project_nameproject
base_name
collision_id_enabledtrue
collision_id_modenew_each_run
timestamp_enabledtrue
timestamp_format%Y%m%d_%H%M%S
prefix
suffix
filename_orderPRE,PRJ,BN,ET,SUF,TS,CID
separator_
external_project
external_folder
external_collision_id
subfolder_path
use_commonparamstrue
allow_external_linkingfalse
show_used_valuesfalse
CategoryShima/Output

Inputs (29)

NameTypeDefaultDescription
imagesIMAGEImage to save.
show_previewBOOLEANfalseDisplay image preview below the node options.
saver_enabledBOOLEANtrueMaster on/off switch. If off, node acts as passthrough (no save).
export_imageCOMBOUnprocessedLabel for the image type being saved. Affects filename and metadata.
user_notesSTRINGOptional notes stored in file metadata. Leave blank to skip.
export_with_metadataBOOLEANtrueEmbed metadata (timestamp, project, prompts, model, etc.) in file.
export_with_workflowBOOLEANtrueEmbed full ComfyUI workflow JSON in file (PNG/WebP only).
export_asCOMBOPNGOutput format. PNG is lossless, JPEG/WebP use quality setting.
export_qualityINT951–100Quality for JPEG/WebP (1-100). Ignored for PNG.
overwrite_modeCOMBOcollision_idHow to handle existing files: collision_id (unique), increment, overwrite, or skip.
base_folderSTRINGoutputBase output folder (relative to ComfyUI root or absolute path).
project_nameSTRINGprojectProject Name / Folder - used as subfolder and in filename.
base_nameSTRINGUser-supplied base filename. Leave blank to omit.
collision_id_enabledBOOLEANtrueAdd 6-char random ID to prevent overwrites.
collision_id_modeCOMBOnew_each_runnew_each_run = unique files; fixed = same ID across runs.
timestamp_enabledBOOLEANtrueAdd timestamp to filename.
timestamp_formatSTRING%Y%m%d_%H%M%SPython strftime format (e.g., %Y%m%d_%H%M%S).
prefixSTRINGText to prepend to filename. Skip if blank.
suffixSTRINGText to append before extension. Skip if blank.
filename_orderCOMBOPRE,PRJ,BN,ET,SUF,TS,CIDOrder of filename components. PRE=Prefix, PRJ=Project, BN=BaseName, ET=ExportType, SUF=Suffix, TS=Timestamp, CID=CollisionID.
separatorCOMBO_Character between filename parts.
shima.commonparamsoptDICTConfiguration bundle from Shima.Commons (overrides settings).
external_projectoptSTRINGOverride project name from external source.
external_folderoptSTRINGOverride base folder from external source.
external_collision_idoptSTRINGUse specific collision ID (for matched outputs).
subfolder_pathoptSTRINGOptional subfolder path (useful for batch mirroring).
use_commonparamsoptBOOLEANtrueIf True, use settings from Shima.Commons bundle (Project, Folder, etc.)
allow_external_linkingoptBOOLEANfalseIf ON, this node broadcasts/receives OUTSIDE the Island (ignores group regex)
show_used_valuesoptBOOLEANfalseShow actual values being used (debug)

Outputs (6)

NameTypeDescription
full_pathSTRINGComplete path including folder and filename with extension.
folder_pathSTRINGFolder path only.
filenameSTRINGFilename with extension.
collision_idSTRINGThe collision ID used (for matching related outputs).
timestampSTRINGThe timestamp used.
imageIMAGEPassthrough of input image.