Nodes Browser

ComfyDeploy: How comfyui_wildcards works in ComfyUI?

What is comfyui_wildcards?

This is an attempt to recreate the wildcards plugin for Automatic1111 but for ComfyUI.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for comfyui_wildcards and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

comfyui_wildcards

This is an attempt to recreate the wildcards plugin for Automatic1111 but for ComfyUI.

Installation Instructions

  1. Clone this repository into your custom_nodes directory (eg. /path/to/ComfyUI/custom_nodes)
  2. Create a directory in the root of your ComfyUI install called "wildcards" (eg. /path/to/ComfyUI/wildcards)
  3. Add .txt files with the various wildcards (check here for examples) todo add link
  4. Restart your ComfyUI application
  5. You should see that the custom node has been loaded successfully

Usage Instructions

  1. In ComfyUI add the new wildcards node by doing one of the following:
    • right click > Add Node > conditioning > CLIPTextEncodeWithWildcards
    • double click > add search text for "wildcards" > CLIPTextEncodeWithWildcards
  2. Activate wildcards by adding the filename surrounded by double underscores to the prompt (eg. __eyecolor__)
  3. You can use multiple wildcards if you choose (eg. __eyecolor__, __smile__)
  4. Wire the node up

Optional Instructions

The wildcard node can generate its own seed. This is useful if you want to recreate something over and over again with the same seed and the same wildcard options. If you wish to use this seed with the rest of your prompts/samplers you can redirect its INT output into the seed input

Instalation Screenshots

Usage Screenshots

Known Issues

  • unlike the A1111 version, the wildcard that was picked does not get replaced in the png info