Nodes/ComfyUI-ZMongo/08 Save Preset By Node ID
ComfyUI Node

08 Save Preset By Node ID

A ComfyUI node in ZMongo/08 Presets with 7 inputs and 6 outputs.

By CentralFloridaAttorney·Created 5 months ago·Updated 2 months ago· 1
08 Save Preset By Node ID
  • session
  • preset_json
  • preset_name
  • saved_count
  • storage_backend_used
  • document_id
  • status
preset_namemain_sampler
target_node_id1
collection_nameworkflow_presets
storage_backendauto
overwritetrue
save_modewidgets_and_inputs
CategoryZMongo/08 Presets

Inputs (7)

NameTypeDefaultDescription
preset_nameSTRINGmain_samplerName used to save this node preset.
target_node_idSTRING1The ComfyUI node id number to inspect and save.
collection_nameSTRINGworkflow_presetsLocal preset folder or ZMongo collection name.
storage_backendCOMBOautoauto uses ZMongo API when session is connected, otherwise local file.
overwriteBOOLEANtrueReplace an existing preset with the same name.
save_modeCOMBOwidgets_and_inputswidgets_and_inputs is safest when the target node is already connected to dynamic preset outputs.
sessionoptZMONGO_API_SESSIONOptional API session. Required for zmongo_api storage.

Outputs (6)

NameTypeDescription
preset_jsonSTRING
preset_nameSTRING
saved_countINT
storage_backend_usedSTRING
document_idSTRING
statusSTRING