simple wildcard for ComfyUI版本3.0 (ID: 120224)

simple wildcard for ComfyUI版本3.0 (ID: 120224)

ComfyUI-node-Lilly

install

Go to ./custom_nodes and clone git repo:

cd ./custom_nodes
git clone https://github.com/kuriot/ComfyUI_node_Lilly.git

or https://github.com/lilly1987/ComfyUI_node_Lilly/archive/refs/heads/main.zip install this like

simple wildcard for ComfyUIwildcards

ex - wildcard

  • form :
    a{b|{c|}|{d|e|}|f|}g____ my

  • to :
    aeg quality_my, breasts, { |character_dress|dress_my}, shoulder, {high heels,| } {choker,| } {lora:__lora_lst__:__rora_num__,| } NSFW, NSFW_my, { |style_my,}

ex : {3$$a1|{b2|c3|}|d4|{-$$|f|g}|{-2$$h||i}|{1-$$j|k|}}/{$$l|m|}/{0$$n|}
{1|2|3} -> 1 or 2 or 3
{2$$a|b|c} -> a,b or b,c or c,a or bb or ....
{9$$a|b|c} -> {3$$a|b|c} auto fix max count
{1-2$$a|b|c} -> 1~2 random choise
{-2$$a|b|c} -> {0-2$$a|b|c} 0-2
{1-$$a|b|c} -> {0-3$$a|b|c} 1-max
{-$$a|b|c} -> {0-3$$a|b|c} 0-max

ex - wildcard text file use

  • ~/a/b.txt

1
  • ~/b.txt

2
  • b to 1 or 2

  • /b to 2

  • /a/b to 1

  • ?b to 2

  • * to 1 or 2

filename pattern matching

run sample

python wildcards.py

python sample

import wildcards as w

# 가져올 파일 목록. get wildcards file
w.card_path=os.path.dirname(__file__)+"\\wildcards\\**\\*.txt"

# 실행 run
print(w.run("a{__b__|{c|}|{__d__|e|}|f|}g____ __my__"))

txt file (supports .txt files in different encodings.)

from

# 주석 comment
a,b
{b|c|__anotherfile__}
__anotherfile__

result

a,b
b
c
__anotherfile__

reload card

call wildcards.card_load() or wildcards.run("{9$$-$$a|b|c}",True)

for ComfyUI

CLIPTextEncodeWildcards

  • CLIPTextEncodeWildcards : no seed

  • CLIPTextEncodeWildcards : seed

simple wildcard for ComfyUISimpleSampler+modelVAE

simple wildcard for ComfyUISimpleSampler

simple wildcard for ComfyUISimpleSamplerVAE

simple wildcard for ComfyUIVAELoaderText , LoraLoaderText , CheckpointLoaderSimpleText

simple wildcard for ComfyUIsimple wildcard for ComfyUIrandom_sampler_node.py

simple wildcard for ComfyUIVAELoaderDecode.py

simple wildcard for ComfyUIhttps://github.com/lilly1987/ComfyUI_node_Lilly

# ex1

```

ex : {3$$a1|{b2|c3|}|d4|{-$$|f|g}|{-2$$h||i}|{1-$$j|k|}}/{$$l|m|}/{0$$n|}

{1|2|3} -> 1 or 2 or 3

{2$$a|b|c} -> a,b or b,c or c,a or bb or ....

{9$$a|b|c} -> {3$$a|b|c} auto fix max count

{1-2$$a|b|c} -> 1~2 random choise

{-2$$a|b|c} -> {0-2$$a|b|c} 0-2

{1-$$a|b|c} -> {0-3$$a|b|c} 1-max

{-$$a|b|c} -> {0-3$$a|b|c} 0-max

{9$$ {and|or} $$a|b|c} -> a or b or c / c and b and a

```

# ex2 wildcards file

  • ~/a/b.txt

1
  • ~/b.txt

2
  • "__b__" to 1 or 2

  • "__/b__" to 2

  • "__/a/b__" to 1

/ to full(?) path

install : ComfyUI\custom_nodes\ComfyUI_node_Lilly

txt folder :

ComfyUI\wildcards

or edit line

card_path=os.path.dirname(__file__)+"\\..\\wildcards\\**\\*.txt"

训练词语:

名称: simpleWildcardFor_30.zip

大小 (KB): 17

类型: Archive

Pickle 扫描结果: Success

Pickle 扫描信息: No Pickle imports

病毒扫描结果: Success

simple wildcard for ComfyUI

simple wildcard for ComfyUI

资源下载
下载价格VIP专享
仅限VIP下载升级VIP
犹豫不决让我们错失一次又一次机会!!!
原文链接:https://1111down.com/919379.html,转载请注明出处
由于网站升级,部分用户密码全部设置为111111,登入后自己修改, 并且VIP等级提升一级(包月提升至包季,包季提升到包年 包年提升至永久)
没有账号?注册  忘记密码?

社交账号快速登录