From ac48417fe467ae443d021363697df107e5ac4cee Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:36:06 +0100 Subject: [PATCH 1/3] Add files via upload Updated OBP workflows and added OBP artifu and flufferize example workflow --- .../OBP_Artify_and_Flufferize.json | 1155 +++++++++++++++++ .../SDX_OBP_NoRefiner.json | 516 ++++---- 2 files changed, 1450 insertions(+), 221 deletions(-) create mode 100644 comfyui_workflow_examples/OBP_Artify_and_Flufferize.json diff --git a/comfyui_workflow_examples/OBP_Artify_and_Flufferize.json b/comfyui_workflow_examples/OBP_Artify_and_Flufferize.json new file mode 100644 index 0000000..4d58c4f --- /dev/null +++ b/comfyui_workflow_examples/OBP_Artify_and_Flufferize.json @@ -0,0 +1,1155 @@ +{ + "last_node_id": 227, + "last_link_id": 342, + "nodes": [ + { + "id": 160, + "type": "PrimitiveNode", + "pos": [ + -794.9259129309752, + 569.0957399828028 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 237 + ], + "widget": { + "name": "cfg" + } + } + ], + "title": "CFG Scale", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 8, + "fixed" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 5, + "type": "EmptyLatentImage", + "pos": [ + -794.9259129309752, + 422 + ], + "size": { + "0": 210, + "1": 106 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 279 + ], + "slot_index": 0 + } + ], + "title": "Image and batch size", + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 152, + "type": "PrimitiveNode", + "pos": [ + -795, + 297 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 225 + ], + "slot_index": 0, + "widget": { + "name": "steps" + } + } + ], + "title": "Total Steps (Base + Ref.)", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 30, + "fixed" + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 159, + "type": "PrimitiveNode", + "pos": [ + -794.9259129309752, + 700.0640563964844 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 235 + ], + "widget": { + "name": "noise_seed" + }, + "slot_index": 0 + } + ], + "title": "Seed", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 308913985818594, + "randomize" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 50, + "type": "CLIPTextEncodeSDXL", + "pos": [ + -137, + 171 + ], + "size": { + "0": 210, + "1": 241.0738983154297 + }, + "flags": { + "collapsed": false + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 283 + }, + { + "name": "text_g", + "type": "STRING", + "link": 341, + "widget": { + "name": "text_g" + }, + "slot_index": 1 + }, + { + "name": "text_l", + "type": "STRING", + "link": 342, + "widget": { + "name": "text_l" + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 199 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "CLIPTextEncodeSDXL POS", + "properties": { + "Node name for S&R": "CLIPTextEncodeSDXL" + }, + "widgets_values": [ + 4096, + 4096, + 0, + 0, + 4096, + 4096, + "", + "xxx " + ] + }, + { + "id": 139, + "type": "KSamplerAdvanced", + "pos": [ + -505, + 397 + ], + "size": { + "0": 318.23089599609375, + "1": 316.8831481933594 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 281 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 199 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 200 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 279 + }, + { + "name": "steps", + "type": "INT", + "link": 225, + "widget": { + "name": "steps" + } + }, + { + "name": "end_at_step", + "type": "INT", + "link": 228, + "widget": { + "name": "end_at_step" + } + }, + { + "name": "noise_seed", + "type": "INT", + "link": 235, + "widget": { + "name": "noise_seed" + }, + "slot_index": 6 + }, + { + "name": "cfg", + "type": "FLOAT", + "link": 237, + "widget": { + "name": "cfg" + }, + "slot_index": 7 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 317 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "KSampler BASE (Advanced)", + "properties": { + "Node name for S&R": "KSamplerAdvanced" + }, + "widgets_values": [ + "enable", + 308913985818594, + "fixed", + 30, + 8, + "dpmpp_2m", + "karras", + 0, + 30, + "enable" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 155, + "type": "PrimitiveNode", + "pos": [ + -795, + 172 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 228 + ], + "slot_index": 0, + "widget": { + "name": "end_at_step" + } + } + ], + "title": "Steps On Base Model", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 30, + "fixed" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 41, + "type": "Reroute", + "pos": [ + -38, + 508 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 317 + } + ], + "outputs": [ + { + "name": "", + "type": "LATENT", + "links": [ + 315 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 146, + "type": "VAEDecode", + "pos": [ + 142, + 499 + ], + "size": { + "0": 148.75479125976562, + "1": 102.28533172607422 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 315 + }, + { + "name": "vae", + "type": "VAE", + "link": 316 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 286 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Dec. Final", + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 218, + "type": "SavePromptToFile", + "pos": [ + -83, + -88 + ], + "size": { + "0": 210, + "1": 166 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "positive_prompt", + "type": "STRING", + "link": 335, + "widget": { + "name": "positive_prompt" + } + }, + { + "name": "negative_prompt", + "type": "STRING", + "link": 330, + "widget": { + "name": "negative_prompt" + } + }, + { + "name": "filename_prefix", + "type": "STRING", + "link": 322, + "widget": { + "name": "filename_prefix" + }, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "SavePromptToFile" + }, + "widgets_values": [ + "%date:yyyy-M-d%/ComfyUI", + "", + "text, watermark\n", + "", + "" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 219, + "type": "PrimitiveNode", + "pos": [ + 163, + -68 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 322, + 323 + ], + "widget": { + "name": "filename_prefix" + }, + "slot_index": 0 + } + ], + "title": "File Location", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "%date:yyyy-M-d%/ComfyUI" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 200, + "type": "Note", + "pos": [ + -1082, + 421 + ], + "size": { + "0": 260, + "1": 210 + }, + "flags": {}, + "order": 6, + "mode": 0, + "title": "Note - Empty Latent Image", + "properties": { + "text": "" + }, + "widgets_values": [ + "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained values listed below:\n - 1024 x 1024\n - 1152 x 896\n - 896 x 1152\n - 1216 x 832\n - 832 x 1216\n - 1344 x 768\n - 768 x 1344\n - 1536 x 640\n - 640 x 1536" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 65, + "type": "CLIPTextEncodeSDXL", + "pos": [ + 105, + 165 + ], + "size": { + "0": 212.1192169189453, + "1": 240.16322326660156 + }, + "flags": { + "collapsed": false + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 284 + }, + { + "name": "text_g", + "type": "STRING", + "link": 331, + "widget": { + "name": "text_g" + } + }, + { + "name": "text_l", + "type": "STRING", + "link": 332, + "widget": { + "name": "text_l" + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 200 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "CLIPTextEncodeSDXL NEG", + "properties": { + "Node name for S&R": "CLIPTextEncodeSDXL" + }, + "widgets_values": [ + 4096, + 4096, + 0, + 0, + 4096, + 4096, + "text, watermark\n", + "text, watermark\n" + ] + }, + { + "id": 16, + "type": "PrimitiveNode", + "pos": [ + -1242, + -95 + ], + "size": { + "0": 434.15277099609375, + "1": 152.36099243164062 + }, + "flags": {}, + "order": 7, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 329 + ], + "slot_index": 0, + "widget": { + "name": "base_negative" + } + } + ], + "title": "Negative Prompt", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "text, watermark\n" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 4, + "type": "CheckpointLoaderSimple", + "pos": [ + -570, + 175 + ], + "size": { + "0": 320.0830383300781, + "1": 101.19705200195312 + }, + "flags": {}, + "order": 8, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 281 + ], + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 283, + 284 + ], + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 316 + ], + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "dreamshaperXL10_alpha2Xl10.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 199, + "type": "SaveImage", + "pos": [ + 233, + -743 + ], + "size": { + "0": 565.774658203125, + "1": 596.3757934570312 + }, + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 286 + }, + { + "name": "filename_prefix", + "type": "STRING", + "link": 323, + "widget": { + "name": "filename_prefix" + } + } + ], + "properties": {}, + "widgets_values": [ + "%date:yyyy-M-d%/ComfyUI" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 224, + "type": "OneButtonFlufferize", + "pos": [ + -197, + -542 + ], + "size": [ + 325.63710937500014, + 166.2304595947266 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "prompt", + "type": "STRING", + "link": 337, + "widget": { + "name": "prompt" + } + } + ], + "outputs": [ + { + "name": "fluffed_prompt", + "type": "STRING", + "links": [ + 335, + 341, + 342 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "OneButtonFlufferize" + }, + "widgets_values": [ + "", + "dynamic", + false, + 754567122416526, + "randomize" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 227, + "type": "PrimitiveNode", + "pos": [ + -906, + -545 + ], + "size": { + "0": 210, + "1": 75.99998474121094 + }, + "flags": {}, + "order": 9, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 339 + ], + "slot_index": 0, + "widget": { + "name": "prompt" + } + } + ], + "title": "Base prompt", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "cute norwegian forest cat" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 226, + "type": "OneButtonArtify", + "pos": [ + -650, + -547 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "prompt", + "type": "STRING", + "link": 339, + "widget": { + "name": "prompt" + } + } + ], + "outputs": [ + { + "name": "artified_prompt", + "type": "STRING", + "links": [ + 337, + 340 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "OneButtonArtify" + }, + "widgets_values": [ + "cute norwegian forest cat", + "all", + "1", + "standard", + 513971971657364, + "randomize" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 223, + "type": "AutoNegativePrompt", + "pos": [ + -633, + -113 + ], + "size": { + "0": 327, + "1": 174 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "postive_prompt", + "type": "STRING", + "link": 340, + "widget": { + "name": "postive_prompt" + } + }, + { + "name": "base_negative", + "type": "STRING", + "link": 329, + "widget": { + "name": "base_negative" + } + } + ], + "outputs": [ + { + "name": "negative_prompt", + "type": "STRING", + "links": [ + 330, + 331, + 332 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "AutoNegativePrompt" + }, + "widgets_values": [ + "", + "text, watermark\n", + 1, + 0, + "SDXL", + 874035790461879, + "randomize" + ], + "color": "#322", + "bgcolor": "#533" + } + ], + "links": [ + [ + 199, + 50, + 0, + 139, + 1, + "CONDITIONING" + ], + [ + 200, + 65, + 0, + 139, + 2, + "CONDITIONING" + ], + [ + 225, + 152, + 0, + 139, + 4, + "INT" + ], + [ + 228, + 155, + 0, + 139, + 5, + "INT" + ], + [ + 235, + 159, + 0, + 139, + 6, + "INT" + ], + [ + 237, + 160, + 0, + 139, + 7, + "FLOAT" + ], + [ + 279, + 5, + 0, + 139, + 3, + "LATENT" + ], + [ + 281, + 4, + 0, + 139, + 0, + "MODEL" + ], + [ + 283, + 4, + 1, + 50, + 0, + "CLIP" + ], + [ + 284, + 4, + 1, + 65, + 0, + "CLIP" + ], + [ + 286, + 146, + 0, + 199, + 0, + "IMAGE" + ], + [ + 315, + 41, + 0, + 146, + 0, + "LATENT" + ], + [ + 316, + 4, + 2, + 146, + 1, + "VAE" + ], + [ + 317, + 139, + 0, + 41, + 0, + "*" + ], + [ + 322, + 219, + 0, + 218, + 2, + "STRING" + ], + [ + 323, + 219, + 0, + 199, + 1, + "STRING" + ], + [ + 329, + 16, + 0, + 223, + 1, + "STRING" + ], + [ + 330, + 223, + 0, + 218, + 1, + "STRING" + ], + [ + 331, + 223, + 0, + 65, + 1, + "STRING" + ], + [ + 332, + 223, + 0, + 65, + 2, + "STRING" + ], + [ + 335, + 224, + 0, + 218, + 0, + "STRING" + ], + [ + 337, + 226, + 0, + 224, + 0, + "STRING" + ], + [ + 339, + 227, + 0, + 226, + 0, + "STRING" + ], + [ + 340, + 226, + 0, + 223, + 0, + "STRING" + ], + [ + 341, + 224, + 0, + 50, + 1, + "STRING" + ], + [ + 342, + 224, + 0, + 50, + 2, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/comfyui_workflow_examples/SDX_OBP_NoRefiner.json b/comfyui_workflow_examples/SDX_OBP_NoRefiner.json index 656bab6..6adc2eb 100644 --- a/comfyui_workflow_examples/SDX_OBP_NoRefiner.json +++ b/comfyui_workflow_examples/SDX_OBP_NoRefiner.json @@ -1,6 +1,6 @@ { - "last_node_id": 223, - "last_link_id": 333, + "last_node_id": 225, + "last_link_id": 337, "nodes": [ { "id": 160, @@ -29,7 +29,9 @@ } ], "title": "CFG Scale", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ 8, "fixed" @@ -102,7 +104,9 @@ } ], "title": "Total Steps (Base + Ref.)", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ 30, "fixed" @@ -138,9 +142,11 @@ } ], "title": "Seed", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ - 604260618514801, + 890019860370061, "randomize" ], "color": "#432", @@ -160,7 +166,7 @@ "flags": { "collapsed": false }, - "order": 13, + "order": 17, "mode": 0, "inputs": [ { @@ -171,7 +177,7 @@ { "name": "text_g", "type": "STRING", - "link": 325, + "link": 336, "widget": { "name": "text_g" }, @@ -180,7 +186,7 @@ { "name": "text_l", "type": "STRING", - "link": 326, + "link": 337, "widget": { "name": "text_l" }, @@ -225,7 +231,7 @@ "1": 316.8831481933594 }, "flags": {}, - "order": 17, + "order": 18, "mode": 0, "inputs": [ { @@ -300,7 +306,7 @@ }, "widgets_values": [ "enable", - 604260618514801, + 890019860370061, "fixed", 30, 8, @@ -341,7 +347,9 @@ } ], "title": "Steps On Base Model", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ 30, "fixed" @@ -361,7 +369,7 @@ 26 ], "flags": {}, - "order": 18, + "order": 19, "mode": 0, "inputs": [ { @@ -397,7 +405,7 @@ "1": 102.28533172607422 }, "flags": {}, - "order": 19, + "order": 20, "mode": 0, "inputs": [ { @@ -439,7 +447,7 @@ "1": 596.3757934570312 }, "flags": {}, - "order": 20, + "order": 21, "mode": 0, "inputs": [ { @@ -475,13 +483,13 @@ "1": 166 }, "flags": {}, - "order": 15, + "order": 16, "mode": 0, "inputs": [ { "name": "positive_prompt", "type": "STRING", - "link": 324, + "link": 335, "widget": { "name": "positive_prompt" } @@ -517,56 +525,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 4, - "type": "CheckpointLoaderSimple", - "pos": [ - -570, - 175 - ], - "size": { - "0": 320.0830383300781, - "1": 101.19705200195312 - }, - "flags": {}, - "order": 5, - "mode": 0, - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 281 - ], - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 283, - 284 - ], - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 316 - ], - "slot_index": 2 - } - ], - "properties": { - "Node name for S&R": "CheckpointLoaderSimple" - }, - "widgets_values": [ - "sd_xl_base_1.0.safetensors" - ], - "color": "#432", - "bgcolor": "#653" - }, { "id": 219, "type": "PrimitiveNode", @@ -579,7 +537,7 @@ "1": 58 }, "flags": {}, - "order": 6, + "order": 5, "mode": 0, "outputs": [ { @@ -596,7 +554,9 @@ } ], "title": "File Location", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ "%date:yyyy-M-d%/ComfyUI" ], @@ -615,7 +575,7 @@ "1": 210 }, "flags": {}, - "order": 7, + "order": 6, "mode": 0, "title": "Note - Empty Latent Image", "properties": { @@ -641,7 +601,7 @@ "flags": { "collapsed": false }, - "order": 16, + "order": 15, "mode": 0, "inputs": [ { @@ -705,7 +665,7 @@ "1": 58 }, "flags": {}, - "order": 8, + "order": 7, "mode": 0, "properties": { "text": "" @@ -730,7 +690,7 @@ "flags": { "collapsed": false }, - "order": 9, + "order": 8, "mode": 0, "outputs": [ { @@ -746,7 +706,9 @@ } ], "title": "Overwrite Subject", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ "" ], @@ -767,7 +729,7 @@ "flags": { "collapsed": false }, - "order": 10, + "order": 9, "mode": 0, "outputs": [ { @@ -783,13 +745,231 @@ } ], "title": "Overwrite Outfit", - "properties": {}, + "properties": { + "Run widget replace on values": false + }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, + { + "id": 16, + "type": "PrimitiveNode", + "pos": [ + -1242, + -95 + ], + "size": { + "0": 434.15277099609375, + "1": 152.36099243164062 + }, + "flags": {}, + "order": 10, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 329 + ], + "slot_index": 0, + "widget": { + "name": "base_negative" + } + } + ], + "title": "Negative Prompt", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "text, watermark\n" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 221, + "type": "OneButtonPrompt", + "pos": [ + -630, + -548 + ], + "size": { + "0": 315, + "1": 386 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "custom_subject", + "type": "STRING", + "link": 327, + "widget": { + "name": "custom_subject" + } + }, + { + "name": "custom_outfit", + "type": "STRING", + "link": 328, + "widget": { + "name": "custom_outfit" + } + } + ], + "outputs": [ + { + "name": "prompt", + "type": "STRING", + "links": [ + 333, + 334 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "prompt_g", + "type": "STRING", + "links": null, + "shape": 3 + }, + { + "name": "prompt_l", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "OneButtonPrompt" + }, + "widgets_values": [ + 5, + "all", + "all", + 20, + "all", + "", + "", + "all", + "all", + "all", + "all", + false, + "SDXL", + 1054047122686601, + "randomize" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 4, + "type": "CheckpointLoaderSimple", + "pos": [ + -570, + 175 + ], + "size": { + "0": 320.0830383300781, + "1": 101.19705200195312 + }, + "flags": {}, + "order": 11, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 281 + ], + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 283, + 284 + ], + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 316 + ], + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "dreamshaperXL10_alpha2Xl10.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 224, + "type": "OneButtonFlufferize", + "pos": [ + -197, + -542 + ], + "size": { + "0": 325.6371154785156, + "1": 166.23045349121094 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "prompt", + "type": "STRING", + "link": 334, + "widget": { + "name": "prompt" + } + } + ], + "outputs": [ + { + "name": "fluffed_prompt", + "type": "STRING", + "links": [ + 335, + 336, + 337 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "OneButtonFlufferize" + }, + "widgets_values": [ + "", + "dynamic", + false, + 921089971232293, + "randomize" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, { "id": 223, "type": "AutoNegativePrompt", @@ -797,12 +977,12 @@ -633, -113 ], - "size": [ - 327, - 170.40017700195312 - ], + "size": { + "0": 327, + "1": 174 + }, "flags": {}, - "order": 14, + "order": 13, "mode": 0, "inputs": [ { @@ -843,126 +1023,12 @@ "text, watermark\n", 0, 0, - 0, + "SDXL", + 209255417752634, "randomize" ], "color": "#322", "bgcolor": "#533" - }, - { - "id": 221, - "type": "OneButtonPrompt", - "pos": [ - -630, - -538 - ], - "size": { - "0": 315, - "1": 370 - }, - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "custom_subject", - "type": "STRING", - "link": 327, - "widget": { - "name": "custom_subject" - } - }, - { - "name": "custom_outfit", - "type": "STRING", - "link": 328, - "widget": { - "name": "custom_outfit" - } - } - ], - "outputs": [ - { - "name": "prompt", - "type": "STRING", - "links": [ - 324, - 325, - 326, - 333 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "prompt_g", - "type": "STRING", - "links": null, - "shape": 3 - }, - { - "name": "prompt_l", - "type": "STRING", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "OneButtonPrompt" - }, - "widgets_values": [ - 5, - "all", - "all", - 20, - "all", - "", - "", - "all", - "all", - "all", - "all", - false, - 0, - "randomize" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 16, - "type": "PrimitiveNode", - "pos": [ - -1242, - -95 - ], - "size": { - "0": 434.15277099609375, - "1": 152.36099243164062 - }, - "flags": {}, - "order": 11, - "mode": 0, - "outputs": [ - { - "name": "STRING", - "type": "STRING", - "links": [ - 329 - ], - "slot_index": 0, - "widget": { - "name": "text_g" - } - } - ], - "title": "Negative Prompt", - "properties": {}, - "widgets_values": [ - "text, watermark\n" - ], - "color": "#322", - "bgcolor": "#533" } ], "links": [ @@ -1094,30 +1160,6 @@ 1, "STRING" ], - [ - 324, - 221, - 0, - 218, - 0, - "STRING" - ], - [ - 325, - 221, - 0, - 50, - 1, - "STRING" - ], - [ - 326, - 221, - 0, - 50, - 2, - "STRING" - ], [ 327, 215, @@ -1173,6 +1215,38 @@ 223, 0, "STRING" + ], + [ + 334, + 221, + 0, + 224, + 0, + "STRING" + ], + [ + 335, + 224, + 0, + 218, + 0, + "STRING" + ], + [ + 336, + 224, + 0, + 50, + 1, + "STRING" + ], + [ + 337, + 224, + 0, + 50, + 2, + "STRING" ] ], "groups": [], From 36c5a8aaf541f127fb926f81826a1362044b8f7a Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:47:23 +0100 Subject: [PATCH 2/3] Update comfyui_integration.md --- user_guides/comfyui_integration.md | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/user_guides/comfyui_integration.md b/user_guides/comfyui_integration.md index 2c18a61..44c364a 100644 --- a/user_guides/comfyui_integration.md +++ b/user_guides/comfyui_integration.md @@ -1,10 +1,11 @@ # ComfyUI integration One Button Prompt is now also a ComfyUI extension. -There are 4 nodes currently availabe, with One Button Prompt node being the main one. +There are 7 nodes currently availabe, with One Button Prompt node being the main one. You can slam it in every workflow, where you replace it with the Positive Prompt node. -![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/342bd715-9b7e-4e1a-a3ba-ff3b557b89cc) +![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/271dc575-dfe7-48dc-bef5-222d0af53344) + ## Installing in ComfyUI @@ -59,6 +60,30 @@ Has a simple prompt output and a preset selector. You can add new presets by man ![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/33392e25-d24e-4cc7-a90f-95722e7e8e06) +## One Button Artify + +One Button Artify works as an artist mixer for your prompt. Like SDXL styles, but for all artists known in Stable Diffusion. + +It works best when adding a simple prompt. + +It has the following settings to play with: + +- Artist --> Selection of the style of artists to choose from. +- amount_of_artists --> Amount of artists to generate. Select random, for a choice between 1 and 3. +- artify_mode --> __standard__ adds tags according to the chosen artist. __remix__ chooses tags from different than the chosen artist. __super remix turbo__ chooses wildly from a long list of tags. + +![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/22415117-c457-44a3-bc35-d13629681319) +> vibrant art by Chiho Aoshima, Digital Art, cute norwegian forest cat, Superflat art movement, kawaii aesthetics, fantastical and surreal imagery, blending traditional Japanese motifs with contemporary themes, vibrant colors, otherworldly landscapes, sharp focus, dynamic, contemporary, full color, grand illumination + +## One Button Flufferize + +One Button Prompts lightweight implementation of Fooocus Prompt Magic. It will enhance the output by adding quality tags at the end of your prompt. See the example above. + +It is standardly set to __dynamic__. You can turn it off by choosing __none__. + +Choose __short__, __medium__ or __long__ for more direct control. + +Don't __reverse the polarity!__ ## Create Prompt Variant You can use the "Create Prompt Variant" node, to create variants based on a prompt you input. The strength of the variant is set with the "insanity level" slider. Simply connect it between the positive prompt and the CLIP encoder module. From 2c5300edf14809a57c73d954fa733bf057834afb Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:57:29 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8ac056d..d01de4c 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ More of a Fooocus fan? Take a look at this excellent fork called [RuinedFooocus] - Has a set of __template prompts__ from various sources, __fully wildcarded__ and usable with Subject Override ==> [guide to prompt templates](https://github.com/AIrjen/OneButtonPrompt/blob/main/user_guides/templates.md) - Has multiple __prompt generation modes__ to choose from ==> [guide to prompt generation modes](https://github.com/AIrjen/OneButtonPrompt/blob/main/user_guides/prompt_generation_modes.md) - Stay in control, and fine-tune One Button Prompt with a __config__ file ==> [config file](https://github.com/AIrjen/OneButtonPrompt/blob/main/user_guides/config_file.md) +- __Flufferize__ your prompt to enhance your results with Prompt Magic ## Important Notice