2023-11-19 21:46:14 -05:00
2023-11-19 21:44:48 -05:00
2023-11-19 20:11:04 -05:00
2023-11-19 20:19:50 -05:00
2023-11-19 21:46:14 -05:00

ComfyUI-GTSuya-Nodes

ComfyUI-GTSuya-Nodes is a ComyUI extension designed to add several wildcards supports into ComfyUI. Wildcards allow you to use __name__ syntax in your prompt to get a random line from a file named name.txt in a wildcards directory.

Installation

To install ComfyUI-GTSuya-Nodes in addition to an existing installation of ComfyUI, you can follow the following steps:

  1. cd custom_nodes
  2. git clone https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes.git
  3. Restart ComfyUI

How to Use

Simple wildcards

Create a directory named wildcards into the Comfyui root folder and put all your wildcards text files into it. Add a Simple wildcards node (Right-click > Add Node > gtsuya > wildcards > Simple wildcards).

Capture d’écran 2023-11-19 192830

Enter your prompt into the text box. Wildcard words must be indicated with double underscore around them. For example, if your wildcards file is named country.txt, the corresponding wildcard word must be __country__. You can add as many wildcard as you want.

Simple wildcards (Dir.)

This node is pretty similar to Simple wildcards. The only difference is that you can choose any directory on your hard drive containing your wildcards files. Those wildcards files don't need to be specificaly into the Comfyui root directory. To add Simple wildcards (Dir.) node (Right-click > Add Node > gtsuya > wildcards > Simple wildcards (Dir.)).

Capture d’écran 2023-11-19 213659

Enter your prompt into the text box. Wildcard words must be indicated with double underscore around them. For example, if your wildcards file is named country.txt, the corresponding wildcard word must be __country__. You can add as many wildcard as you want. Then indicate the path of the directory where are stored your wildcards files.

S
Description
No description provided
Readme MIT
72 KiB
Languages
Python 100%