Nodes/MD Nodes/MD: Universal Wildcard Orchestrator
ComfyUI Node

MD: Universal Wildcard Orchestrator

A ComfyUI node in MD_Nodes/Prompt Generation with 8 inputs and 1 output.

By MDMAchine·Created about a year ago·Updated 2 months ago· 14
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)

    NameTypeDefaultDescription
    seedINT00–9007199254740991SEED 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_seedBOOLEANtrueRANDOMIZE 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_fileCOMBONonePRESET 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_widgetSTRINGTEXT 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_overrideoptSTRINGINPUT 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.
    delimiteroptSTRING|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_modeoptCOMBO0 - SilentLOGGING 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_profilingoptBOOLEANfalseENABLE PROFILING • Purpose: Measure timing of the recursive parsing algorithm. • Note: Automatically enabled if debug_mode >= 1. ⭐ Recommended: False.

    Outputs (1)

    NameTypeDescription
    final_promptSTRING