Nodes/shima_wf/Shima Multi Saver
ComfyUI Node

Shima Multi Saver

Multi-output saver with integrated processing. Saves original plus utility maps (lineart, depth, normal, etc.) with auto-labeling.

By KDB-USJP·Created 5 months ago·Updated 5 months ago· 1
Shima Multi Saver
  • images
  • fx_in
  • shima.commonparams
  • saved_paths
  • count
  • preview_grid
  • image
save_modeSave to Disk
save_originaltrue
save_lineartfalse
lineart_resolution1024
line_art_invertfalse
lineart_intensity1.0
lineart_blur1
save_cannyfalse
canny_low0.40
canny_high0.80
save_depthfalse
depth_modeldepth_anything_v2_vitl_fp32.safetensors
save_normalfalse
normal_modeldsine
normal_strength1.0
save_palettefalse
palette_colors8
save_highlightfalse
highlight_threshold0.80
save_shadowfalse
shadow_threshold0.20
save_fxfalse
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_
export_with_metadatatrue
export_with_workflowtrue
user_notes
external_project
external_folder
external_collision_id
subfolder_path
use_commonparamstrue
allow_external_linkingfalse
show_used_valuesfalse
CategoryShima/Output

Inputs (46)

NameTypeDefaultDescription
imagesIMAGEImages to save.
fx_inIMAGEOptional input for FX pass (processed externally).
save_modeCOMBOSave to DiskSave Mode: 'Save to Disk' writes to your output folder. 'Preview Only' writes to ComfyUI temp folder (deleted on restart).
save_originalBOOLEANtrueSave the original unprocessed image.
save_lineartBOOLEANfalseSave sketch-style lineart (black lines on white). Uses Nikosis model.
lineart_resolutionINT10240–2048Processing resolution for lineart (0 = use input image size).
line_art_invertBOOLEANfalseInvert lineart. Default (False) is Black Lines on White. True is White Lines on Black.
lineart_intensityFLOAT1.00.1–10Intensity/Contrast of the lineart.
lineart_blurINT10–16Blur amount for lineart smoothing.
save_cannyBOOLEANfalseSave Canny edge detection (white edges on black).
canny_lowFLOAT0.400–1Canny low threshold (0-1).
canny_highFLOAT0.800–1Canny high threshold (0-1).
save_depthBOOLEANfalseSave depth map. Uses DepthAnythingV2 via Nikosis if installed.
depth_modelCOMBOdepth_anything_v2_vitl_fp32.safetensorsDepth model. Use 'greyscale' for simple luminance conversion.
save_normalBOOLEANfalseSave normal map using BAE, DSINE, or Sobel.
normal_modelCOMBOdsineNormal estimation: BAE (fast), DSINE (quality), or Sobel (no model).
normal_strengthFLOAT1.00.1–5Normal map intensity (for Sobel method).
save_paletteBOOLEANfalseSave color palette grid.
palette_colorsINT82–32Number of colors in palette.
save_highlightBOOLEANfalseSave highlight mask (bright areas).
highlight_thresholdFLOAT0.800–1Luminance threshold for highlights (0-1).
save_shadowBOOLEANfalseSave shadow mask (dark areas).
shadow_thresholdFLOAT0.200–1Luminance threshold for shadows (0-1).
save_fxBOOLEANfalseEnable FX pass (requires fx_in connection).
base_folderSTRINGoutputBase output folder (relative to ComfyUI root or absolute path).
project_nameSTRINGprojectProject name - 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.
prefixSTRINGText to prepend to filename.
suffixSTRINGText to append before extension.
filename_orderCOMBOPRE,PRJ,BN,ET,SUF,TS,CIDOrder of filename components.
separatorCOMBO_Character between filename parts.
export_with_metadataBOOLEANtrueEmbed metadata in saved files.
export_with_workflowBOOLEANtrueEmbed workflow JSON in saved files.
user_notesSTRINGOptional notes stored in file metadata.
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 (4)

NameTypeDescription
saved_pathsSTRINGComma-separated list of saved file paths.
countINTNumber of files saved.
preview_gridIMAGEGrid preview of all saved images.
imageIMAGEOriginal image passthrough.