Nodes/MD Nodes/MD: Enhanced Seed Saver
ComfyUI Node

MD: Enhanced Seed Saver

A ComfyUI node in MD_Nodes/Save with 13 inputs and 3 outputs.

By MDMAchine·Created about a year ago·Updated 2 months ago· 14
MD: Enhanced Seed Saver
    • seed_output
    • seed_output_str
    • status_info
    operation_modeManual Input (Direct Entry)
    seed_input0
    manual_seed0
    quick_action(None)
    action(None)
    seed_name_input
    seed_to_load_name(None)
    subdirectory
    search_pattern*
    description
    tags
    target_subdirectory
    debug_mode0 - Silent
    CategoryMD_Nodes/Save

    Inputs (13)

    NameTypeDefaultDescription
    operation_modeCOMBOManual Input (Direct Entry)OPERATION MODE • Purpose: Determines caching and base behavior. • Pass-through: Caches. Uses seed from external connected input. • Manual: Caches. Uses manual string input directly. • Execute Action: Never caches. Performs I/O operations (Save, Load). ⭐ Recommended: 'Manual Input' for standard workflow reproducibility.
    seed_inputoptINT00–9007199254740991EXTERNAL SEED INPUT • Purpose: Connect a seed value generated by another node. • Note: Ignored if using 'Manual Input' mode.
    manual_seedoptSTRING0MANUAL SEED VALUE • Purpose: Enter a seed directly as text (avoids JS precision rounding). • Range: 0 to 9,007,199,254,740,991 (JS Safe Max). • Format: Accepts decimal or hex (e.g., 0x1A2B). ⭐ Recommended: Use this instead of INT inputs for total safety.
    quick_actionoptCOMBO(None)QUICK ACTION • Purpose: Apply instant math to the active seed without changing modes. • Options: Increment, Decrement, Randomize, Reset. ⭐ Note: Applies AFTER mode selection but BEFORE execute actions.
    actionoptCOMBO(None)EXECUTE ACTION • Purpose: Perform file I/O operations (Requires Execute Action mode). • Operations: Save, Load, Delete, Backup, Export, Statistics. ⭐ Note: Will force the node to re-run on every queue.
    seed_name_inputoptSTRINGSAVE NAME • Purpose: Filename for the SAVE_CURRENT_SEED action. • Note: Invalid characters are automatically stripped. Leaves blank for auto-timestamp.
    seed_to_load_nameoptCOMBO(None)SELECT SEED • Purpose: Target seed for Load, Delete, Copy, Move, or Stats actions. • Tip: Run 'REFRESH_LISTS' action if new files don't appear.
    subdirectoryoptSTRINGSUBDIRECTORY • Purpose: Target specific folders within the main 'seeds' output directory. • Format: Use forward slashes (e.g., 'project/tests').
    search_patternoptSTRING*SEARCH PATTERN • Purpose: Filters the dropdown list using substring matching. • Note: Also restrains the 'LOAD_RANDOM_SEED' pool.
    descriptionoptSTRINGDESCRIPTION • Purpose: Text notes embedded into the saved JSON file.
    tagsoptSTRINGTAGS • Purpose: Comma-separated tags embedded into the saved JSON file.
    target_subdirectoryoptSTRINGTARGET SUBDIRECTORY • Purpose: Destination folder for COPY or MOVE actions.
    debug_modeoptCOMBO0 - SilentLOGGING VERBOSITY • Controls console output and I/O profiling.

    Outputs (3)

    NameTypeDescription
    seed_outputINT
    seed_output_strSTRING
    status_infoSTRING