ComfyUI Node
MD: YAML Configuration Tool
A ComfyUI node in MD_Nodes/Utility with 6 inputs and 2 outputs.
MD: YAML Configuration Tool
- yaml_config_str
- preset_info_string
◄base_presetNone►
◄merge_strategyOverride (Smart Merge)►
◄force_updatefalse►
◄manual_edits# Type overrides here (e.g. cfg_scale: 5.0)
# These will replace values in the Base Preset.►
◄save_new_preset_as►
◄debug_logfalse►
CategoryMD_Nodes/Utility
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| base_preset | COMBO | None | BASE PRESET • Purpose: The foundational YAML file to load. • Requirement: Files must be stored in the 'yaml_presets' folder. |
| merge_strategy | COMBO | Override (Smart Merge) | MERGE STRATEGY • Purpose: How manual edits interact with the base preset. • Override: Replaces base values with your manual edits. • Append Only: Only adds new keys, ignores existing ones. • Pure Manual: Ignores the base preset entirely. ⭐ Recommended: Override (Smart Merge). |
| force_update | BOOLEAN | false | FORCE UPDATE • Purpose: Bypasses caching to re-read the file every generation. ⭐ Recommended: Only on Change (Faster). |
| manual_editsopt | STRING | # Type overrides here (e.g. cfg_scale: 5.0) # These will replace values in the Base Preset. | MANUAL EDITS • Purpose: YAML string to merge with the base preset. • Warning: Must use exact YAML syntax (2 spaces, no tabs). |
| save_new_preset_asopt | STRING | SAVE AS NEW PRESET • Purpose: Saves the final merged result to disk. • Requirement: Leave blank unless you want to create a new file. | |
| debug_logopt | BOOLEAN | false | DEBUG LOG • Purpose: Prints exactly which values were changed during the merge. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| yaml_config_str | STRING | — |
| preset_info_string | STRING | — |