CivArchive
    ComfyUI Wildcards Custom Node - v1.0
    NSFW
    Preview 1

    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
    9
    Platform
    SeaArt
    Platform Status
    Available
    Created
    7/25/2024
    Updated
    9/28/2025
    Deleted
    -

    Files