diff --git a/nodes/worker.py b/nodes/worker.py index 64216c7..7ee39a2 100644 --- a/nodes/worker.py +++ b/nodes/worker.py @@ -11,12 +11,14 @@ class PromptWorker: return {"required": { "positive": ("STRING", {"forceInput": True}), - "negative_char": ("STRING", {"forceInput": True}), - "blacklist": ("STRING", {"forceInput": True}), "alphabetical_sorting": (["False", "True"],), - "lora": (["False", "True"],), + "remove_lora": (["False", "True"],), "lower_case": (["False", "True"],), - } + }, + "optional":{ + "negative_char": ("STRING", {"forceInput": True}), + "blacklist": ("STRING", {"forceInput": True}), + }, } RETURN_TYPES = ("STRING",) @@ -24,9 +26,8 @@ class PromptWorker: CATEGORY = "Prompt Worker" - def clean_prompt(self, positive, negative_char, blacklist, lora, lower_case, alphabetical_sorting): + def clean_prompt(self, positive, remove_lora, lower_case, alphabetical_sorting, **kwargs): - blacklist = blacklist.lower() if "-" in positive: positive = re.sub(r'-', ' ', positive) @@ -34,10 +35,8 @@ class PromptWorker: if "." in positive: positive = re.sub(r'\.', ',', positive) - print("Positive:", positive) - #delete any weight like 1.3 and etc. - if lora == "True": + if remove_lora == "True": if ":" in positive: positive = re.sub(r':\d+\.\d+', '', positive) @@ -58,27 +57,33 @@ class PromptWorker: PromptWorker.text2 = "" - negative_char = negative_char.split(",") + if "negative_char" in kwargs: + negative_char = kwargs["negative_char"] + negative_char = negative_char.split(",") - for negative_symbol in negative_char: - #remove space - negative_symbol = negative_symbol.strip() + for negative_symbol in negative_char: + #remove space + negative_symbol = negative_symbol.strip() - #check if one symbol is - if len(negative_symbol) == 1: - if negative_symbol == "'": - positive = positive.replace("'", "") - if negative_symbol in positive: - negative_symbol_for_replace = eval("r'" + "["+negative_symbol+"]" + "'") - positive = re.sub(negative_symbol_for_replace,'', positive) + #check if one symbol is + if len(negative_symbol) == 1: + if negative_symbol == "'": + positive = positive.replace("'", "") + if negative_symbol in positive: + negative_symbol_for_replace = eval("r'" + "["+negative_symbol+"]" + "'") + positive = re.sub(negative_symbol_for_replace,'', positive) - black_list = blacklist.split(",") - for blackwords in black_list: - blackwords = blackwords.strip() - positive = positive.replace(blackwords, "") - if "|" in blackwords: - replace_words = blackwords.split("|") - positive = positive.replace(replace_words[0], replace_words[1]) + if "blacklist" in kwargs: + blacklist = kwargs["blacklist"] + blacklist = blacklist.lower() + + black_list = blacklist.split(",") + for blackwords in black_list: + blackwords = blackwords.strip() + positive = positive.replace(blackwords, "") + if "|" in blackwords: + replace_words = blackwords.split("|") + positive = positive.replace(replace_words[0], replace_words[1]) self.unique(positive, alphabetical_sorting) diff --git a/workflows/flux_gguf.json b/workflows/flux_gguf.json index b516cb6..11d6ec7 100644 --- a/workflows/flux_gguf.json +++ b/workflows/flux_gguf.json @@ -1,93 +1,9 @@ { "id": "fc60e325-2ef1-42f2-b0a0-049b16c8ad3e", "revision": 0, - "last_node_id": 77, - "last_link_id": 103, + "last_node_id": 86, + "last_link_id": 116, "nodes": [ - { - "id": 33, - "type": "DualCLIPLoaderGGUF", - "pos": [ - 16.298263549804688, - 141.26922607421875 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "CLIP", - "type": "CLIP", - "slot_index": 0, - "links": [ - 52 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-GGUF", - "ver": "6de4bdba30f142955ebf6f210533000ef094bf0e", - "Node name for S&R": "DualCLIPLoaderGGUF" - }, - "widgets_values": [ - "clip_l.safetensors", - "t5\\t5-v1_1-xxl-encoder-Q4_K_S.gguf", - "flux" - ] - }, - { - "id": 27, - "type": "CLIPTextEncode", - "pos": [ - 360, - 536 - ], - "size": [ - 297.0192565917969, - 88 - ], - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 52 - }, - { - "name": "text", - "type": "STRING", - "widget": { - "name": "text" - }, - "link": 51 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "slot_index": 0, - "links": [ - 44 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.41", - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "" - ] - }, { "id": 22, "type": "BasicGuider", @@ -100,7 +16,7 @@ 46 ], "flags": {}, - "order": 20, + "order": 22, "mode": 0, "inputs": [ { @@ -111,7 +27,7 @@ { "name": "conditioning", "type": "CONDITIONING", - "link": 44 + "link": 108 } ], "outputs": [ @@ -131,47 +47,6 @@ }, "widgets_values": [] }, - { - "id": 32, - "type": "ShowText|pysssss", - "pos": [ - 420.39959716796875, - 81.40550994873047 - ], - "size": [ - 231.34442138671875, - 163.02984619140625 - ], - "flags": {}, - "order": 18, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 62 - } - ], - "outputs": [ - { - "name": "STRING", - "shape": 6, - "type": "STRING", - "slot_index": 0, - "links": [ - 51 - ] - } - ], - "properties": { - "cnr_id": "comfyui-custom-scripts", - "ver": "1.2.5", - "Node name for S&R": "ShowText|pysssss" - }, - "widgets_values": [ - "modern building in background, woman, ivory colors, tube top, skirt, sandals, fedora, tie, , platinum blonde hairstyle, pixie cut, fit body, blue eyes, almond skin, roman nose, flat cheekbones, contour makeup, " - ] - }, { "id": 16, "type": "KSamplerSelect", @@ -184,7 +59,7 @@ 58 ], "flags": {}, - "order": 1, + "order": 0, "mode": 0, "inputs": [], "outputs": [ @@ -217,7 +92,7 @@ 82 ], "flags": {}, - "order": 2, + "order": 1, "mode": 0, "inputs": [], "outputs": [ @@ -235,19 +110,293 @@ "Node name for S&R": "RandomNoise" }, "widgets_values": [ - 522702231436339, + 617586225534932, "randomize" ] }, { - "id": 26, - "type": "UnetLoaderGGUF", + "id": 9, + "type": "SaveImage", "pos": [ - 11, - 35 + 715.8653564453125, + 265.8131103515625 + ], + "size": [ + 390.23272705078125, + 553.4500122070312 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 9 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 17, + "type": "BasicScheduler", + "pos": [ + 352.50213623046875, + 927.6665649414062 ], "size": [ 315, + 106 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 42 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 20 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "BasicScheduler" + }, + "widgets_values": [ + "simple", + 20, + 1 + ] + }, + { + "id": 75, + "type": "Prompt Merger", + "pos": [ + -411.6670227050781, + 393.4776611328125 + ], + "size": [ + 167.8300018310547, + 166 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "prompt1", + "shape": 7, + "type": "STRING", + "link": 96 + }, + { + "name": "prompt2", + "shape": 7, + "type": "STRING", + "link": 114 + }, + { + "name": "prompt3", + "shape": 7, + "type": "STRING", + "link": 98 + }, + { + "name": "prompt4", + "shape": 7, + "type": "STRING", + "link": 104 + }, + { + "name": "prompt5", + "shape": 7, + "type": "STRING", + "link": null + }, + { + "name": "prompt6", + "shape": 7, + "type": "STRING", + "link": null + }, + { + "name": "prompt7", + "shape": 7, + "type": "STRING", + "link": null + }, + { + "name": "prompt8", + "shape": 7, + "type": "STRING", + "link": null + } + ], + "outputs": [ + { + "name": "prompt", + "type": "STRING", + "links": [ + 99 + ] + } + ], + "title": "Merger Positive", + "properties": { + "cnr_id": "ComfyUI-Prompt-Worker", + "ver": "2114311e55575f3578fda0a4ddaaa04e4afd6d09", + "Node name for S&R": "Prompt Merger" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 32, + "type": "ShowText|pysssss", + "pos": [ + 420.39959716796875, + 81.40550994873047 + ], + "size": [ + 231.34442138671875, + 163.02984619140625 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 62 + } + ], + "outputs": [ + { + "name": "STRING", + "shape": 6, + "type": "STRING", + "slot_index": 0, + "links": [ + 109 + ] + } + ], + "properties": { + "cnr_id": "comfyui-custom-scripts", + "ver": "1.2.5", + "Node name for S&R": "ShowText|pysssss" + }, + "widgets_values": [ + "european woman, palms and beach in background, morning time, , ivory colors, blouse, palazzo pants, headband, black hairstyle, tail haircut, fit body, blue eyes, almond skin, roman nose, flat cheekbones, contour makeup, " + ] + }, + { + "id": 33, + "type": "DualCLIPLoaderGGUF", + "pos": [ + 16.298263549804688, + 141.26922607421875 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 0, + "links": [ + 110 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-GGUF", + "ver": "6de4bdba30f142955ebf6f210533000ef094bf0e", + "Node name for S&R": "DualCLIPLoaderGGUF" + }, + "widgets_values": [ + "clip_l.safetensors", + "t5\\t5-v1_1-xxl-encoder-Q4_K_S.gguf", + "flux" + ] + }, + { + "id": 85, + "type": "Clip and Text -> Encode", + "pos": [ + 413.5127258300781, + 572.4885864257812 + ], + "size": [ + 188.93026733398438, + 46 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 109 + }, + { + "name": "clip", + "type": "CLIP", + "link": 110 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 108 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Prompt-Worker", + "ver": "a606642471e6ae78de014b465ce2f90d073f8ee9", + "Node name for S&R": "Clip and Text -> Encode" + }, + "widgets_values": [] + }, + { + "id": 10, + "type": "VAELoader", + "pos": [ + 884.6106567382812, + 888.7860107421875 + ], + "size": [ + 210, 58 ], "flags": {}, @@ -256,205 +405,36 @@ "inputs": [], "outputs": [ { - "name": "MODEL", - "type": "MODEL", + "name": "VAE", + "type": "VAE", "slot_index": 0, "links": [ - 41, - 42 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-GGUF", - "ver": "6de4bdba30f142955ebf6f210533000ef094bf0e", - "Node name for S&R": "UnetLoaderGGUF" - }, - "widgets_values": [ - "flux1-dev-Q8_0.gguf" - ] - }, - { - "id": 5, - "type": "EmptyLatentImage", - "pos": [ - 356, - 382 - ], - "size": [ - 305.2402648925781, - 106 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "slot_index": 0, - "links": [ - 23 + 12 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "VAELoader" }, "widgets_values": [ - 768, - 1024, - 1 + "ae.safetensors" ] }, - { - "id": 34, - "type": "Text Translate", - "pos": [ - -423.3758239746094, - 554.4323120117188 - ], - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "translated_text", - "type": "STRING", - "links": [ - 97 - ] - } - ], - "properties": { - "aux_id": "DrStone71/ComfyUI-Prompt-Translator", - "ver": "8d4ba650d95eac1a54dcf5077f2e1dab288a809f", - "Node name for S&R": "Text Translate" - }, - "widgets_values": [ - "женщина", - "ru - Russian (Русский)", - "en - English" - ] - }, - { - "id": 39, - "type": "Prompt Worker", - "pos": [ - 15.048614501953125, - 306.66265869140625 - ], - "size": [ - 284.8092346191406, - 157.91600036621094 - ], - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [ - { - "name": "positive", - "type": "STRING", - "link": 99 - }, - { - "name": "negative_char", - "type": "STRING", - "link": 78 - }, - { - "name": "blacklist", - "type": "STRING", - "link": 103 - } - ], - "outputs": [ - { - "name": "STRING", - "type": "STRING", - "links": [ - 62 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-Prompt-Worker", - "ver": "9795f7dc51b5a51eb8261752787a3a669b03ee73", - "Node name for S&R": "Prompt Worker" - }, - "widgets_values": [ - "False", - "True", - "True" - ], - "color": "#323", - "bgcolor": "#535" - }, - { - "id": 70, - "type": "Prompt Clothes", - "pos": [ - 16.289270401000977, - 525.6548461914062 - ], - "size": [ - 285.3153076171875, - 279.8564147949219 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "STRING", - "type": "STRING", - "links": [ - 91 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-Prompt-Worker", - "ver": "1f27add6c0110a6b50b7294d20347fa8afc8b585", - "Node name for S&R": "Prompt Clothes" - }, - "widgets_values": [ - "Off", - "tube top", - "skirt", - "Off", - "Off", - "Off", - "sandals", - "fedora", - "tie", - "Off" - ], - "color": "#323", - "bgcolor": "#535" - }, { "id": 8, "type": "VAEDecode", "pos": [ 718.013427734375, - 878.7293701171875 + 884.229248046875 ], "size": [ 140, 46 ], "flags": {}, - "order": 22, + "order": 24, "mode": 0, "inputs": [ { @@ -486,83 +466,145 @@ "widgets_values": [] }, { - "id": 10, - "type": "VAELoader", + "id": 64, + "type": "Prompt Сonstructor", "pos": [ - 884.6106567382812, - 874.4860229492188 + 19.461496353149414, + 883.984375 ], "size": [ - 210, - 58 + 291.400390625, + 174 ], "flags": {}, - "order": 7, + "order": 17, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "clothes", + "shape": 7, + "type": "STRING", + "link": 91 + }, + { + "name": "body", + "shape": 7, + "type": "STRING", + "link": 95 + } + ], "outputs": [ { - "name": "VAE", - "type": "VAE", - "slot_index": 0, + "name": "STRING", + "type": "STRING", "links": [ - 12 + 98 ] } ], "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.41", - "Node name for S&R": "VAELoader" + "cnr_id": "ComfyUI-Prompt-Worker", + "ver": "1f27add6c0110a6b50b7294d20347fa8afc8b585", + "Node name for S&R": "Prompt Сonstructor" }, "widgets_values": [ - "ae.safetensors" - ] + "Off", + "Off", + "Off", + "ivory colors", + "Off" + ], + "color": "#323", + "bgcolor": "#535" }, { - "id": 9, - "type": "SaveImage", + "id": 71, + "type": "easy negative", "pos": [ - 715.8653564453125, - 265.8131103515625 + -859.7230834960938, + 130.49725341796875 ], "size": [ - 390.23272705078125, - 553.4500122070312 + 400, + 200 ], "flags": {}, - "order": 23, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "negative", + "type": "STRING", + "slot_index": 0, + "links": [ + 102 + ] + } + ], + "title": "Replace", + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.0", + "Node name for S&R": "easy negative" + }, + "widgets_values": [ + "chinese|european, girl|woman, japanese|european" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 86, + "type": "ShowText|pysssss", + "pos": [ + -408.80865478515625, + 878.7240600585938 + ], + "size": [ + 391.81817626953125, + 109.87999725341797 + ], + "flags": {}, + "order": 14, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 9 + "name": "text", + "type": "STRING", + "link": 113 + } + ], + "outputs": [ + { + "name": "STRING", + "shape": 6, + "type": "STRING", + "links": [ + 114 + ] } ], - "outputs": [], "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.41", - "Node name for S&R": "SaveImage" + "cnr_id": "comfyui-custom-scripts", + "ver": "1.2.5", + "Node name for S&R": "ShowText|pysssss" }, - "widgets_values": [ - "ComfyUI" - ] + "widgets_values": [] }, { "id": 13, "type": "SamplerCustomAdvanced", "pos": [ - 740.6552734375, - 67.50826263427734 + 751.5454711914062, + 68.71826171875 ], "size": [ 307.3702392578125, 129.17320251464844 ], "flags": {}, - "order": 21, + "order": 23, "mode": 0, "inputs": [ { @@ -614,114 +656,107 @@ "widgets_values": [] }, { - "id": 73, - "type": "Prompt Body", + "id": 5, + "type": "EmptyLatentImage", "pos": [ - -293.5562438964844, - 810.1671752929688 + 356, + 382 ], "size": [ - 270, - 226 + 305.2402648925781, + 106 ], "flags": {}, - "order": 8, + "order": 5, "mode": 0, "inputs": [], "outputs": [ { - "name": "STRING", - "type": "STRING", + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, "links": [ - 95 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-Prompt-Worker", - "ver": "c88d26be6fd89daab45cc06f36cfbcf84650ab6c", - "Node name for S&R": "Prompt Body" - }, - "widgets_values": [ - "platinum blonde hairstyle", - "pixie cut", - "fit body", - "blue eyes", - "almond skin", - "roman nose", - "flat cheekbones", - "contour makeup" - ], - "color": "#323", - "bgcolor": "#535" - }, - { - "id": 17, - "type": "BasicScheduler", - "pos": [ - 352.50213623046875, - 927.6665649414062 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 42 - } - ], - "outputs": [ - { - "name": "SIGMAS", - "type": "SIGMAS", - "links": [ - 20 + 23 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", - "Node name for S&R": "BasicScheduler" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - "simple", - 20, + 720, + 1008, 1 ] }, { - "id": 64, - "type": "Prompt Сonstructor", + "id": 34, + "type": "Text Translate", "pos": [ - 13.097862243652344, - 861.2567138671875 + -414.08404541015625, + 618.4988403320312 ], "size": [ - 291.400390625, - 174 + 400, + 200 ], "flags": {}, - "order": 14, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "translated_text", + "type": "STRING", + "links": [ + 113 + ] + } + ], + "properties": { + "aux_id": "DrStone71/ComfyUI-Prompt-Translator", + "ver": "8d4ba650d95eac1a54dcf5077f2e1dab288a809f", + "Node name for S&R": "Text Translate" + }, + "widgets_values": [ + "", + "ru - Russian (Русский)", + "en - English" + ] + }, + { + "id": 39, + "type": "Prompt Worker", + "pos": [ + 15.048614501953125, + 306.66265869140625 + ], + "size": [ + 284.8092346191406, + 157.91600036621094 + ], + "flags": {}, + "order": 19, "mode": 0, "inputs": [ { - "name": "clothes", - "shape": 7, + "name": "positive", "type": "STRING", - "link": 91 + "link": 99 }, { - "name": "body", + "name": "negative_char", "shape": 7, "type": "STRING", - "link": 95 + "link": 115 + }, + { + "name": "blacklist", + "shape": 7, + "type": "STRING", + "link": 116 } ], "outputs": [ @@ -729,96 +764,57 @@ "name": "STRING", "type": "STRING", "links": [ - 98 + 62 ] } ], "properties": { "cnr_id": "ComfyUI-Prompt-Worker", - "ver": "1f27add6c0110a6b50b7294d20347fa8afc8b585", - "Node name for S&R": "Prompt Сonstructor" + "ver": "9795f7dc51b5a51eb8261752787a3a669b03ee73", + "Node name for S&R": "Prompt Worker" }, "widgets_values": [ - "Off", - "Off", - "Off", - "ivory colors", - "Off" + "False", + "True", + "True" ], "color": "#323", "bgcolor": "#535" }, { - "id": 40, - "type": "easy positive", + "id": 26, + "type": "UnetLoaderGGUF", "pos": [ - -854.8425903320312, - 676.023681640625 + 17.049999237060547, + 30.160003662109375 ], "size": [ - 400, - 200 + 315, + 58 ], "flags": {}, - "order": 9, + "order": 7, "mode": 0, "inputs": [], "outputs": [ { - "name": "positive", - "type": "STRING", - "links": [ - 96 - ] - } - ], - "properties": { - "cnr_id": "comfyui-easy-use", - "ver": "1.3.0", - "Node name for S&R": "easy positive" - }, - "widgets_values": [ - "modern building in background" - ], - "color": "#232", - "bgcolor": "#353" - }, - { - "id": 71, - "type": "easy negative", - "pos": [ - -859.7230834960938, - 130.49725341796875 - ], - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "negative", - "type": "STRING", + "name": "MODEL", + "type": "MODEL", "slot_index": 0, "links": [ - 102 + 41, + 42 ] } ], - "title": "Replace", "properties": { - "cnr_id": "comfyui-easy-use", - "ver": "1.3.0", - "Node name for S&R": "easy negative" + "cnr_id": "ComfyUI-GGUF", + "ver": "6de4bdba30f142955ebf6f210533000ef094bf0e", + "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ - "chinese|european, girl|woman, japanese|european" - ], - "color": "#322", - "bgcolor": "#533" + "flux1-dev-Q8_0.gguf" + ] }, { "id": 30, @@ -832,7 +828,7 @@ 198.53590393066406 ], "flags": {}, - "order": 11, + "order": 8, "mode": 0, "inputs": [], "outputs": [ @@ -841,7 +837,7 @@ "type": "STRING", "slot_index": 0, "links": [ - 78 + 115 ] } ], @@ -857,65 +853,6 @@ "color": "#322", "bgcolor": "#533" }, - { - "id": 77, - "type": "Prompt Merger", - "pos": [ - -215.86187744140625, - 394.37017822265625 - ], - "size": [ - 177.68801879882812, - 86 - ], - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [ - { - "name": "prompt1", - "shape": 7, - "type": "STRING", - "link": 101 - }, - { - "name": "prompt2", - "shape": 7, - "type": "STRING", - "link": 102 - }, - { - "name": "prompt3", - "shape": 7, - "type": "STRING", - "link": null - }, - { - "name": "prompt4", - "shape": 7, - "type": "STRING", - "link": null - } - ], - "outputs": [ - { - "name": "prompt", - "type": "STRING", - "links": [ - 103 - ] - } - ], - "title": "Merger Negative", - "properties": { - "cnr_id": "ComfyUI-Prompt-Worker", - "ver": "2114311e55575f3578fda0a4ddaaa04e4afd6d09", - "Node name for S&R": "Prompt Merger" - }, - "widgets_values": [], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, { "id": 31, "type": "easy negative", @@ -928,7 +865,7 @@ 200 ], "flags": {}, - "order": 12, + "order": 9, "mode": 0, "inputs": [], "outputs": [ @@ -954,15 +891,94 @@ "bgcolor": "#533" }, { - "id": 75, - "type": "Prompt Merger", + "id": 40, + "type": "easy positive", "pos": [ - -411.6670227050781, - 393.4776611328125 + -862.8425903320312, + 673.023681640625 ], "size": [ - 167.8300018310547, - 86 + 400, + 200 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "positive", + "type": "STRING", + "links": [ + 96 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.0", + "Node name for S&R": "easy positive" + }, + "widgets_values": [ + "european woman, palms and beach in background. morning time. score_7_up" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 70, + "type": "Prompt Clothes", + "pos": [ + 16.289270401000977, + 525.6548461914062 + ], + "size": [ + 285.3153076171875, + 279.8564147949219 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 91 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Prompt-Worker", + "ver": "1f27add6c0110a6b50b7294d20347fa8afc8b585", + "Node name for S&R": "Prompt Clothes" + }, + "widgets_values": [ + "Off", + "blouse", + "palazzo pants", + "Off", + "Off", + "Off", + "Off", + "headband", + "Off", + "Off" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 77, + "type": "Prompt Merger", + "pos": [ + -210.3918914794922, + 390.7772521972656 + ], + "size": [ + 177.68801879882812, + 166 ], "flags": {}, "order": 16, @@ -972,25 +988,49 @@ "name": "prompt1", "shape": 7, "type": "STRING", - "link": 96 + "link": 101 }, { "name": "prompt2", "shape": 7, "type": "STRING", - "link": 97 + "link": 102 }, { "name": "prompt3", "shape": 7, "type": "STRING", - "link": 98 + "link": null }, { "name": "prompt4", "shape": 7, "type": "STRING", "link": null + }, + { + "name": "prompt5", + "shape": 7, + "type": "STRING", + "link": null + }, + { + "name": "prompt6", + "shape": 7, + "type": "STRING", + "link": null + }, + { + "name": "prompt7", + "shape": 7, + "type": "STRING", + "link": null + }, + { + "name": "prompt8", + "shape": 7, + "type": "STRING", + "link": null } ], "outputs": [ @@ -998,11 +1038,11 @@ "name": "prompt", "type": "STRING", "links": [ - 99 + 116 ] } ], - "title": "Merger Positive", + "title": "Merger Negative", "properties": { "cnr_id": "ComfyUI-Prompt-Worker", "ver": "2114311e55575f3578fda0a4ddaaa04e4afd6d09", @@ -1011,6 +1051,88 @@ "widgets_values": [], "color": "#2a363b", "bgcolor": "#3f5159" + }, + { + "id": 73, + "type": "Prompt Body", + "pos": [ + 25.60554313659668, + 1117.1507568359375 + ], + "size": [ + 276.6000061035156, + 226 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 95 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Prompt-Worker", + "ver": "c88d26be6fd89daab45cc06f36cfbcf84650ab6c", + "Node name for S&R": "Prompt Body" + }, + "widgets_values": [ + "black hairstyle", + "ponytail haircut", + "fit body", + "blue eyes", + "almond skin", + "roman nose", + "flat cheekbones", + "contour makeup" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 80, + "type": "easy prompt", + "pos": [ + -867.0428466796875, + 934.345458984375 + ], + "size": [ + 404.538818359375, + 256 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "prompt", + "type": "STRING", + "links": [ + 104 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.1", + "Node name for S&R": "easy prompt" + }, + "widgets_values": [ + "", + "Select the prefix to add to the text", + "👤Select the subject add to the text", + "🎬Select the action add to the text", + "👚Select the clothes add to the text", + "☀️Select the illumination environment add to the text", + "🎞️Select the background add to the text", + "🔞Select the nsfw add to the text" + ] } ], "links": [ @@ -1094,30 +1216,6 @@ 0, "MODEL" ], - [ - 44, - 27, - 0, - 22, - 1, - "CONDITIONING" - ], - [ - 51, - 32, - 0, - 27, - 1, - "STRING" - ], - [ - 52, - 33, - 0, - 27, - 0, - "CLIP" - ], [ 62, 39, @@ -1126,14 +1224,6 @@ 0, "STRING" ], - [ - 78, - 30, - 0, - 39, - 1, - "STRING" - ], [ 91, 70, @@ -1158,14 +1248,6 @@ 0, "STRING" ], - [ - 97, - 34, - 0, - 75, - 1, - "STRING" - ], [ 98, 64, @@ -1199,7 +1281,63 @@ "STRING" ], [ - 103, + 104, + 80, + 0, + 75, + 3, + "STRING" + ], + [ + 108, + 85, + 0, + 22, + 1, + "CONDITIONING" + ], + [ + 109, + 32, + 0, + 85, + 0, + "STRING" + ], + [ + 110, + 33, + 0, + 85, + 1, + "CLIP" + ], + [ + 113, + 34, + 0, + 86, + 0, + "STRING" + ], + [ + 114, + 86, + 0, + 75, + 1, + "STRING" + ], + [ + 115, + 30, + 0, + 39, + 1, + "STRING" + ], + [ + 116, 77, 0, 39, @@ -1211,10 +1349,10 @@ "config": {}, "extra": { "ds": { - "scale": 1.1, + "scale": 0.9090909090909092, "offset": [ - 621.8142384149985, - -123.86929109373109 + 951.9997462097566, + 12.44541065357644 ] }, "frontendVersion": "1.23.4",