ComfyUI Node
MD: Universal Wildcard Orchestrator
A ComfyUI node in MD_Nodes/Prompt Generation with 8 inputs and 1 output.
MD: Universal Wildcard Orchestrator
- final_prompt
◄seed0►
◄randomize_seedtrue►
◄preset_fileNone►
◄text_widget►
◄input_text_override—►
◄delimiter|►
◄debug_mode0 - Silent►
◄enable_profilingfalse►
CategoryMD_Nodes/Prompt Generation
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–9007199254740991 | SEED VALUE • Purpose: Controls random selection logic for wildcards. • Range: 0 to 9,007,199,254,740,991 (JS Safe Max). • Trade-offs: Consistent seeds ensure reproducible prompts. ⭐ Recommended: Connect a global seed node or enable Randomize Seed. |
| randomize_seed | BOOLEAN | true | RANDOMIZE SEED • Purpose: Automatically change seed every generation run. • Options: True (New choices every run), False (Lock current choices). • Trade-offs: Disable this when you want to refine a specific prompt result. ⭐ Recommended: Keep True for prompt exploration. |
| preset_file | COMBO | None | PRESET FILE (Priority 3) • Purpose: Load template from the local /presets folder. • Range: All .txt files in the local presets directory. • Trade-offs: Only used if widget and noodle inputs are completely empty. ⭐ Recommended: Use this to cycle through massive, pre-written prompt libraries. |
| text_widget | STRING | TEXT WIDGET (Priority 2) • Purpose: Manual template entry with wildcard syntax (e.g. {A|B}). • Range: Any valid text string. • Trade-offs: Overrides Preset File; ignored if Input Noodle is connected. ⭐ Recommended: Perfect for one-off generation tests and prompt drafting. | |
| input_text_overrideopt | STRING | INPUT TEXT OVERRIDE (Priority 1) • Purpose: Receive templates from other nodes (LLMs, String logic). • Range: Any string or safely sanitized tensor input. • Trade-offs: Highest priority; overrides both the widget and local files. ⭐ Recommended: Connect LLM outputs here for fully automated pipelines. | |
| delimiteropt | STRING | | | DELIMITER • Purpose: Defines the split character for options within the braces. • Range: Single character (usually | or ,). • Trade-offs: Custom delimiters can break standard syntax compatibility. ⭐ Recommended: Leave as '|' unless using highly specialized formats. |
| debug_modeopt | COMBO | 0 - Silent | LOGGING VERBOSITY • Purpose: Controls console output and parser profiling. • Options: 0 (Silent), 1 (Analytics/Source ID), 2 (Full tracing). ⭐ Recommended: 0 for production, 1 when debugging complex nested wildcards. |
| enable_profilingopt | BOOLEAN | false | ENABLE PROFILING • Purpose: Measure timing of the recursive parsing algorithm. • Note: Automatically enabled if debug_mode >= 1. ⭐ Recommended: False. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| final_prompt | STRING | — |