CivArchive
    ComfyUI Wildcards Custom Node - v1.0
    Preview 1617933Preview 1617935Preview 1617937

    Wildcard node for ComfyUI

    This is a custom node for ComfyUI to add in wildcard functionality from files. I really liked this one for A1111, so I wrote a node for ComfyUI. This node creates a Seed, and can be wired to the KSampler to reuse the same seed. This is beneficial if you want to replicate the same image, without replacing the wildcard with actual text.

    Usage:

    1. add the wildcards.py to your ComfyUI/custom_nodes directory

    2. add a wildcards directory to your ComfyUI installation directory

    3. add txt files to your new directory for your wildcards

    4. reference these wildcards in your prompt with double underscores (ie: __name__)

    5. add the node to the ui and hook it up

    6. enjoy!

    Known Issues:

    • if you use a batch greater than 1, it will use the same wildcard prompt for the whole batch. i'm not sure if there is a way yet to modify the clip to handle multiple values with multiple latents

    • currently only looks for files with letters (upper and lower case), numbers, and hyphens

    github source: https://github.com/lordgasmic/ComfyUI-Wildcards

    Description

    Wildcards
    Other

    Details

    Downloads
    955
    Platform
    CivitAI
    Platform Status
    Available
    Created
    7/18/2023
    Updated
    9/27/2025
    Deleted
    -

    Files

    comfyuiWildcards_v10.zip

    Mirrors

    CivitAI (1 mirrors)