ComfyUI Extension: Negative Wildcard Processor Node for ComfyUI

Authored by GrvBdgr

Created

Updated

2 stars

Node to process negative wildcard tokens (<! !>) and move them from the positive prompt to the negative.

Custom Nodes (0)

    README

    comfyui-negativewildcardsprocessor

    Contains two prompt manipulation nodes for ComfyUI.

    Negative wildcards processor Moves any text from the positive prompt to the negative prompt, that is surrounded by <! !>. Useful for creating wildcards that include negative prompts like this: { rain, <!umbrella,!> | sunshine, <!sunglasses,!> }

    Example usage and connections: image

    Custom token processor

    Moves any text from the source prompt to the target prompt, that is surrounded by the given token. Useful for creating wildcards where part of the prompt is used differently than the rest (eg. part of the prompt goes to a sampler using a certain model, while the rest of the prompt goes to a sampler with a different model). If the token is "zyup", any text between <zyup .. zyup> will be moved from the source prompt to the target prompt (see example below).

    Example usage and connections: image