ComfyUI Extension: Netro_wildcards

Authored by netroxin

Created

Updated

0 stars

Since I used 'simple wildcards' from Vanilla and it no longer works with the new Comfy UI version for me, I created an alternative. This CustomNode takes the entire contents of your wildcards-folder(comfyui wildcards) and creates a node for each one.

Custom Nodes (0)

    README

    Netro_wildcards

    Since I used "simple wildcards" from Vanilla and it no longer works with the new Comfy UI version for me, I created an alternative. This CustomNode takes the entire contents of your wildcards-folder(comfyui\wildcards) and creates a node for each one . PS: My "camera prompt generator" node(https://github.com/netroxin/comfyui_netro) for Wan2.2 is also integrated here on end of the List.

    Setup & Usage

    1. git clone https://github.com/netroxin/comfyui_netro_wildcards or Download & Extract zipfile in your ComfyUI custom_nodes folder.
    2. Restart ComfyUI to load the new node.
    3. Add the node from the appropriate category "Netro_Wildcards" in the node menu.
    4. Connect the node String-output.

    Node Parameters

    • Wildcard Line: Select a specific line from the wildcard file or use * for random selection
    • Weight: Adjust influence (default: 1.0)
    • Prefix/Suffix: Add contextual text before/after the wildcard
    • Regex: Filter wildcards matching a pattern
    • Exclude: Block words containing specified terms

    Multiple Wilcards Node Generator:

    A generator with a GUI where you can simply combine multiple wildcards within a node.

    • Run wc_generator_gui.exe https://github.com/netroxin/comfyui_netro_wildcards/releases or wc_generator_gui.pyw (you must first install the contents of requirements_wcgenerator.txt)
    1. To add a new combined Wildcards Node:
    • Add Group, select a name and OK
    • Mark the group if it is not already marked
    • reset all
    • Set the desired wildcards and click on "Assign selected files to group"
    • Generate wc.txt
    • Restart Comfyui Server

    The new Node is in netro_wildcards/special_wc_groups

    1. To remove an existing group:
    • Mark the group that needs to be removed
    • Remove Group
    • Generate wc.txt
    • Restart Comfyui Server

    License

    This project is licensed under the [MIT License].