diff --git a/example/Searge-SDXL-img2img.json b/example/Searge-SDXL-img2img.json index 2107e82..be14081 100644 --- a/example/Searge-SDXL-img2img.json +++ b/example/Searge-SDXL-img2img.json @@ -1,6 +1,6 @@ { - "last_node_id": 92, - "last_link_id": 162, + "last_node_id": 131, + "last_link_id": 353, "nodes": [ { "id": 3, @@ -35,7 +35,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "miniature figures as a realistic depictions of everyday life in a small mining town, the streets are bustling with people" + "a daring astronaut in a space suit with helmet, standing in front of futuristic spaceship, adventurous" ], "color": "#232", "bgcolor": "#353" @@ -72,7 +72,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "miniature figures, realistic, everyday life, small mining town, bustling people" + "daring astronaut, space suit, helmet, in front of futuristic spaceship, adventurous, style of Edward Blair Wilkins and Angus McKie" ], "color": "#2a363b", "bgcolor": "#3f5159" @@ -105,12 +105,12 @@ "shape": 3 } ], - "title": "Style and References", + "title": "Style", "properties": { "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "~*~cinematic~*~ photo of abstraction, 35mm photograph, vibrant rusted dieselpunk, style of Brooke Shaden" + "~*~photographic~*~ cinematic photo, 35mm photograph, film, professional, detailed photo, intricate detail, portrait" ], "color": "#223", "bgcolor": "#335" @@ -149,7 +149,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "drawing, painting, crayon, sketch" + "jpeg artifacts, noise, blurry" ], "color": "#322", "bgcolor": "#533" @@ -187,7 +187,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "noisy, blurry, soft, deformed" + "drawing, painting, cartoon, anime, impressionist, soft, ugly" ], "color": "#332922", "bgcolor": "#593930" @@ -232,8 +232,8 @@ "title": "Seed", "properties": {}, "widgets_values": [ - 1468615445735, - "fixed" + 3230334420, + "randomize" ], "color": "#432", "bgcolor": "#653" @@ -259,24 +259,26 @@ "name": "value 1", "type": "INT", "links": [ - 79, - 157 + 168, + 236 ], "shape": 3, - "label": "1 - width" + "label": "1 - width", + "slot_index": 0 }, { "name": "value 2", "type": "INT", "links": [ - 80, - 159 + 169, + 234 ], "shape": 3, - "label": "2 - height" + "label": "2 - height", + "slot_index": 1 } ], - "title": "Image Resolution", + "title": "Base Resolution", "properties": { "Node name for S&R": "SeargeIntegerPair" }, @@ -309,7 +311,8 @@ "name": "COMBO", "type": "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2", "links": [ - 6 + 6, + 279 ], "widget": { "name": "sampler_name", @@ -337,13 +340,14 @@ "default": "dpmpp_2m" } ] - } + }, + "label": "sampler" } ], "title": "Sampler", "properties": {}, "widgets_values": [ - "dpmpp_2m", + "ddim", "fixed" ], "color": "#232", @@ -370,7 +374,8 @@ "name": "COMBO", "type": "normal,karras,exponential,simple,ddim_uniform", "links": [ - 7 + 7, + 280 ], "widget": { "name": "scheduler", @@ -386,13 +391,14 @@ "default": "karras" } ] - } + }, + "label": "scheduler" } ], "title": "Scheduler", "properties": {}, "widgets_values": [ - "karras", + "ddim_uniform", "fixed" ], "color": "#232", @@ -479,7 +485,7 @@ "Node name for S&R": "SeargeIntegerConstant" }, "widgets_values": [ - 30 + 25 ], "color": "#432", "bgcolor": "#653" @@ -512,7 +518,7 @@ "label": "upscale by" } ], - "title": "High Resolution Scale Factor", + "title": "Upscaler Resolution Scale Factor", "properties": { "Node name for S&R": "SeargeFloatConstant" }, @@ -536,13 +542,13 @@ "flags": { "pinned": true }, - "order": 55, + "order": 79, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 34, + "link": 225, "slot_index": 0 } ], @@ -573,16 +579,17 @@ "name": "MODEL", "type": "MODEL", "links": [ - 68 + 184, + 274 ], - "shape": 3 + "shape": 3, + "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ - 29, - 30 + 182 ], "shape": 3, "slot_index": 1 @@ -625,9 +632,11 @@ "name": "MODEL", "type": "MODEL", "links": [ - 69 + 69, + 275 ], - "shape": 3 + "shape": 3, + "slot_index": 0 }, { "name": "CLIP", @@ -677,7 +686,8 @@ "type": "VAE", "links": [ 33, - 156 + 269, + 351 ], "shape": 3, "slot_index": 0 @@ -714,7 +724,8 @@ "name": "value", "type": "FLOAT", "links": [ - 10 + 10, + 278 ], "shape": 3, "label": "cfg" @@ -725,7 +736,7 @@ "Node name for S&R": "SeargeFloatConstant" }, "widgets_values": [ - 6 + 8 ], "color": "#432", "bgcolor": "#653" @@ -751,7 +762,8 @@ "name": "value", "type": "FLOAT", "links": [ - 9 + 9, + 281 ], "shape": 3, "label": "base ratio", @@ -765,8 +777,8 @@ "widgets_values": [ 0.8 ], - "color": "#432", - "bgcolor": "#653" + "color": "#332922", + "bgcolor": "#593930" }, { "id": 38, @@ -790,18 +802,18 @@ "type": "INT", "links": [], "shape": 3, - "label": "batch size" + "label": "images per batch" } ], - "title": "Batch Size", + "title": "Batch Size - unused", "properties": { "Node name for S&R": "SeargeIntegerConstant" }, "widgets_values": [ 1 ], - "color": "#233", - "bgcolor": "#355" + "color": "#222", + "bgcolor": "#000" }, { "id": 43, @@ -837,8 +849,8 @@ "widgets_values": [ 0.333 ], - "color": "#223", - "bgcolor": "#335" + "color": "#232", + "bgcolor": "#353" }, { "id": 51, @@ -854,13 +866,13 @@ "flags": { "pinned": true }, - "order": 31, + "order": 46, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 125, + "link": 170, "widget": { "name": "value", "config": [ @@ -896,9 +908,12 @@ "name": "value", "type": "INT", "links": [ - 56 + 210, + 211 ], - "shape": 3 + "shape": 3, + "label": "width", + "slot_index": 0 } ], "title": "Base Width Scaler", @@ -927,13 +942,13 @@ "flags": { "pinned": true }, - "order": 32, + "order": 50, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 126, + "link": 172, "widget": { "name": "value", "config": [ @@ -969,9 +984,12 @@ "name": "value", "type": "INT", "links": [ - 57 + 212, + 213 ], - "shape": 3 + "shape": 3, + "label": "height", + "slot_index": 0 } ], "title": "Base Height Scaler", @@ -1000,13 +1018,13 @@ "flags": { "pinned": true }, - "order": 33, + "order": 47, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 127, + "link": 171, "widget": { "name": "value", "config": [ @@ -1042,9 +1060,12 @@ "name": "value", "type": "INT", "links": [ - 58 + 214, + 215 ], - "shape": 3 + "shape": 3, + "label": "width", + "slot_index": 0 } ], "title": "Refiner Width Scaler", @@ -1073,13 +1094,13 @@ "flags": { "pinned": true }, - "order": 34, + "order": 51, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 128, + "link": 173, "widget": { "name": "value", "config": [ @@ -1115,9 +1136,12 @@ "name": "value", "type": "INT", "links": [ - 59 + 216, + 217 ], - "shape": 3 + "shape": 3, + "label": "height", + "slot_index": 0 } ], "title": "Refiner Height Scaler", @@ -1132,181 +1156,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 49, - "type": "Reroute", - "pos": [ - 320, - 1540 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 37, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 56, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 40, - 41, - 42, - 43 - ] - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#232", - "bgcolor": "#353" - }, - { - "id": 47, - "type": "Reroute", - "pos": [ - 320, - 1790 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 39, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 58, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 35, - 38 - ], - "slot_index": 0 - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 50, - "type": "Reroute", - "pos": [ - 320, - 1660 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 38, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 57, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 44, - 45, - 46, - 47 - ], - "slot_index": 0 - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#232", - "bgcolor": "#353" - }, - { - "id": 48, - "type": "Reroute", - "pos": [ - 320, - 1910 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 40, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 59, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 37, - 39 - ], - "slot_index": 0 - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#2a363b", - "bgcolor": "#3f5159" - }, { "id": 41, "type": "SeargeSDXLBasePromptEncoder", @@ -1321,13 +1170,13 @@ "flags": { "pinned": true }, - "order": 42, + "order": 56, "mode": 0, "inputs": [ { "name": "base_clip", "type": "CLIP", - "link": 30, + "link": 180, "slot_index": 0 }, { @@ -1397,7 +1246,7 @@ { "name": "base_width", "type": "INT", - "link": 40, + "link": 211, "widget": { "name": "base_width", "config": [ @@ -1415,7 +1264,7 @@ { "name": "base_height", "type": "INT", - "link": 45, + "link": 213, "widget": { "name": "base_height", "config": [ @@ -1433,7 +1282,7 @@ { "name": "target_width", "type": "INT", - "link": 41, + "link": 176, "widget": { "name": "target_width", "config": [ @@ -1451,7 +1300,7 @@ { "name": "target_height", "type": "INT", - "link": 46, + "link": 177, "widget": { "name": "target_height", "config": [ @@ -1473,7 +1322,7 @@ "type": "CONDITIONING", "links": [ 64, - 139 + 331 ], "shape": 3, "slot_index": 0 @@ -1483,7 +1332,7 @@ "type": "CONDITIONING", "links": [ 65, - 142 + 330 ], "shape": 3, "slot_index": 1 @@ -1522,7 +1371,7 @@ "flags": { "pinned": true }, - "order": 43, + "order": 58, "mode": 0, "inputs": [ { @@ -1566,7 +1415,7 @@ { "name": "refiner_width", "type": "INT", - "link": 35, + "link": 215, "widget": { "name": "refiner_width", "config": [ @@ -1583,7 +1432,7 @@ { "name": "refiner_height", "type": "INT", - "link": 37, + "link": 217, "widget": { "name": "refiner_height", "config": [ @@ -1605,7 +1454,7 @@ "type": "CONDITIONING", "links": [ 66, - 143 + 329 ], "shape": 3, "slot_index": 0 @@ -1615,7 +1464,7 @@ "type": "CONDITIONING", "links": [ 67, - 146 + 328 ], "shape": 3, "slot_index": 1 @@ -1650,13 +1499,13 @@ "flags": { "pinned": true }, - "order": 44, + "order": 57, "mode": 0, "inputs": [ { "name": "base_clip", "type": "CLIP", - "link": 29 + "link": 181 }, { "name": "refiner_clip", @@ -1757,7 +1606,7 @@ { "name": "base_width", "type": "INT", - "link": 42, + "link": 210, "widget": { "name": "base_width", "config": [ @@ -1775,7 +1624,7 @@ { "name": "base_height", "type": "INT", - "link": 44, + "link": 212, "widget": { "name": "base_height", "config": [ @@ -1793,7 +1642,7 @@ { "name": "target_width", "type": "INT", - "link": 43, + "link": 174, "widget": { "name": "target_width", "config": [ @@ -1811,7 +1660,7 @@ { "name": "target_height", "type": "INT", - "link": 47, + "link": 175, "widget": { "name": "target_height", "config": [ @@ -1829,7 +1678,7 @@ { "name": "refiner_width", "type": "INT", - "link": 38, + "link": 214, "widget": { "name": "refiner_width", "config": [ @@ -1846,7 +1695,7 @@ { "name": "refiner_height", "type": "INT", - "link": 39, + "link": 216, "widget": { "name": "refiner_height", "config": [ @@ -1868,7 +1717,7 @@ "type": "CONDITIONING", "links": [ 60, - 140 + 324 ], "shape": 3, "slot_index": 0 @@ -1878,7 +1727,7 @@ "type": "CONDITIONING", "links": [ 61, - 141 + 325 ], "shape": 3, "slot_index": 1 @@ -1888,7 +1737,7 @@ "type": "CONDITIONING", "links": [ 62, - 144 + 326 ], "shape": 3, "slot_index": 2 @@ -1898,7 +1747,7 @@ "type": "CONDITIONING", "links": [ 63, - 145 + 327 ], "shape": 3, "slot_index": 3 @@ -1943,7 +1792,7 @@ "flags": { "pinned": true }, - "order": 45, + "order": 60, "mode": 0, "inputs": [ { @@ -1987,7 +1836,7 @@ "flags": { "pinned": true }, - "order": 47, + "order": 62, "mode": 0, "inputs": [ { @@ -2031,7 +1880,7 @@ "flags": { "pinned": true }, - "order": 49, + "order": 64, "mode": 0, "inputs": [ { @@ -2075,7 +1924,7 @@ "flags": { "pinned": true }, - "order": 51, + "order": 66, "mode": 0, "inputs": [ { @@ -2114,24 +1963,24 @@ ], "size": { "0": 350, - "1": 300 + "1": 318 }, "flags": { "pinned": true }, - "order": 53, + "order": 68, "mode": 0, "inputs": [ { "name": "base_model", "type": "MODEL", - "link": 68, + "link": 183, "slot_index": 0 }, { "name": "base_positive", "type": "CONDITIONING", - "link": 137, + "link": 202, "slot_index": 1 }, { @@ -2149,25 +1998,25 @@ { "name": "refiner_positive", "type": "CONDITIONING", - "link": 138, + "link": 205, "slot_index": 4 }, { "name": "refiner_negative", "type": "CONDITIONING", - "link": 152, + "link": 206, "slot_index": 5 }, { "name": "latent_image", "type": "LATENT", - "link": 155, + "link": 349, "slot_index": 6 }, { "name": "noise_seed", "type": "INT", - "link": 12, + "link": 252, "widget": { "name": "noise_seed", "config": [ @@ -2305,6 +2154,23 @@ ] }, "slot_index": 13 + }, + { + "name": "refiner_prep_steps", + "type": "INT", + "link": 207, + "widget": { + "name": "refiner_prep_steps", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 1000 + } + ] + }, + "slot_index": 14 } ], "outputs": [ @@ -2322,14 +2188,15 @@ "Node name for S&R": "SeargeSDXLSampler" }, "widgets_values": [ - 262626950775377, + 103485758364639, "randomize", 30, 7, - "dpmpp_2m", - "karras", + "ddim", + "ddim_uniform", 0.8, - 1 + 1, + 0 ], "color": "#223", "bgcolor": "#335" @@ -2348,7 +2215,7 @@ "flags": { "pinned": true }, - "order": 54, + "order": 69, "mode": 0, "inputs": [ { @@ -2368,10 +2235,8 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 34, - 83, - 84, - 88 + 244, + 270 ], "shape": 3, "slot_index": 0 @@ -2397,13 +2262,13 @@ "flags": { "pinned": true }, - "order": 29, + "order": 49, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 79, + "link": 287, "widget": { "name": "value", "config": [ @@ -2442,7 +2307,8 @@ 91 ], "shape": 3, - "slot_index": 0 + "slot_index": 0, + "label": "width" } ], "title": "Upscaled Image Width", @@ -2471,13 +2337,13 @@ "flags": { "pinned": true }, - "order": 28, + "order": 54, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 80, + "link": 288, "widget": { "name": "value", "config": [ @@ -2515,7 +2381,8 @@ "links": [ 92 ], - "shape": 3 + "shape": 3, + "label": "height" } ], "title": "Upscaled Image Height", @@ -2544,7 +2411,7 @@ "flags": { "pinned": true }, - "order": 56, + "order": 75, "mode": 0, "inputs": [ { @@ -2556,7 +2423,7 @@ { "name": "image", "type": "IMAGE", - "link": 83, + "link": 245, "slot_index": 1 } ], @@ -2591,7 +2458,7 @@ "flags": { "pinned": true }, - "order": 57, + "order": 76, "mode": 0, "inputs": [ { @@ -2603,7 +2470,7 @@ { "name": "image", "type": "IMAGE", - "link": 84, + "link": 246, "slot_index": 1 } ], @@ -2625,213 +2492,22 @@ "bgcolor": "#335" }, { - "id": 69, - "type": "ImageScale", + "id": 36, + "type": "UpscaleModelLoader", "pos": [ - 2690, - 550 + 480, + 970 ], "size": { - "0": 320, - "1": 130 + "0": 327.6000061035156, + "1": 60 }, "flags": { "pinned": true }, - "order": 60, + "order": 19, "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 89 - }, - { - "name": "width", - "type": "INT", - "link": 91, - "widget": { - "name": "width", - "config": [ - "INT", - { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 - } - ] - } - }, - { - "name": "height", - "type": "INT", - "link": 92, - "widget": { - "name": "height", - "config": [ - "INT", - { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 - } - ] - }, - "slot_index": 2 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 90 - ], - "shape": 3, - "slot_index": 0 - } - ], - "title": "Scale to Target Size", - "properties": { - "Node name for S&R": "ImageScale" - }, - "widgets_values": [ - "bicubic", - 512, - 512, - "center" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 68, - "type": "ImageBlend", - "pos": [ - 2690, - 720 - ], - "size": { - "0": 320, - "1": 102 - }, - "flags": { - "pinned": true - }, - "order": 59, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 86, - "slot_index": 0 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 87, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 89 - ], - "shape": 3, - "slot_index": 0 - } - ], - "title": "Mix Upscaled Images", - "properties": { - "Node name for S&R": "ImageBlend" - }, - "widgets_values": [ - 0.75, - "normal" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 63, - "type": "SaveImage", - "pos": [ - 3100, - 330 - ], - "size": { - "0": 420, - "1": 470 - }, - "flags": { - "pinned": true - }, - "order": 61, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 90 - } - ], - "properties": {}, - "widgets_values": [ - "SeargeSDXL-i2i-%date:yyyy-MM-dd%/high_res" - ] - }, - { - "id": 59, - "type": "SaveImage", - "pos": [ - 3100, - 1240 - ], - "size": { - "0": 420, - "1": 470 - }, - "flags": { - "pinned": true - }, - "order": 58, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 88, - "slot_index": 0 - } - ], - "properties": {}, - "widgets_values": [ - "SeargeSDXL-i2i-%date:yyyy-MM-dd%/low_res" - ] - }, - { - "id": 36, - "type": "UpscaleModelLoader", - "pos": [ - 480, - 970 - ], - "size": { - "0": 320, - "1": 60 - }, - "flags": { - "pinned": true - }, - "order": 19, - "mode": 0, - "outputs": [ + "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", @@ -2872,9 +2548,11 @@ "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ - 82 + 82, + 307 ], - "shape": 3 + "shape": 3, + "slot_index": 0 } ], "title": "Supporting Upscale Model", @@ -2887,46 +2565,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 74, - "type": "SeargeIntegerConstant", - "pos": [ - -500, - 1750 - ], - "size": { - "0": 250, - "1": 58 - }, - "flags": { - "pinned": true - }, - "order": 21, - "mode": 0, - "outputs": [ - { - "name": "value", - "type": "INT", - "links": [ - 125, - 126, - 127, - 128 - ], - "shape": 3, - "slot_index": 0 - } - ], - "title": "Conditioning Size Base", - "properties": { - "Node name for S&R": "SeargeIntegerConstant" - }, - "widgets_values": [ - 1024 - ], - "color": "#222", - "bgcolor": "#000" - }, { "id": 75, "type": "ConditioningAverage ", @@ -2941,18 +2579,19 @@ "flags": { "pinned": true }, - "order": 46, + "order": 61, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 139 + "link": 331, + "slot_index": 0 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 140 + "link": 324 }, { "name": "conditioning_to_strength", @@ -2978,7 +2617,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 137 + 202, + 283 ], "shape": 3, "label": "base +", @@ -3008,18 +2648,19 @@ "flags": { "pinned": true }, - "order": 48, + "order": 63, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 141 + "link": 330, + "slot_index": 0 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 142 + "link": 325 }, { "name": "conditioning_to_strength", @@ -3045,7 +2686,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 151 + 151, + 284 ], "shape": 3, "label": "base -", @@ -3075,18 +2717,19 @@ "flags": { "pinned": true }, - "order": 50, + "order": 65, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 143 + "link": 329, + "slot_index": 0 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 144 + "link": 326 }, { "name": "conditioning_to_strength", @@ -3112,7 +2755,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 138 + 205, + 285 ], "shape": 3, "label": "refiner +", @@ -3142,18 +2786,18 @@ "flags": { "pinned": true }, - "order": 52, + "order": 67, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 145 + "link": 328 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 146 + "link": 327 }, { "name": "conditioning_to_strength", @@ -3179,7 +2823,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 152 + 206, + 286 ], "shape": 3, "label": "refiner -", @@ -3209,14 +2854,15 @@ "flags": { "pinned": true }, - "order": 30, + "order": 40, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 131, - "slot_index": 0 + "slot_index": 0, + "label": "style +" } ], "outputs": [ @@ -3232,7 +2878,9 @@ "properties": { "showOutputText": false, "horizontal": false - } + }, + "color": "#232", + "bgcolor": "#353" }, { "id": 83, @@ -3248,7 +2896,7 @@ "flags": { "pinned": true }, - "order": 22, + "order": 21, "mode": 0, "outputs": [ { @@ -3258,7 +2906,7 @@ 153 ], "shape": 3, - "label": "base ratio", + "label": "denoise", "slot_index": 0 } ], @@ -3267,7 +2915,7 @@ "Node name for S&R": "SeargeFloatConstant" }, "widgets_values": [ - 0.75 + 0.25 ], "color": "#432", "bgcolor": "#653" @@ -3286,7 +2934,7 @@ "flags": { "pinned": true }, - "order": 23, + "order": 22, "mode": 0, "outputs": [ { @@ -3306,34 +2954,8 @@ "widgets_values": [ 0.667 ], - "color": "#332922", - "bgcolor": "#593930" - }, - { - "id": 45, - "type": "Note", - "pos": [ - 480, - 650 - ], - "size": { - "0": 630, - "1": 290 - }, - "flags": { - "pinned": true - }, - "order": 24, - "mode": 0, - "title": "Workflow Information", - "properties": { - "text": "" - }, - "widgets_values": [ - "\nImproved Searge SDXL workflow for SDXL 1.0 - IMAGE to IMAGE - created on Jul 27, 2023\n\nTo use this workflow, set up ComfyUI like this:\n\n- Install the Searge SDXL custom node extension from https://github.com/SeargeDP/SeargeSDXL\n - open the command line in directory: ComfyUI/custom_nodes\n - run the command: git clone https://github.com/SeargeDP/SeargeSDXL.git\n - restart ComfyUI\n\nSDXL 1.0 base:\n https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors\nSDXL 1.0 refiner:\n https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors\n\nSDXL 0.9 vae: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl_vae.safetensors\n4x-UltraSharp upscaler: https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x-UltraSharp.pth\n4x_NMKD-Siax_200k upscaler: https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x_NMKD-Siax_200k.pth\n\nImage sizes that are \"ideal\" for different aspect ratios:\n | 1024x1024 | 1152x896 | 896x1152 | 1216x832 | 832x1216 | 1344x768 | 768x1344 | 1536x640 | 640x1536 |" - ], - "color": "#323", - "bgcolor": "#535" + "color": "#322", + "bgcolor": "#533" }, { "id": 85, @@ -3349,14 +2971,15 @@ "flags": { "pinned": true }, - "order": 35, + "order": 41, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 148, - "slot_index": 0 + "slot_index": 0, + "label": "style -" } ], "outputs": [ @@ -3373,7 +2996,9 @@ "properties": { "showOutputText": false, "horizontal": false - } + }, + "color": "#322", + "bgcolor": "#533" }, { "id": 15, @@ -3389,7 +3014,7 @@ "flags": { "pinned": true }, - "order": 27, + "order": 35, "mode": 0, "inputs": [ { @@ -3416,10 +3041,11 @@ "name": "value", "type": "INT", "links": [ - 12 + 253 ], "shape": 3, - "label": "seed" + "label": "seed", + "slot_index": 0 } ], "title": "Seed pass-through", @@ -3427,873 +3053,2816 @@ "Node name for S&R": "SeargeIntegerConstant" }, "widgets_values": [ - 1468615445735 + 3230334420 ], "color": "#222", "bgcolor": "#000" }, { "id": 86, - "type": "LoadImage", + "type": "PreviewImage", "pos": [ - -350, - 50 + 50, + -900 ], "size": { - "0": 370, - "1": 470 + "0": 1550, + "1": 850 }, "flags": { "pinned": true }, - "order": 25, + "order": 78, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 161 - ], - "shape": 3 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 + "link": 224, + "slot_index": 0 } ], - "title": "Source Image", + "title": "Horizontal Preview Image", "properties": { - "Node name for S&R": "LoadImage" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "example.png", - "image" - ], - "color": "#432", - "bgcolor": "#653" + "color": "#222", + "bgcolor": "#000" }, { - "id": 89, - "type": "LoadImage", + "id": 90, + "type": "Reroute", "pos": [ - -350, - 560 + -150, + 1450 + ], + "size": [ + 75, + 26 ], - "size": { - "0": 370, - "1": 470 - }, "flags": { "pinned": true }, - "order": 26, + "order": 36, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "IMAGE", - "type": "IMAGE", - "links": null, - "shape": 3 - }, + "name": "", + "type": "*", + "link": 168, + "label": "width" + } + ], + "outputs": [ { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 + "name": "", + "type": "INT", + "links": [ + 170, + 171, + 174, + 176, + 346 + ], + "slot_index": 0 } ], - "title": "Inpainting Mask - IGNORED here in img2img", "properties": { - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image" - ], - "color": "#222", - "bgcolor": "#000" + "showOutputText": false, + "horizontal": false + } }, { "id": 91, - "type": "VAEEncode", + "type": "Reroute", "pos": [ - 1410, - 1340 + -150, + 1500 + ], + "size": [ + 75, + 26 ], - "size": { - "0": 290, - "1": 100 - }, "flags": { "pinned": true }, - "order": 41, + "order": 38, "mode": 0, "inputs": [ { - "name": "pixels", - "type": "IMAGE", - "link": 162, - "slot_index": 0 - }, - { - "name": "vae", - "type": "VAE", - "link": 156 + "name": "", + "type": "*", + "link": 169, + "label": "height" } ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "", + "type": "INT", "links": [ - 155 + 172, + 173, + 175, + 177, + 347 ], - "shape": 3, "slot_index": 0 } ], "properties": { - "Node name for S&R": "VAEEncode" - }, - "color": "#323", - "bgcolor": "#535" + "showOutputText": false, + "horizontal": false + } }, { "id": 92, - "type": "ImageScale", + "type": "LoraLoader", "pos": [ - 810, - 2440 + 480, + 1160 ], "size": { - "0": 300, - "1": 122 + "0": 630, + "1": 120 }, "flags": { "pinned": true }, - "order": 36, + "order": 42, "mode": 0, "inputs": [ { - "name": "image", - "type": "IMAGE", - "link": 161 + "name": "model", + "type": "MODEL", + "link": 184 }, { - "name": "width", - "type": "INT", - "link": 157, + "name": "clip", + "type": "CLIP", + "link": 182 + }, + { + "name": "strength_model", + "type": "FLOAT", + "link": 208, "widget": { - "name": "width", + "name": "strength_model", "config": [ - "INT", + "FLOAT", { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 + "default": 1, + "min": -10, + "max": 10, + "step": 0.01 } ] - } + }, + "slot_index": 2 }, { - "name": "height", - "type": "INT", - "link": 159, + "name": "strength_clip", + "type": "FLOAT", + "link": 220, "widget": { - "name": "height", + "name": "strength_clip", "config": [ - "INT", + "FLOAT", { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 + "default": 1, + "min": -10, + "max": 10, + "step": 0.01 } ] } + }, + { + "name": "lora_name", + "type": "sd_xl_offset_example-lora_1.0.safetensors", + "link": 221, + "widget": { + "name": "lora_name", + "config": [ + [ + "sd_xl_offset_example-lora_1.0.safetensors" + ] + ] + }, + "slot_index": 4 } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "MODEL", + "type": "MODEL", "links": [ - 162 + 183 ], "shape": 3, "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 180, + 181 + ], + "shape": 3, + "slot_index": 1 } ], "properties": { - "Node name for S&R": "ImageScale" + "Node name for S&R": "LoraLoader" }, "widgets_values": [ - "bicubic", - 512, - 512, - "center" + "sd_xl_offset_example-lora_1.0.safetensors", + 0, + 0 ], "color": "#223", "bgcolor": "#335" - } - ], - "links": [ - [ - 1, - 16, - 0, - 15, - 0, - "INT" - ], - [ - 6, - 29, - 0, - 28, - 10, - "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2" - ], - [ - 7, - 30, - 0, - 28, - 11, - "normal,karras,exponential,simple,ddim_uniform" - ], - [ - 9, - 35, - 0, - 28, - 12, - "FLOAT" - ], - [ - 10, - 34, - 0, - 28, - 9, - "FLOAT" - ], - [ - 11, - 31, - 0, - 28, - 8, - "INT" - ], - [ - 12, - 15, - 0, - 28, - 7, - "INT" - ], - [ - 13, - 3, - 0, - 40, - 2, - "STRING" - ], + }, + { + "id": 99, + "type": "PrimitiveNode", + "pos": [ + 900, + 650 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": { + "pinned": true + }, + "order": 23, + "mode": 0, + "outputs": [ + { + "name": "COMBO", + "type": "sd_xl_offset_example-lora_1.0.safetensors", + "links": [ + 221 + ], + "widget": { + "name": "lora_name", + "config": [ + [ + "sd_xl_offset_example-lora_1.0.safetensors" + ] + ] + }, + "label": "LORA_MODEL" + } + ], + "title": "LoRA Model", + "properties": {}, + "widgets_values": [ + "sd_xl_offset_example-lora_1.0.safetensors", + "fixed" + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 98, + "type": "SeargeFloatConstant", + "pos": [ + 690, + 650 + ], + "size": { + "0": 210, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 24, + "mode": 0, + "outputs": [ + { + "name": "value", + "type": "FLOAT", + "links": [ + 208, + 220 + ], + "shape": 3, + "label": "weight", + "slot_index": 0 + } + ], + "title": "LoRA Weight", + "properties": { + "Node name for S&R": "SeargeFloatConstant" + }, + "widgets_values": [ + 0 + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 95, + "type": "SeargeIntegerConstant", + "pos": [ + 480, + 650 + ], + "size": { + "0": 210, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 25, + "mode": 0, + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 207 + ], + "shape": 3, + "label": "steps" + } + ], + "title": "Preconditioning Steps", + "properties": { + "Node name for S&R": "SeargeIntegerConstant" + }, + "widgets_values": [ + 0 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 101, + "type": "SeargeFloatConstant", + "pos": [ + 900, + 760 + ], + "size": { + "0": 210, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 26, + "mode": 0, + "outputs": [ + { + "name": "value", + "type": "FLOAT", + "links": [ + 232, + 233 + ], + "shape": 3, + "label": "upscale by" + } + ], + "title": "Hires Fix Scale Factor", + "properties": { + "Node name for S&R": "SeargeFloatConstant" + }, + "widgets_values": [ + 1.5 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 100, + "type": "SeargeFloatConstant", + "pos": [ + 690, + 760 + ], + "size": { + "0": 210, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 27, + "mode": 0, + "outputs": [ + { + "name": "value", + "type": "FLOAT", + "links": [ + 282 + ], + "shape": 3, + "label": "hires fix denoise" + } + ], + "title": "HiRes Fix Denoise", + "properties": { + "Node name for S&R": "SeargeFloatConstant" + }, + "widgets_values": [ + 0.15 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 102, + "type": "SeargeIntegerConstant", + "pos": [ + 480, + 760 + ], + "size": { + "0": 210, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 28, + "mode": 0, + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 277 + ], + "shape": 3, + "label": "steps" + } + ], + "title": "HiRes Fix Steps | 0 = off", + "properties": { + "Node name for S&R": "SeargeIntegerConstant" + }, + "widgets_values": [ + 0 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 104, + "type": "Reroute", + "pos": [ + -120, + -970 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 74, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 226, + "label": "image" + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 223, + 224, + 225 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 59, + "type": "SaveImage", + "pos": [ + 2300, + -270 + ], + "size": { + "0": 420, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 70, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 244, + "slot_index": 0 + } + ], + "title": "Save Generated Image", + "properties": {}, + "widgets_values": [ + "SeargeSDXL-t2i-%date:yyyy-MM-dd%/generated/gen" + ] + }, + { + "id": 63, + "type": "SaveImage", + "pos": [ + 2800, + -270 + ], + "size": { + "0": 420, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 298 + } + ], + "title": "Save HiResFixed Image", + "properties": {}, + "widgets_values": [ + "SeargeSDXL-t2i-%date:yyyy-MM-dd%/hires/hrf" + ] + }, + { + "id": 106, + "type": "SeargeIntegerScaler", + "pos": [ + 2300, + 880 + ], + "size": { + "0": 230, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "INT", + "link": 238, + "widget": { + "name": "value", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 0 + }, + { + "name": "factor", + "type": "FLOAT", + "link": 233, + "widget": { + "name": "factor", + "config": [ + "FLOAT", + { + "default": 1, + "step": 0.01 + } + ] + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 272 + ], + "shape": 3, + "slot_index": 0, + "label": "width" + } + ], + "title": "HRF Image Width", + "properties": { + "Node name for S&R": "SeargeIntegerScaler" + }, + "widgets_values": [ + 0, + 1, + 64 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 107, + "type": "SeargeIntegerScaler", + "pos": [ + 2300, + 1000 + ], + "size": { + "0": 230, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "INT", + "link": 239, + "widget": { + "name": "value", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 0 + }, + { + "name": "factor", + "type": "FLOAT", + "link": 232, + "widget": { + "name": "factor", + "config": [ + "FLOAT", + { + "default": 1, + "step": 0.01 + } + ] + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 273 + ], + "shape": 3, + "label": "height", + "slot_index": 0 + } + ], + "title": "HRF Image Height", + "properties": { + "Node name for S&R": "SeargeIntegerScaler" + }, + "widgets_values": [ + 0, + 1, + 64 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 109, + "type": "Reroute", + "pos": [ + 2000, + 610 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 234, + "label": "height" + } + ], + "outputs": [ + { + "name": "", + "type": "INT", + "links": [ + 239, + 288 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 110, + "type": "Reroute", + "pos": [ + 2000, + 580 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 236, + "label": "width" + } + ], + "outputs": [ + { + "name": "", + "type": "INT", + "links": [ + 238, + 287 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 112, + "type": "Reroute", + "pos": [ + 1900, + 1700 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 253, + "label": "seed" + } + ], + "outputs": [ + { + "name": "", + "type": "INT", + "links": [ + 252, + 289 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 69, + "type": "ImageScale", + "pos": [ + 2700, + 530 + ], + "size": { + "0": 320, + "1": 130 + }, + "flags": { + "pinned": true + }, + "order": 81, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 89 + }, + { + "name": "width", + "type": "INT", + "link": 91, + "widget": { + "name": "width", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + } + }, + { + "name": "height", + "type": "INT", + "link": 92, + "widget": { + "name": "height", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 291 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "Scale to Target Size", + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "bicubic", + 512, + 512, + "center" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 68, + "type": "ImageBlend", + "pos": [ + 2700, + 730 + ], + "size": { + "0": 320, + "1": 102 + }, + "flags": { + "pinned": true + }, + "order": 80, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 86, + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 87, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 89 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "Mix Upscaled Images", + "properties": { + "Node name for S&R": "ImageBlend" + }, + "widgets_values": [ + 0.5, + "normal" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 115, + "type": "SaveImage", + "pos": [ + 3300, + -270 + ], + "size": { + "0": 420, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 296, + "slot_index": 0 + } + ], + "title": "Save Upscaled Image", + "properties": {}, + "widgets_values": [ + "SeargeSDXL-t2i-%date:yyyy-MM-dd%/upscaled/up" + ] + }, + { + "id": 45, + "type": "Note", + "pos": [ + 480, + 850 + ], + "size": { + "0": 630, + "1": 90 + }, + "flags": { + "pinned": true + }, + "order": 29, + "mode": 0, + "title": "Workflow Information", + "properties": { + "text": "" + }, + "widgets_values": [ + "Improved Searge SDXL workflow for SDXL 1.0 - IMAGE to IMAGE (Reborn) - v2.0 created on Jul 29, 2023\nVersion 2.1 updated on Jul 31, 2023 | requires custom node extension: https://github.com/SeargeDP/SeargeSDXL\n\n| 1024x1024 | 1152x896 | 896x1152 | 1216x832 | 832x1216 | 1344x768 | 768x1344 | 1536x640 | 640x1536 |" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 117, + "type": "SeargeSDXLImage2ImageSampler", + "pos": [ + 2700, + 1130 + ], + "size": { + "0": 320, + "1": 374 + }, + "flags": { + "pinned": true + }, + "order": 71, + "mode": 0, + "inputs": [ + { + "name": "base_model", + "type": "MODEL", + "link": 274 + }, + { + "name": "base_positive", + "type": "CONDITIONING", + "link": 283 + }, + { + "name": "base_negative", + "type": "CONDITIONING", + "link": 284 + }, + { + "name": "refiner_model", + "type": "MODEL", + "link": 275 + }, + { + "name": "refiner_positive", + "type": "CONDITIONING", + "link": 285 + }, + { + "name": "refiner_negative", + "type": "CONDITIONING", + "link": 286 + }, + { + "name": "image", + "type": "IMAGE", + "link": 270 + }, + { + "name": "vae", + "type": "VAE", + "link": 269 + }, + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 307 + }, + { + "name": "noise_seed", + "type": "INT", + "link": 290, + "widget": { + "name": "noise_seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 9 + }, + { + "name": "steps", + "type": "INT", + "link": 277, + "widget": { + "name": "steps", + "config": [ + "INT", + { + "default": 20, + "min": 0, + "max": 1000 + } + ] + }, + "slot_index": 10 + }, + { + "name": "cfg", + "type": "FLOAT", + "link": 278, + "widget": { + "name": "cfg", + "config": [ + "FLOAT", + { + "default": 7, + "min": 0, + "max": 100, + "step": 0.5 + } + ] + }, + "slot_index": 11 + }, + { + "name": "sampler_name", + "type": "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2", + "link": 279, + "widget": { + "name": "sampler_name", + "config": [ + [ + "euler", + "euler_ancestral", + "heun", + "dpm_2", + "dpm_2_ancestral", + "lms", + "dpm_fast", + "dpm_adaptive", + "dpmpp_2s_ancestral", + "dpmpp_sde", + "dpmpp_sde_gpu", + "dpmpp_2m", + "dpmpp_2m_sde", + "dpmpp_2m_sde_gpu", + "ddim", + "uni_pc", + "uni_pc_bh2" + ], + { + "default": "ddim" + } + ] + }, + "slot_index": 12 + }, + { + "name": "scheduler", + "type": "normal,karras,exponential,simple,ddim_uniform", + "link": 280, + "widget": { + "name": "scheduler", + "config": [ + [ + "normal", + "karras", + "exponential", + "simple", + "ddim_uniform" + ], + { + "default": "ddim_uniform" + } + ] + }, + "slot_index": 13 + }, + { + "name": "base_ratio", + "type": "FLOAT", + "link": 281, + "widget": { + "name": "base_ratio", + "config": [ + "FLOAT", + { + "default": 0.8, + "min": 0, + "max": 1, + "step": 0.01 + } + ] + }, + "slot_index": 14 + }, + { + "name": "denoise", + "type": "FLOAT", + "link": 282, + "widget": { + "name": "denoise", + "config": [ + "FLOAT", + { + "default": 0.25, + "min": 0, + "max": 1, + "step": 0.01 + } + ] + }, + "slot_index": 15 + }, + { + "name": "scaled_width", + "type": "INT", + "link": 272, + "widget": { + "name": "scaled_width", + "config": [ + "INT", + { + "default": 1536, + "min": 0, + "max": 8192, + "step": 64 + } + ] + } + }, + { + "name": "scaled_height", + "type": "INT", + "link": 273, + "widget": { + "name": "scaled_height", + "config": [ + "INT", + { + "default": 1536, + "min": 0, + "max": 8192, + "step": 64 + } + ] + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 268, + 297 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "HiRes Fix Sampler", + "properties": { + "Node name for S&R": "SeargeSDXLImage2ImageSampler" + }, + "widgets_values": [ + 337372106590526, + "randomize", + 20, + 7, + "ddim", + "ddim_uniform", + 0.8, + 0.25, + 1536, + 1536 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 118, + "type": "SeargeIntegerMath", + "pos": [ + 2010, + 1840 + ], + "size": { + "0": 210, + "1": 106 + }, + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "INT", + "link": 289, + "widget": { + "name": "a", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + } + } + ], + "outputs": [ + { + "name": "result", + "type": "INT", + "links": [ + 290 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SeargeIntegerMath" + }, + "widgets_values": [ + "a + c", + 0, + 1, + 3 + ] + }, + { + "id": 124, + "type": "Reroute", + "pos": [ + 1630, + 300 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null, + "pos": [ + 37.5, + 0 + ], + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 298 + ], + "label": "save hrf", + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 123, + "type": "Reroute", + "pos": [ + 1630, + 240 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 73, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 297, + "pos": [ + 37.5, + 0 + ] + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [], + "label": "save hrf", + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 121, + "type": "Reroute", + "pos": [ + 1630, + 90 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null, + "pos": [ + 37.5, + 0 + ], + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 296 + ], + "label": "upscale" + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 119, + "type": "Reroute", + "pos": [ + 1630, + 30 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 82, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 291, + "pos": [ + 37.5, + 0 + ] + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [], + "label": "upscale", + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 105, + "type": "Reroute", + "pos": [ + 1900, + 920 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 72, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 268, + "label": "image" + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 226, + 245, + 246 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 126, + "type": "Note", + "pos": [ + 1630, + 360 + ], + "size": { + "0": 240, + "1": 590 + }, + "flags": { + "pinned": true + }, + "order": 32, + "mode": 0, + "title": "Workflow Information", + "properties": { + "text": "" + }, + "widgets_values": [ + "=== How to prompt this workflow ===\n\nMain Prompt\n-----------\nThe subject of the image in natural language\n\nExample: a cat with a hat in a grass field\n\n\nSecondary Prompt\n----------------\nA list of keywords derived from the main prompts, at the end references to artists\n\nExample: cat, hat, grass field, style of [artist name] and [artist name]\n\n\nStyle and References Prompt\n---------------------------\nA description of the style of the image, the main style should be the first word and can be emphasized by surrounding it with ~*~\n\nExample: ~*~painting~*~ oil painting, vibrant colors\n\n\nNegative Prompt\n---------------\nSubjects that should not appear in the image\n\nExample: jpeg artifacts, noise\n\n\nNegative Style Prompt\n---------------------\nStyles and concepts that should not be used to generate the image\n\nExample: photograph, anime" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 125, + "type": "Note", + "pos": [ + 1630, + 150 + ], + "size": { + "0": 240, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 33, + "mode": 0, + "title": "Workflow Information", + "properties": { + "text": "" + }, + "widgets_values": [ + "^ Connect to enable upscaling\n| ---------------------------------\n| Connect to enable saving of image \nv after hires fix is applied" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 128, + "type": "LoadImage", + "pos": [ + -350, + 50 + ], + "size": { + "0": 370, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 34, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 348 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "title": "Source Image", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 87, + "type": "PreviewImage", + "pos": [ + -1320, + -900 + ], + "size": { + "0": 850, + "1": 1550 + }, + "flags": { + "pinned": true + }, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 223, + "slot_index": 0 + } + ], + "title": "Vertical Preview Image", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 130, + "type": "ImageScale", + "pos": [ + 800, + 2430 + ], + "size": { + "0": 300, + "1": 122 + }, + "flags": { + "pinned": true + }, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 348 + }, + { + "name": "width", + "type": "INT", + "link": 346, + "widget": { + "name": "width", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + }, + "slot_index": 1 + }, + { + "name": "height", + "type": "INT", + "link": 347, + "widget": { + "name": "height", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 350 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "bicubic", + 512, + 512, + "center" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 131, + "type": "VAEEncode", + "pos": [ + 1410, + 1330 + ], + "size": { + "0": 290, + "1": 100 + }, + "flags": { + "pinned": true + }, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 350, + "slot_index": 0 + }, + { + "name": "vae", + "type": "VAE", + "link": 351 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 349 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "color": "#323", + "bgcolor": "#535" + } + ], + "links": [ + [ + 1, + 16, + 0, + 15, + 0, + "INT" + ], + [ + 6, + 29, + 0, + 28, + 10, + "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2" + ], + [ + 7, + 30, + 0, + 28, + 11, + "normal,karras,exponential,simple,ddim_uniform" + ], + [ + 9, + 35, + 0, + 28, + 12, + "FLOAT" + ], + [ + 10, + 34, + 0, + 28, + 9, + "FLOAT" + ], + [ + 11, + 31, + 0, + 28, + 8, + "INT" + ], + [ + 13, + 3, + 0, + 40, + 2, + "STRING" + ], [ 14, 5, 0, 40, 3, - "STRING" + "STRING" + ], + [ + 15, + 3, + 0, + 40, + 4, + "STRING" + ], + [ + 16, + 7, + 0, + 40, + 5, + "STRING" + ], + [ + 17, + 7, + 0, + 40, + 6, + "STRING" + ], + [ + 18, + 7, + 0, + 40, + 7, + "STRING" + ], + [ + 19, + 6, + 0, + 41, + 1, + "STRING" + ], + [ + 20, + 6, + 0, + 41, + 2, + "STRING" + ], + [ + 21, + 8, + 0, + 41, + 3, + "STRING" + ], + [ + 22, + 8, + 0, + 41, + 4, + "STRING" + ], + [ + 23, + 6, + 0, + 42, + 1, + "STRING" + ], + [ + 24, + 8, + 0, + 42, + 2, + "STRING" + ], + [ + 31, + 27, + 1, + 40, + 1, + "CLIP" + ], + [ + 32, + 27, + 1, + 42, + 0, + "CLIP" + ], + [ + 33, + 12, + 0, + 46, + 1, + "VAE" + ], + [ + 49, + 26, + 0, + 51, + 1, + "FLOAT" + ], + [ + 51, + 26, + 1, + 52, + 1, + "FLOAT" + ], + [ + 53, + 26, + 1, + 54, + 1, + "FLOAT" + ], + [ + 55, + 26, + 1, + 53, + 1, + "FLOAT" + ], + [ + 60, + 40, + 0, + 55, + 0, + "CONDITIONING" + ], + [ + 61, + 40, + 1, + 56, + 0, + "CONDITIONING" + ], + [ + 62, + 40, + 2, + 57, + 0, + "CONDITIONING" + ], + [ + 63, + 40, + 3, + 58, + 0, + "CONDITIONING" ], [ - 15, + 64, + 41, + 0, + 55, + 1, + "CONDITIONING" + ], + [ + 65, + 41, + 1, + 56, + 1, + "CONDITIONING" + ], + [ + 66, + 42, + 0, + 57, + 1, + "CONDITIONING" + ], + [ + 67, + 42, + 1, + 58, + 1, + "CONDITIONING" + ], + [ + 69, + 27, + 0, + 28, 3, + "MODEL" + ], + [ + 75, + 28, 0, - 40, - 4, - "STRING" + 46, + 0, + "LATENT" ], [ - 16, - 7, + 77, + 33, 0, - 40, - 5, - "STRING" + 65, + 1, + "FLOAT" ], [ - 17, - 7, + 78, + 33, 0, - 40, - 6, - "STRING" + 64, + 1, + "FLOAT" ], [ - 18, - 7, + 81, + 36, 0, - 40, - 7, - "STRING" + 66, + 0, + "UPSCALE_MODEL" ], [ - 19, - 6, + 82, + 37, 0, - 41, + 67, + 0, + "UPSCALE_MODEL" + ], + [ + 86, + 66, + 0, + 68, + 0, + "IMAGE" + ], + [ + 87, + 67, + 0, + 68, 1, - "STRING" + "IMAGE" ], [ - 20, - 6, + 89, + 68, 0, - 41, + 69, + 0, + "IMAGE" + ], + [ + 91, + 64, + 0, + 69, + 1, + "INT" + ], + [ + 92, + 65, + 0, + 69, 2, - "STRING" + "INT" ], [ - 21, - 8, + 131, + 43, 0, - 41, - 3, - "STRING" + 82, + 0, + "*" ], [ - 22, - 8, + 132, + 82, 0, - 41, - 4, - "STRING" + 75, + 2, + "FLOAT" ], [ - 23, - 6, + 134, + 82, 0, - 42, + 77, + 2, + "FLOAT" + ], + [ + 148, + 84, + 0, + 85, + 0, + "*" + ], + [ + 149, + 85, + 0, + 76, + 2, + "FLOAT" + ], + [ + 150, + 85, + 0, + 78, + 2, + "FLOAT" + ], + [ + 151, + 76, + 0, + 28, + 2, + "CONDITIONING" + ], + [ + 153, + 83, + 0, + 28, + 13, + "FLOAT" + ], + [ + 168, + 20, + 0, + 90, + 0, + "*" + ], + [ + 169, + 20, 1, - "STRING" + 91, + 0, + "*" ], [ - 24, - 8, + 170, + 90, + 0, + 51, + 0, + "INT" + ], + [ + 171, + 90, + 0, + 54, + 0, + "INT" + ], + [ + 172, + 91, + 0, + 52, + 0, + "INT" + ], + [ + 173, + 91, + 0, + 53, + 0, + "INT" + ], + [ + 174, + 90, + 0, + 40, + 10, + "INT" + ], + [ + 175, + 91, + 0, + 40, + 11, + "INT" + ], + [ + 176, + 90, 0, - 42, - 2, - "STRING" + 41, + 7, + "INT" ], [ - 29, - 10, - 1, - 40, + 177, + 91, 0, - "CLIP" + 41, + 8, + "INT" ], [ - 30, - 10, + 180, + 92, 1, 41, 0, "CLIP" ], [ - 31, - 27, + 181, + 92, 1, 40, - 1, + 0, "CLIP" ], [ - 32, - 27, + 182, + 10, + 1, + 92, 1, - 42, - 0, "CLIP" ], [ - 33, - 12, + 183, + 92, 0, - 46, - 1, - "VAE" + 28, + 0, + "MODEL" ], [ - 34, - 46, + 184, + 10, 0, - 19, + 92, 0, - "IMAGE" + "MODEL" ], [ - 35, - 47, + 202, + 75, 0, - 42, - 3, - "INT" + 28, + 1, + "CONDITIONING" ], [ - 37, - 48, + 205, + 77, 0, - 42, + 28, 4, - "INT" - ], - [ - 38, - 47, - 0, - 40, - 12, - "INT" + "CONDITIONING" ], [ - 39, - 48, + 206, + 78, 0, - 40, - 13, - "INT" + 28, + 5, + "CONDITIONING" ], [ - 40, - 49, + 207, + 95, 0, - 41, - 5, + 28, + 14, "INT" ], [ - 41, - 49, + 208, + 98, 0, - 41, - 7, - "INT" + 92, + 2, + "FLOAT" ], [ - 42, - 49, + 210, + 51, 0, 40, 8, "INT" ], [ - 43, - 49, + 211, + 51, 0, - 40, - 10, + 41, + 5, "INT" ], [ - 44, - 50, + 212, + 52, 0, 40, 9, "INT" ], [ - 45, - 50, + 213, + 52, 0, 41, 6, "INT" ], [ - 46, - 50, - 0, - 41, - 8, - "INT" - ], - [ - 47, - 50, + 214, + 54, 0, 40, - 11, + 12, "INT" ], [ - 49, - 26, + 215, + 54, 0, - 51, - 1, - "FLOAT" - ], - [ - 51, - 26, - 1, - 52, - 1, - "FLOAT" + 42, + 3, + "INT" ], [ + 216, 53, - 26, - 1, - 54, - 1, - "FLOAT" + 0, + 40, + 13, + "INT" ], [ - 55, - 26, - 1, + 217, 53, - 1, - "FLOAT" + 0, + 42, + 4, + "INT" ], [ - 56, - 51, + 220, + 98, 0, - 49, - 0, - "*" + 92, + 3, + "FLOAT" ], [ - 57, - 52, + 221, + 99, 0, - 50, - 0, - "*" + 92, + 4, + "sd_xl_offset_example-lora_1.0.safetensors" ], [ - 58, - 54, + 223, + 104, 0, - 47, + 87, 0, - "*" + "IMAGE" ], [ - 59, - 53, + 224, + 104, 0, - 48, + 86, 0, - "*" + "IMAGE" ], [ - 60, - 40, + 225, + 104, 0, - 55, + 19, 0, - "CONDITIONING" + "IMAGE" ], [ - 61, - 40, - 1, - 56, + 226, + 105, 0, - "CONDITIONING" - ], - [ - 62, - 40, - 2, - 57, + 104, 0, - "CONDITIONING" + "*" ], [ - 63, - 40, - 3, - 58, + 232, + 101, 0, - "CONDITIONING" + 107, + 1, + "FLOAT" ], [ - 64, - 41, + 233, + 101, 0, - 55, + 106, 1, - "CONDITIONING" + "FLOAT" ], [ - 65, - 41, - 1, - 56, + 234, + 20, 1, - "CONDITIONING" - ], - [ - 66, - 42, + 109, 0, - 57, - 1, - "CONDITIONING" + "*" ], [ - 67, - 42, - 1, - 58, - 1, - "CONDITIONING" + 236, + 20, + 0, + 110, + 0, + "*" ], [ - 68, - 10, + 238, + 110, 0, - 28, + 106, 0, - "MODEL" + "INT" ], [ - 69, - 27, + 239, + 109, 0, - 28, - 3, - "MODEL" + 107, + 0, + "INT" ], [ - 75, - 28, - 0, + 244, 46, 0, - "LATENT" + 59, + 0, + "IMAGE" ], [ - 77, - 33, + 245, + 105, 0, - 65, + 66, 1, - "FLOAT" + "IMAGE" ], [ - 78, - 33, + 246, + 105, 0, - 64, + 67, 1, - "FLOAT" + "IMAGE" ], [ - 79, - 20, - 0, - 64, + 252, + 112, 0, + 28, + 7, "INT" ], [ - 80, - 20, - 1, - 65, + 253, + 15, 0, - "INT" + 112, + 0, + "*" ], [ - 81, - 36, + 268, + 117, 0, - 66, + 105, 0, - "UPSCALE_MODEL" + "*" ], [ - 82, - 37, - 0, - 67, + 269, + 12, 0, - "UPSCALE_MODEL" + 117, + 7, + "VAE" ], [ - 83, + 270, 46, 0, - 66, - 1, + 117, + 6, "IMAGE" ], [ - 84, - 46, + 272, + 106, 0, - 67, - 1, - "IMAGE" + 117, + 16, + "INT" ], [ - 86, - 66, + 273, + 107, 0, - 68, + 117, + 17, + "INT" + ], + [ + 274, + 10, 0, - "IMAGE" + 117, + 0, + "MODEL" ], [ - 87, - 67, + 275, + 27, 0, - 68, - 1, - "IMAGE" + 117, + 3, + "MODEL" ], [ - 88, - 46, + 277, + 102, 0, - 59, + 117, + 10, + "INT" + ], + [ + 278, + 34, 0, - "IMAGE" + 117, + 11, + "FLOAT" ], [ - 89, - 68, + 279, + 29, 0, - 69, + 117, + 12, + "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2" + ], + [ + 280, + 30, 0, - "IMAGE" + 117, + 13, + "normal,karras,exponential,simple,ddim_uniform" ], [ - 90, - 69, + 281, + 35, 0, - 63, + 117, + 14, + "FLOAT" + ], + [ + 282, + 100, 0, - "IMAGE" + 117, + 15, + "FLOAT" ], [ - 91, - 64, + 283, + 75, 0, - 69, + 117, 1, - "INT" + "CONDITIONING" ], [ - 92, - 65, + 284, + 76, 0, - 69, + 117, 2, - "INT" + "CONDITIONING" ], [ - 125, - 74, + 285, + 77, 0, - 51, + 117, + 4, + "CONDITIONING" + ], + [ + 286, + 78, 0, - "INT" + 117, + 5, + "CONDITIONING" ], [ - 126, - 74, + 287, + 110, 0, - 52, + 64, 0, "INT" ], [ - 127, - 74, + 288, + 109, 0, - 54, + 65, 0, "INT" ], [ - 128, - 74, + 289, + 112, 0, - 53, + 118, 0, "INT" ], [ - 131, - 43, - 0, - 82, + 290, + 118, 0, - "*" + 117, + 9, + "INT" ], [ - 132, - 82, + 291, + 69, 0, - 75, - 2, - "FLOAT" + 119, + 0, + "*" ], [ - 134, - 82, + 296, + 121, 0, - 77, - 2, - "FLOAT" + 115, + 0, + "IMAGE" ], [ - 137, - 75, + 297, + 117, 0, - 28, - 1, - "CONDITIONING" + 123, + 0, + "*" ], [ - 138, - 77, + 298, + 124, 0, - 28, - 4, - "CONDITIONING" + 63, + 0, + "IMAGE" ], [ - 139, - 41, - 0, - 75, + 307, + 37, 0, - "CONDITIONING" + 117, + 8, + "UPSCALE_MODEL" ], [ - 140, + 324, 40, 0, 75, @@ -4301,31 +5870,15 @@ "CONDITIONING" ], [ - 141, + 325, 40, 1, 76, - 0, - "CONDITIONING" - ], - [ - 142, - 41, - 1, - 76, 1, "CONDITIONING" ], [ - 143, - 42, - 0, - 77, - 0, - "CONDITIONING" - ], - [ - 144, + 326, 40, 2, 77, @@ -4333,116 +5886,92 @@ "CONDITIONING" ], [ - 145, + 327, 40, 3, 78, - 0, + 1, "CONDITIONING" ], [ - 146, + 328, 42, 1, 78, - 1, - "CONDITIONING" - ], - [ - 148, - 84, 0, - 85, - 0, - "*" + "CONDITIONING" ], [ - 149, - 85, + 329, + 42, 0, - 76, - 2, - "FLOAT" - ], - [ - 150, - 85, + 77, 0, - 78, - 2, - "FLOAT" + "CONDITIONING" ], [ - 151, + 330, + 41, + 1, 76, 0, - 28, - 2, "CONDITIONING" ], [ - 152, - 78, + 331, + 41, + 0, + 75, 0, - 28, - 5, "CONDITIONING" ], [ - 153, - 83, + 346, + 90, 0, - 28, - 13, - "FLOAT" + 130, + 1, + "INT" ], [ - 155, + 347, 91, 0, - 28, - 6, - "LATENT" + 130, + 2, + "INT" ], [ - 156, - 12, + 348, + 128, 0, - 91, - 1, - "VAE" - ], - [ - 157, - 20, + 130, 0, - 92, - 1, - "INT" + "IMAGE" ], [ - 159, - 20, - 1, - 92, - 2, - "INT" + 349, + 131, + 0, + 28, + 6, + "LATENT" ], [ - 161, - 86, + 350, + 130, 0, - 92, + 131, 0, "IMAGE" ], [ - 162, - 92, - 0, - 91, + 351, + 12, 0, - "IMAGE" + 131, + 1, + "VAE" ] ], "groups": [], diff --git a/example/Searge-SDXL-img2img.png b/example/Searge-SDXL-img2img.png index 7a7378c..edbe511 100644 Binary files a/example/Searge-SDXL-img2img.png and b/example/Searge-SDXL-img2img.png differ diff --git a/example/Searge-SDXL-inpaint.json b/example/Searge-SDXL-inpaint.json index a8dbfaa..c2eaaab 100644 --- a/example/Searge-SDXL-inpaint.json +++ b/example/Searge-SDXL-inpaint.json @@ -1,6 +1,6 @@ { - "last_node_id": 99, - "last_link_id": 174, + "last_node_id": 137, + "last_link_id": 362, "nodes": [ { "id": 3, @@ -35,7 +35,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "miniature figures as a realistic depictions of everyday life in a small mining town, the streets are bustling with people" + "the head of a daring astronaut in a space suit with helmet" ], "color": "#232", "bgcolor": "#353" @@ -72,7 +72,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "miniature figures, realistic, everyday life, small mining town, bustling people" + "head of daring astronaut, space suit, helmet, style of Edward Blair Wilkins and Angus McKie" ], "color": "#2a363b", "bgcolor": "#3f5159" @@ -105,12 +105,12 @@ "shape": 3 } ], - "title": "Style and References", + "title": "Style", "properties": { "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "~*~cinematic~*~ photo of abstraction, 35mm photograph, vibrant rusted dieselpunk, style of Brooke Shaden" + "~*~photographic~*~ cinematic photo, 35mm photograph, film, professional, detailed photo, intricate detail, portrait" ], "color": "#223", "bgcolor": "#335" @@ -149,7 +149,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "drawing, painting, crayon, sketch" + "jpeg artifacts, noise, blurry" ], "color": "#322", "bgcolor": "#533" @@ -187,7 +187,7 @@ "Node name for S&R": "SeargePromptText" }, "widgets_values": [ - "noisy, blurry, soft, deformed" + "drawing, painting, cartoon, anime, impressionist, soft, ugly" ], "color": "#332922", "bgcolor": "#593930" @@ -232,8 +232,8 @@ "title": "Seed", "properties": {}, "widgets_values": [ - 1468615445735, - "fixed" + 3230334428, + "randomize" ], "color": "#432", "bgcolor": "#653" @@ -259,24 +259,26 @@ "name": "value 1", "type": "INT", "links": [ - 79, - 165 + 168, + 236 ], "shape": 3, - "label": "1 - width" + "label": "1 - width", + "slot_index": 0 }, { "name": "value 2", "type": "INT", "links": [ - 80, - 168 + 169, + 234 ], "shape": 3, - "label": "2 - height" + "label": "2 - height", + "slot_index": 1 } ], - "title": "Image Resolution", + "title": "Base Resolution", "properties": { "Node name for S&R": "SeargeIntegerPair" }, @@ -309,7 +311,8 @@ "name": "COMBO", "type": "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2", "links": [ - 6 + 6, + 279 ], "widget": { "name": "sampler_name", @@ -337,13 +340,14 @@ "default": "dpmpp_2m" } ] - } + }, + "label": "sampler" } ], "title": "Sampler", "properties": {}, "widgets_values": [ - "dpmpp_2m", + "ddim", "fixed" ], "color": "#232", @@ -370,7 +374,8 @@ "name": "COMBO", "type": "normal,karras,exponential,simple,ddim_uniform", "links": [ - 7 + 7, + 280 ], "widget": { "name": "scheduler", @@ -386,13 +391,14 @@ "default": "karras" } ] - } + }, + "label": "scheduler" } ], "title": "Scheduler", "properties": {}, "widgets_values": [ - "karras", + "ddim_uniform", "fixed" ], "color": "#232", @@ -479,7 +485,7 @@ "Node name for S&R": "SeargeIntegerConstant" }, "widgets_values": [ - 30 + 25 ], "color": "#432", "bgcolor": "#653" @@ -512,7 +518,7 @@ "label": "upscale by" } ], - "title": "High Resolution Scale Factor", + "title": "Upscaler Resolution Scale Factor", "properties": { "Node name for S&R": "SeargeFloatConstant" }, @@ -536,13 +542,13 @@ "flags": { "pinned": true }, - "order": 61, + "order": 84, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 34, + "link": 225, "slot_index": 0 } ], @@ -573,16 +579,17 @@ "name": "MODEL", "type": "MODEL", "links": [ - 68 + 184, + 274 ], - "shape": 3 + "shape": 3, + "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ - 29, - 30 + 182 ], "shape": 3, "slot_index": 1 @@ -625,9 +632,11 @@ "name": "MODEL", "type": "MODEL", "links": [ - 69 + 69, + 275 ], - "shape": 3 + "shape": 3, + "slot_index": 0 }, { "name": "CLIP", @@ -677,7 +686,8 @@ "type": "VAE", "links": [ 33, - 156 + 269, + 351 ], "shape": 3, "slot_index": 0 @@ -714,7 +724,8 @@ "name": "value", "type": "FLOAT", "links": [ - 10 + 10, + 278 ], "shape": 3, "label": "cfg" @@ -725,7 +736,7 @@ "Node name for S&R": "SeargeFloatConstant" }, "widgets_values": [ - 6 + 8 ], "color": "#432", "bgcolor": "#653" @@ -751,7 +762,8 @@ "name": "value", "type": "FLOAT", "links": [ - 9 + 9, + 281 ], "shape": 3, "label": "base ratio", @@ -765,8 +777,8 @@ "widgets_values": [ 0.8 ], - "color": "#432", - "bgcolor": "#653" + "color": "#332922", + "bgcolor": "#593930" }, { "id": 38, @@ -790,18 +802,18 @@ "type": "INT", "links": [], "shape": 3, - "label": "batch size" + "label": "images per batch" } ], - "title": "Batch Size", + "title": "Batch Size - unused", "properties": { "Node name for S&R": "SeargeIntegerConstant" }, "widgets_values": [ 1 ], - "color": "#233", - "bgcolor": "#355" + "color": "#222", + "bgcolor": "#000" }, { "id": 43, @@ -837,8 +849,8 @@ "widgets_values": [ 0.333 ], - "color": "#223", - "bgcolor": "#335" + "color": "#232", + "bgcolor": "#353" }, { "id": 51, @@ -854,13 +866,13 @@ "flags": { "pinned": true }, - "order": 33, + "order": 48, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 125, + "link": 170, "widget": { "name": "value", "config": [ @@ -896,9 +908,12 @@ "name": "value", "type": "INT", "links": [ - 56 + 210, + 211 ], - "shape": 3 + "shape": 3, + "label": "width", + "slot_index": 0 } ], "title": "Base Width Scaler", @@ -927,13 +942,13 @@ "flags": { "pinned": true }, - "order": 34, + "order": 52, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 126, + "link": 172, "widget": { "name": "value", "config": [ @@ -969,9 +984,12 @@ "name": "value", "type": "INT", "links": [ - 57 + 212, + 213 ], - "shape": 3 + "shape": 3, + "label": "height", + "slot_index": 0 } ], "title": "Base Height Scaler", @@ -1000,13 +1018,13 @@ "flags": { "pinned": true }, - "order": 35, + "order": 49, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 127, + "link": 171, "widget": { "name": "value", "config": [ @@ -1042,9 +1060,12 @@ "name": "value", "type": "INT", "links": [ - 58 + 214, + 215 ], - "shape": 3 + "shape": 3, + "label": "width", + "slot_index": 0 } ], "title": "Refiner Width Scaler", @@ -1073,13 +1094,13 @@ "flags": { "pinned": true }, - "order": 36, + "order": 53, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 128, + "link": 173, "widget": { "name": "value", "config": [ @@ -1115,9 +1136,12 @@ "name": "value", "type": "INT", "links": [ - 59 + 216, + 217 ], - "shape": 3 + "shape": 3, + "label": "height", + "slot_index": 0 } ], "title": "Refiner Height Scaler", @@ -1132,181 +1156,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 49, - "type": "Reroute", - "pos": [ - 320, - 1540 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 40, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 56, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 40, - 41, - 42, - 43 - ] - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#232", - "bgcolor": "#353" - }, - { - "id": 47, - "type": "Reroute", - "pos": [ - 320, - 1790 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 42, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 58, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 35, - 38 - ], - "slot_index": 0 - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 50, - "type": "Reroute", - "pos": [ - 320, - 1660 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 41, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 57, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 44, - 45, - 46, - 47 - ], - "slot_index": 0 - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#232", - "bgcolor": "#353" - }, - { - "id": 48, - "type": "Reroute", - "pos": [ - 320, - 1910 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 43, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 59, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "INT", - "links": [ - 37, - 39 - ], - "slot_index": 0 - } - ], - "title": "Test", - "properties": { - "showOutputText": false, - "horizontal": false - }, - "color": "#2a363b", - "bgcolor": "#3f5159" - }, { "id": 41, "type": "SeargeSDXLBasePromptEncoder", @@ -1321,13 +1170,13 @@ "flags": { "pinned": true }, - "order": 46, + "order": 59, "mode": 0, "inputs": [ { "name": "base_clip", "type": "CLIP", - "link": 30, + "link": 180, "slot_index": 0 }, { @@ -1397,7 +1246,7 @@ { "name": "base_width", "type": "INT", - "link": 40, + "link": 211, "widget": { "name": "base_width", "config": [ @@ -1415,7 +1264,7 @@ { "name": "base_height", "type": "INT", - "link": 45, + "link": 213, "widget": { "name": "base_height", "config": [ @@ -1433,7 +1282,7 @@ { "name": "target_width", "type": "INT", - "link": 41, + "link": 176, "widget": { "name": "target_width", "config": [ @@ -1451,7 +1300,7 @@ { "name": "target_height", "type": "INT", - "link": 46, + "link": 177, "widget": { "name": "target_height", "config": [ @@ -1473,7 +1322,7 @@ "type": "CONDITIONING", "links": [ 64, - 139 + 331 ], "shape": 3, "slot_index": 0 @@ -1483,7 +1332,7 @@ "type": "CONDITIONING", "links": [ 65, - 142 + 330 ], "shape": 3, "slot_index": 1 @@ -1522,7 +1371,7 @@ "flags": { "pinned": true }, - "order": 47, + "order": 61, "mode": 0, "inputs": [ { @@ -1566,7 +1415,7 @@ { "name": "refiner_width", "type": "INT", - "link": 35, + "link": 215, "widget": { "name": "refiner_width", "config": [ @@ -1583,7 +1432,7 @@ { "name": "refiner_height", "type": "INT", - "link": 37, + "link": 217, "widget": { "name": "refiner_height", "config": [ @@ -1605,7 +1454,7 @@ "type": "CONDITIONING", "links": [ 66, - 143 + 329 ], "shape": 3, "slot_index": 0 @@ -1615,7 +1464,7 @@ "type": "CONDITIONING", "links": [ 67, - 146 + 328 ], "shape": 3, "slot_index": 1 @@ -1650,13 +1499,13 @@ "flags": { "pinned": true }, - "order": 48, + "order": 60, "mode": 0, "inputs": [ { "name": "base_clip", "type": "CLIP", - "link": 29 + "link": 181 }, { "name": "refiner_clip", @@ -1757,7 +1606,7 @@ { "name": "base_width", "type": "INT", - "link": 42, + "link": 210, "widget": { "name": "base_width", "config": [ @@ -1775,7 +1624,7 @@ { "name": "base_height", "type": "INT", - "link": 44, + "link": 212, "widget": { "name": "base_height", "config": [ @@ -1793,7 +1642,7 @@ { "name": "target_width", "type": "INT", - "link": 43, + "link": 174, "widget": { "name": "target_width", "config": [ @@ -1811,7 +1660,7 @@ { "name": "target_height", "type": "INT", - "link": 47, + "link": 175, "widget": { "name": "target_height", "config": [ @@ -1829,7 +1678,7 @@ { "name": "refiner_width", "type": "INT", - "link": 38, + "link": 214, "widget": { "name": "refiner_width", "config": [ @@ -1846,7 +1695,7 @@ { "name": "refiner_height", "type": "INT", - "link": 39, + "link": 216, "widget": { "name": "refiner_height", "config": [ @@ -1868,7 +1717,7 @@ "type": "CONDITIONING", "links": [ 60, - 140 + 324 ], "shape": 3, "slot_index": 0 @@ -1878,7 +1727,7 @@ "type": "CONDITIONING", "links": [ 61, - 141 + 325 ], "shape": 3, "slot_index": 1 @@ -1888,7 +1737,7 @@ "type": "CONDITIONING", "links": [ 62, - 144 + 326 ], "shape": 3, "slot_index": 2 @@ -1898,7 +1747,7 @@ "type": "CONDITIONING", "links": [ 63, - 145 + 327 ], "shape": 3, "slot_index": 3 @@ -1943,7 +1792,7 @@ "flags": { "pinned": true }, - "order": 50, + "order": 64, "mode": 0, "inputs": [ { @@ -1987,7 +1836,7 @@ "flags": { "pinned": true }, - "order": 52, + "order": 66, "mode": 0, "inputs": [ { @@ -2031,7 +1880,7 @@ "flags": { "pinned": true }, - "order": 54, + "order": 68, "mode": 0, "inputs": [ { @@ -2075,7 +1924,7 @@ "flags": { "pinned": true }, - "order": 56, + "order": 70, "mode": 0, "inputs": [ { @@ -2114,24 +1963,24 @@ ], "size": { "0": 350, - "1": 300 + "1": 318 }, "flags": { "pinned": true }, - "order": 59, + "order": 73, "mode": 0, "inputs": [ { "name": "base_model", "type": "MODEL", - "link": 68, + "link": 183, "slot_index": 0 }, { "name": "base_positive", "type": "CONDITIONING", - "link": 137, + "link": 202, "slot_index": 1 }, { @@ -2149,25 +1998,25 @@ { "name": "refiner_positive", "type": "CONDITIONING", - "link": 138, + "link": 205, "slot_index": 4 }, { "name": "refiner_negative", "type": "CONDITIONING", - "link": 152, + "link": 206, "slot_index": 5 }, { "name": "latent_image", "type": "LATENT", - "link": 164, + "link": 361, "slot_index": 6 }, { "name": "noise_seed", "type": "INT", - "link": 12, + "link": 252, "widget": { "name": "noise_seed", "config": [ @@ -2305,6 +2154,23 @@ ] }, "slot_index": 13 + }, + { + "name": "refiner_prep_steps", + "type": "INT", + "link": 207, + "widget": { + "name": "refiner_prep_steps", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 1000 + } + ] + }, + "slot_index": 14 } ], "outputs": [ @@ -2322,14 +2188,15 @@ "Node name for S&R": "SeargeSDXLSampler" }, "widgets_values": [ - 262626950775377, + 570547406209885, "randomize", 30, 7, - "dpmpp_2m", - "karras", + "ddim", + "ddim_uniform", 0.8, - 1 + 1, + 0 ], "color": "#223", "bgcolor": "#335" @@ -2348,7 +2215,7 @@ "flags": { "pinned": true }, - "order": 60, + "order": 74, "mode": 0, "inputs": [ { @@ -2368,10 +2235,8 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 34, - 83, - 84, - 88 + 244, + 270 ], "shape": 3, "slot_index": 0 @@ -2397,13 +2262,13 @@ "flags": { "pinned": true }, - "order": 31, + "order": 51, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 79, + "link": 287, "widget": { "name": "value", "config": [ @@ -2442,7 +2307,8 @@ 91 ], "shape": 3, - "slot_index": 0 + "slot_index": 0, + "label": "width" } ], "title": "Upscaled Image Width", @@ -2471,13 +2337,13 @@ "flags": { "pinned": true }, - "order": 30, + "order": 56, "mode": 0, "inputs": [ { "name": "value", "type": "INT", - "link": 80, + "link": 288, "widget": { "name": "value", "config": [ @@ -2515,7 +2381,8 @@ "links": [ 92 ], - "shape": 3 + "shape": 3, + "label": "height" } ], "title": "Upscaled Image Height", @@ -2544,7 +2411,7 @@ "flags": { "pinned": true }, - "order": 62, + "order": 80, "mode": 0, "inputs": [ { @@ -2556,7 +2423,7 @@ { "name": "image", "type": "IMAGE", - "link": 83, + "link": 245, "slot_index": 1 } ], @@ -2591,7 +2458,7 @@ "flags": { "pinned": true }, - "order": 63, + "order": 81, "mode": 0, "inputs": [ { @@ -2603,7 +2470,7 @@ { "name": "image", "type": "IMAGE", - "link": 84, + "link": 246, "slot_index": 1 } ], @@ -2625,213 +2492,22 @@ "bgcolor": "#335" }, { - "id": 69, - "type": "ImageScale", + "id": 36, + "type": "UpscaleModelLoader", "pos": [ - 2690, - 550 + 480, + 970 ], "size": { - "0": 320, - "1": 130 + "0": 327.6000061035156, + "1": 60 }, "flags": { "pinned": true }, - "order": 66, + "order": 19, "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 89 - }, - { - "name": "width", - "type": "INT", - "link": 91, - "widget": { - "name": "width", - "config": [ - "INT", - { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 - } - ] - } - }, - { - "name": "height", - "type": "INT", - "link": 92, - "widget": { - "name": "height", - "config": [ - "INT", - { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 - } - ] - }, - "slot_index": 2 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 90 - ], - "shape": 3, - "slot_index": 0 - } - ], - "title": "Scale to Target Size", - "properties": { - "Node name for S&R": "ImageScale" - }, - "widgets_values": [ - "bicubic", - 512, - 512, - "center" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 68, - "type": "ImageBlend", - "pos": [ - 2690, - 720 - ], - "size": { - "0": 320, - "1": 102 - }, - "flags": { - "pinned": true - }, - "order": 65, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 86, - "slot_index": 0 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 87, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 89 - ], - "shape": 3, - "slot_index": 0 - } - ], - "title": "Mix Upscaled Images", - "properties": { - "Node name for S&R": "ImageBlend" - }, - "widgets_values": [ - 0.75, - "normal" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 63, - "type": "SaveImage", - "pos": [ - 3100, - 330 - ], - "size": { - "0": 420, - "1": 470 - }, - "flags": { - "pinned": true - }, - "order": 67, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 90 - } - ], - "properties": {}, - "widgets_values": [ - "SeargeSDXL-ip-%date:yyyy-MM-dd%/high_res" - ] - }, - { - "id": 59, - "type": "SaveImage", - "pos": [ - 3100, - 1240 - ], - "size": { - "0": 420, - "1": 470 - }, - "flags": { - "pinned": true - }, - "order": 64, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 88, - "slot_index": 0 - } - ], - "properties": {}, - "widgets_values": [ - "SeargeSDXL-ip-%date:yyyy-MM-dd%/low_res" - ] - }, - { - "id": 36, - "type": "UpscaleModelLoader", - "pos": [ - 480, - 970 - ], - "size": { - "0": 320, - "1": 60 - }, - "flags": { - "pinned": true - }, - "order": 19, - "mode": 0, - "outputs": [ + "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", @@ -2872,9 +2548,11 @@ "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ - 82 + 82, + 307 ], - "shape": 3 + "shape": 3, + "slot_index": 0 } ], "title": "Supporting Upscale Model", @@ -2887,46 +2565,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 74, - "type": "SeargeIntegerConstant", - "pos": [ - -500, - 1750 - ], - "size": { - "0": 250, - "1": 58 - }, - "flags": { - "pinned": true - }, - "order": 21, - "mode": 0, - "outputs": [ - { - "name": "value", - "type": "INT", - "links": [ - 125, - 126, - 127, - 128 - ], - "shape": 3, - "slot_index": 0 - } - ], - "title": "Conditioning Size Base", - "properties": { - "Node name for S&R": "SeargeIntegerConstant" - }, - "widgets_values": [ - 1024 - ], - "color": "#222", - "bgcolor": "#000" - }, { "id": 75, "type": "ConditioningAverage ", @@ -2941,18 +2579,19 @@ "flags": { "pinned": true }, - "order": 51, + "order": 65, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 139 + "link": 331, + "slot_index": 0 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 140 + "link": 324 }, { "name": "conditioning_to_strength", @@ -2978,7 +2617,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 137 + 202, + 283 ], "shape": 3, "label": "base +", @@ -3008,18 +2648,19 @@ "flags": { "pinned": true }, - "order": 53, + "order": 67, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 141 + "link": 330, + "slot_index": 0 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 142 + "link": 325 }, { "name": "conditioning_to_strength", @@ -3045,7 +2686,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 151 + 151, + 284 ], "shape": 3, "label": "base -", @@ -3075,18 +2717,19 @@ "flags": { "pinned": true }, - "order": 55, + "order": 69, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 143 + "link": 329, + "slot_index": 0 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 144 + "link": 326 }, { "name": "conditioning_to_strength", @@ -3112,7 +2755,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 138 + 205, + 285 ], "shape": 3, "label": "refiner +", @@ -3142,18 +2786,18 @@ "flags": { "pinned": true }, - "order": 57, + "order": 71, "mode": 0, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 145 + "link": 328 }, { "name": "conditioning_from", "type": "CONDITIONING", - "link": 146 + "link": 327 }, { "name": "conditioning_to_strength", @@ -3179,7 +2823,8 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 152 + 206, + 286 ], "shape": 3, "label": "refiner -", @@ -3209,14 +2854,15 @@ "flags": { "pinned": true }, - "order": 32, + "order": 41, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 131, - "slot_index": 0 + "slot_index": 0, + "label": "style +" } ], "outputs": [ @@ -3232,7 +2878,9 @@ "properties": { "showOutputText": false, "horizontal": false - } + }, + "color": "#232", + "bgcolor": "#353" }, { "id": 83, @@ -3248,7 +2896,7 @@ "flags": { "pinned": true }, - "order": 22, + "order": 21, "mode": 0, "outputs": [ { @@ -3258,7 +2906,7 @@ 153 ], "shape": 3, - "label": "base ratio", + "label": "denoise", "slot_index": 0 } ], @@ -3267,7 +2915,7 @@ "Node name for S&R": "SeargeFloatConstant" }, "widgets_values": [ - 0.75 + 0.2 ], "color": "#432", "bgcolor": "#653" @@ -3286,7 +2934,7 @@ "flags": { "pinned": true }, - "order": 23, + "order": 22, "mode": 0, "outputs": [ { @@ -3306,57 +2954,32 @@ "widgets_values": [ 0.667 ], - "color": "#332922", - "bgcolor": "#593930" + "color": "#322", + "bgcolor": "#533" }, { - "id": 45, - "type": "Note", + "id": 85, + "type": "Reroute", "pos": [ - 480, - 650 + 1030, + 2320 + ], + "size": [ + 75, + 26 ], - "size": { - "0": 630, - "1": 290 - }, "flags": { "pinned": true }, - "order": 24, - "mode": 0, - "title": "Workflow Information", - "properties": { - "text": "" - }, - "widgets_values": [ - "\nImproved Searge SDXL workflow for SDXL 1.0 - INPAINTING - created on Jul 27, 2023\n\nTo use this workflow, set up ComfyUI like this:\n\n- Install the Searge SDXL custom node extension from https://github.com/SeargeDP/SeargeSDXL\n - open the command line in directory: ComfyUI/custom_nodes\n - run the command: git clone https://github.com/SeargeDP/SeargeSDXL.git\n - restart ComfyUI\n\nSDXL 1.0 base:\n https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors\nSDXL 1.0 refiner:\n https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors\n\nSDXL 0.9 vae: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl_vae.safetensors\n4x-UltraSharp upscaler: https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x-UltraSharp.pth\n4x_NMKD-Siax_200k upscaler: https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x_NMKD-Siax_200k.pth\n\nImage sizes that are \"ideal\" for different aspect ratios:\n | 1024x1024 | 1152x896 | 896x1152 | 1216x832 | 832x1216 | 1344x768 | 768x1344 | 1536x640 | 640x1536 |" - ], - "color": "#323", - "bgcolor": "#535" - }, - { - "id": 85, - "type": "Reroute", - "pos": [ - 1030, - 2320 - ], - "size": [ - 75, - 26 - ], - "flags": { - "pinned": true - }, - "order": 37, + "order": 42, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 148, - "slot_index": 0 + "slot_index": 0, + "label": "style -" } ], "outputs": [ @@ -3373,7 +2996,9 @@ "properties": { "showOutputText": false, "horizontal": false - } + }, + "color": "#322", + "bgcolor": "#533" }, { "id": 15, @@ -3389,7 +3014,7 @@ "flags": { "pinned": true }, - "order": 27, + "order": 36, "mode": 0, "inputs": [ { @@ -3416,10 +3041,11 @@ "name": "value", "type": "INT", "links": [ - 12 + 253 ], "shape": 3, - "label": "seed" + "label": "seed", + "slot_index": 0 } ], "title": "Seed pass-through", @@ -3427,393 +3053,476 @@ "Node name for S&R": "SeargeIntegerConstant" }, "widgets_values": [ - 1468615445735 + 3230334428 ], "color": "#222", "bgcolor": "#000" }, { "id": 86, - "type": "LoadImage", + "type": "PreviewImage", "pos": [ - -350, - 50 + 50, + -900 ], "size": { - "0": 370, - "1": 470 + "0": 1550, + "1": 850 }, "flags": { "pinned": true }, - "order": 25, + "order": 83, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 161 - ], - "shape": 3 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 + "link": 224, + "slot_index": 0 } ], - "title": "Source Image", + "title": "Horizontal Preview Image", "properties": { - "Node name for S&R": "LoadImage" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "example.png", - "image" - ], - "color": "#432", - "bgcolor": "#653" + "color": "#222", + "bgcolor": "#000" }, { - "id": 89, - "type": "LoadImage", + "id": 90, + "type": "Reroute", "pos": [ - -350, - 560 + -150, + 1450 + ], + "size": [ + 75, + 26 ], - "size": { - "0": 370, - "1": 470 - }, "flags": { "pinned": true }, - "order": 26, + "order": 37, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "IMAGE", - "type": "IMAGE", - "links": null, - "shape": 3 - }, + "name": "", + "type": "*", + "link": 168, + "label": "width" + } + ], + "outputs": [ { - "name": "MASK", - "type": "MASK", + "name": "", + "type": "INT", "links": [ - 174 + 170, + 171, + 174, + 176, + 346, + 358 ], - "shape": 3 + "slot_index": 0 } ], - "title": "Inpainting Mask - right click -> MaskEditor", "properties": { - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image" - ], - "color": "#232", - "bgcolor": "#353" + "showOutputText": false, + "horizontal": false + } }, { "id": 91, - "type": "VAEEncode", + "type": "Reroute", "pos": [ - 1410, - 1340 + -150, + 1500 + ], + "size": [ + 75, + 26 ], - "size": { - "0": 290, - "1": 100 - }, "flags": { "pinned": true }, - "order": 45, + "order": 39, "mode": 0, "inputs": [ { - "name": "pixels", - "type": "IMAGE", - "link": 162, - "slot_index": 0 - }, - { - "name": "vae", - "type": "VAE", - "link": 156 + "name": "", + "type": "*", + "link": 169, + "label": "height" } ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "", + "type": "INT", "links": [ - 163 + 172, + 173, + 175, + 177, + 347, + 359 ], - "shape": 3, "slot_index": 0 } ], "properties": { - "Node name for S&R": "VAEEncode" - }, - "color": "#323", - "bgcolor": "#535" + "showOutputText": false, + "horizontal": false + } }, { "id": 92, - "type": "ImageScale", + "type": "LoraLoader", "pos": [ - 810, - 2440 + 480, + 1160 ], "size": { - "0": 300, - "1": 122 + "0": 630, + "1": 120 }, "flags": { "pinned": true }, - "order": 39, + "order": 43, "mode": 0, "inputs": [ { - "name": "image", - "type": "IMAGE", - "link": 161 + "name": "model", + "type": "MODEL", + "link": 184 }, { - "name": "width", - "type": "INT", - "link": 166, + "name": "clip", + "type": "CLIP", + "link": 182 + }, + { + "name": "strength_model", + "type": "FLOAT", + "link": 208, "widget": { - "name": "width", + "name": "strength_model", "config": [ - "INT", + "FLOAT", { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 + "default": 1, + "min": -10, + "max": 10, + "step": 0.01 } ] - } + }, + "slot_index": 2 }, { - "name": "height", - "type": "INT", - "link": 169, + "name": "strength_clip", + "type": "FLOAT", + "link": 220, "widget": { - "name": "height", + "name": "strength_clip", "config": [ - "INT", + "FLOAT", { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 + "default": 1, + "min": -10, + "max": 10, + "step": 0.01 } ] } + }, + { + "name": "lora_name", + "type": "sd_xl_offset_example-lora_1.0.safetensors", + "link": 221, + "widget": { + "name": "lora_name", + "config": [ + [ + "sd_xl_offset_example-lora_1.0.safetensors" + ] + ] + }, + "slot_index": 4 } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "MODEL", + "type": "MODEL", "links": [ - 162 + 183 ], "shape": 3, "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 180, + 181 + ], + "shape": 3, + "slot_index": 1 } ], "properties": { - "Node name for S&R": "ImageScale" + "Node name for S&R": "LoraLoader" }, "widgets_values": [ - "bicubic", - 512, - 512, - "center" + "sd_xl_offset_example-lora_1.0.safetensors", + 0, + 0 ], "color": "#223", "bgcolor": "#335" }, { - "id": 93, - "type": "SetLatentNoiseMask", + "id": 99, + "type": "PrimitiveNode", "pos": [ - 2010, - 1690 + 900, + 650 ], "size": { - "0": 350, - "1": 60 + "0": 210, + "1": 82 }, "flags": { "pinned": true }, - "order": 58, + "order": 23, "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 163 - }, - { - "name": "mask", - "type": "MASK", - "link": 171 - } - ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "COMBO", + "type": "sd_xl_offset_example-lora_1.0.safetensors", "links": [ - 164 + 221 ], - "shape": 3, - "slot_index": 0 + "widget": { + "name": "lora_name", + "config": [ + [ + "sd_xl_offset_example-lora_1.0.safetensors" + ] + ] + }, + "label": "LORA_MODEL" } ], - "properties": { - "Node name for S&R": "SetLatentNoiseMask" - }, - "color": "#323", - "bgcolor": "#535" + "title": "LoRA Model", + "properties": {}, + "widgets_values": [ + "sd_xl_offset_example-lora_1.0.safetensors", + "fixed" + ], + "color": "#332922", + "bgcolor": "#593930" }, { - "id": 94, - "type": "ImageScale", + "id": 98, + "type": "SeargeFloatConstant", "pos": [ - 810, - 2600 + 690, + 650 ], "size": { - "0": 300, - "1": 122 + "0": 210, + "1": 80 }, "flags": { "pinned": true }, - "order": 44, + "order": 24, "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 173 - }, + "outputs": [ { - "name": "width", - "type": "INT", - "link": 167, - "widget": { - "name": "width", - "config": [ - "INT", - { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 - } - ] - } - }, + "name": "value", + "type": "FLOAT", + "links": [ + 208, + 220 + ], + "shape": 3, + "label": "weight", + "slot_index": 0 + } + ], + "title": "LoRA Weight", + "properties": { + "Node name for S&R": "SeargeFloatConstant" + }, + "widgets_values": [ + 0 + ], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 95, + "type": "SeargeIntegerConstant", + "pos": [ + 480, + 650 + ], + "size": { + "0": 210, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 25, + "mode": 0, + "outputs": [ { - "name": "height", + "name": "value", "type": "INT", - "link": 170, - "widget": { - "name": "height", - "config": [ - "INT", - { - "default": 512, - "min": 1, - "max": 8192, - "step": 1 - } - ] - } + "links": [ + 207 + ], + "shape": 3, + "label": "steps" } ], + "title": "Preconditioning Steps", + "properties": { + "Node name for S&R": "SeargeIntegerConstant" + }, + "widgets_values": [ + 0 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 101, + "type": "SeargeFloatConstant", + "pos": [ + 900, + 760 + ], + "size": { + "0": 210, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 26, + "mode": 0, "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "value", + "type": "FLOAT", "links": [ - 172 + 232, + 233 ], "shape": 3, - "slot_index": 0 + "label": "upscale by" } ], + "title": "...with inpainting", "properties": { - "Node name for S&R": "ImageScale" + "Node name for S&R": "SeargeFloatConstant" }, "widgets_values": [ - "bicubic", - 512, - 512, - "center" + 1.5 ], - "color": "#2a363b", - "bgcolor": "#3f5159" + "color": "#222", + "bgcolor": "#000" }, { - "id": 96, - "type": "Reroute", + "id": 100, + "type": "SeargeFloatConstant", "pos": [ - 330, - 2310 - ], - "size": [ - 75, - 26 + 690, + 760 ], + "size": { + "0": 210, + "1": 60 + }, "flags": { "pinned": true }, - "order": 28, + "order": 27, "mode": 0, - "inputs": [ + "outputs": [ { - "name": "", - "type": "*", - "link": 165 + "name": "value", + "type": "FLOAT", + "links": [ + 282 + ], + "shape": 3, + "label": "hires fix denoise" } ], + "title": "HiRes Fix doesn't work...", + "properties": { + "Node name for S&R": "SeargeFloatConstant" + }, + "widgets_values": [ + 0.15 + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 102, + "type": "SeargeIntegerConstant", + "pos": [ + 480, + 760 + ], + "size": { + "0": 210, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 28, + "mode": 0, "outputs": [ { - "name": "", + "name": "value", "type": "INT", "links": [ - 166, - 167 + 277 ], - "slot_index": 0 + "shape": 3, + "label": "steps" } ], + "title": "HiRes Fix Steps | keep at 0", "properties": { - "showOutputText": false, - "horizontal": false - } + "Node name for S&R": "SeargeIntegerConstant" + }, + "widgets_values": [ + 0 + ], + "color": "#222", + "bgcolor": "#000" }, { - "id": 97, + "id": 104, "type": "Reroute", "pos": [ - 330, - 2350 + -120, + -970 ], "size": [ 75, @@ -3822,22 +3531,24 @@ "flags": { "pinned": true }, - "order": 29, + "order": 79, "mode": 0, "inputs": [ { "name": "", "type": "*", - "link": 168 + "link": 226, + "label": "image" } ], "outputs": [ { "name": "", - "type": "INT", + "type": "IMAGE", "links": [ - 169, - 170 + 223, + 224, + 225 ], "slot_index": 0 } @@ -3845,744 +3556,2567 @@ "properties": { "showOutputText": false, "horizontal": false - } + }, + "color": "#223", + "bgcolor": "#335" }, { - "id": 98, - "type": "ImageToMask", + "id": 59, + "type": "SaveImage", "pos": [ - 1400, - 2530 + 2300, + -270 ], "size": { - "0": 300, - "1": 60 + "0": 420, + "1": 470 }, "flags": { "pinned": true }, - "order": 49, + "order": 75, "mode": 0, "inputs": [ { - "name": "image", + "name": "images", "type": "IMAGE", - "link": 172 - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "links": [ - 171 - ], - "shape": 3, + "link": 244, "slot_index": 0 } ], - "properties": { - "Node name for S&R": "ImageToMask" - }, + "title": "Save Generated Image", + "properties": {}, "widgets_values": [ - "green" - ], - "color": "#232", - "bgcolor": "#353" + "SeargeSDXL-t2i-%date:yyyy-MM-dd%/generated/gen" + ] }, { - "id": 99, - "type": "MaskToImage", + "id": 63, + "type": "SaveImage", "pos": [ - 100, - 2630 + 2800, + -270 ], "size": { - "0": 300, - "1": 30 + "0": 420, + "1": 470 }, "flags": { "pinned": true }, - "order": 38, + "order": 44, "mode": 0, "inputs": [ { - "name": "mask", - "type": "MASK", - "link": 174, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 173 - ], - "shape": 3, - "slot_index": 0 + "link": 298 } ], - "properties": { - "Node name for S&R": "MaskToImage" - }, - "color": "#223", - "bgcolor": "#335" - } - ], - "links": [ - [ - 1, - 16, - 0, - 15, + "title": "Save HiResFixed Image", + "properties": {}, + "widgets_values": [ + "SeargeSDXL-t2i-%date:yyyy-MM-dd%/hires/hrf" + ] + }, + { + "id": 106, + "type": "SeargeIntegerScaler", + "pos": [ + 2300, + 880 + ], + "size": { + "0": 230, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "INT", + "link": 238, + "widget": { + "name": "value", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 0 + }, + { + "name": "factor", + "type": "FLOAT", + "link": 233, + "widget": { + "name": "factor", + "config": [ + "FLOAT", + { + "default": 1, + "step": 0.01 + } + ] + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 272 + ], + "shape": 3, + "slot_index": 0, + "label": "width" + } + ], + "title": "HRF Image Width", + "properties": { + "Node name for S&R": "SeargeIntegerScaler" + }, + "widgets_values": [ + 0, + 1, + 64 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 107, + "type": "SeargeIntegerScaler", + "pos": [ + 2300, + 1000 + ], + "size": { + "0": 230, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "INT", + "link": 239, + "widget": { + "name": "value", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 0 + }, + { + "name": "factor", + "type": "FLOAT", + "link": 232, + "widget": { + "name": "factor", + "config": [ + "FLOAT", + { + "default": 1, + "step": 0.01 + } + ] + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 273 + ], + "shape": 3, + "label": "height", + "slot_index": 0 + } + ], + "title": "HRF Image Height", + "properties": { + "Node name for S&R": "SeargeIntegerScaler" + }, + "widgets_values": [ + 0, + 1, + 64 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 109, + "type": "Reroute", + "pos": [ + 2000, + 610 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 234, + "label": "height" + } + ], + "outputs": [ + { + "name": "", + "type": "INT", + "links": [ + 239, + 288 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 110, + "type": "Reroute", + "pos": [ + 2000, + 580 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 236, + "label": "width" + } + ], + "outputs": [ + { + "name": "", + "type": "INT", + "links": [ + 238, + 287 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 112, + "type": "Reroute", + "pos": [ + 1900, + 1700 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 253, + "label": "seed" + } + ], + "outputs": [ + { + "name": "", + "type": "INT", + "links": [ + 252, + 289 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 69, + "type": "ImageScale", + "pos": [ + 2700, + 530 + ], + "size": { + "0": 320, + "1": 130 + }, + "flags": { + "pinned": true + }, + "order": 86, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 89 + }, + { + "name": "width", + "type": "INT", + "link": 91, + "widget": { + "name": "width", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + } + }, + { + "name": "height", + "type": "INT", + "link": 92, + "widget": { + "name": "height", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 291 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "Scale to Target Size", + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "bicubic", + 512, + 512, + "center" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 68, + "type": "ImageBlend", + "pos": [ + 2700, + 730 + ], + "size": { + "0": 320, + "1": 102 + }, + "flags": { + "pinned": true + }, + "order": 85, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 86, + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 87, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 89 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "Mix Upscaled Images", + "properties": { + "Node name for S&R": "ImageBlend" + }, + "widgets_values": [ + 0.5, + "normal" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 115, + "type": "SaveImage", + "pos": [ + 3300, + -270 + ], + "size": { + "0": 420, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 296, + "slot_index": 0 + } + ], + "title": "Save Upscaled Image", + "properties": {}, + "widgets_values": [ + "SeargeSDXL-t2i-%date:yyyy-MM-dd%/upscaled/up" + ] + }, + { + "id": 45, + "type": "Note", + "pos": [ + 480, + 850 + ], + "size": { + "0": 630, + "1": 90 + }, + "flags": { + "pinned": true + }, + "order": 29, + "mode": 0, + "title": "Workflow Information", + "properties": { + "text": "" + }, + "widgets_values": [ + "Improved Searge SDXL workflow for SDXL 1.0 - INPAINTING (Reborn) - v2.0 created on Jul 29, 2023\nVersion 2.1 updated on Jul 31, 2023 | requires custom node extension: https://github.com/SeargeDP/SeargeSDXL\n\n| 1024x1024 | 1152x896 | 896x1152 | 1216x832 | 832x1216 | 1344x768 | 768x1344 | 1536x640 | 640x1536 |" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 117, + "type": "SeargeSDXLImage2ImageSampler", + "pos": [ + 2700, + 1130 + ], + "size": { + "0": 320, + "1": 374 + }, + "flags": { + "pinned": true + }, + "order": 76, + "mode": 0, + "inputs": [ + { + "name": "base_model", + "type": "MODEL", + "link": 274 + }, + { + "name": "base_positive", + "type": "CONDITIONING", + "link": 283 + }, + { + "name": "base_negative", + "type": "CONDITIONING", + "link": 284 + }, + { + "name": "refiner_model", + "type": "MODEL", + "link": 275 + }, + { + "name": "refiner_positive", + "type": "CONDITIONING", + "link": 285 + }, + { + "name": "refiner_negative", + "type": "CONDITIONING", + "link": 286 + }, + { + "name": "image", + "type": "IMAGE", + "link": 270 + }, + { + "name": "vae", + "type": "VAE", + "link": 269 + }, + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 307 + }, + { + "name": "noise_seed", + "type": "INT", + "link": 290, + "widget": { + "name": "noise_seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 9 + }, + { + "name": "steps", + "type": "INT", + "link": 277, + "widget": { + "name": "steps", + "config": [ + "INT", + { + "default": 20, + "min": 0, + "max": 1000 + } + ] + }, + "slot_index": 10 + }, + { + "name": "cfg", + "type": "FLOAT", + "link": 278, + "widget": { + "name": "cfg", + "config": [ + "FLOAT", + { + "default": 7, + "min": 0, + "max": 100, + "step": 0.5 + } + ] + }, + "slot_index": 11 + }, + { + "name": "sampler_name", + "type": "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2", + "link": 279, + "widget": { + "name": "sampler_name", + "config": [ + [ + "euler", + "euler_ancestral", + "heun", + "dpm_2", + "dpm_2_ancestral", + "lms", + "dpm_fast", + "dpm_adaptive", + "dpmpp_2s_ancestral", + "dpmpp_sde", + "dpmpp_sde_gpu", + "dpmpp_2m", + "dpmpp_2m_sde", + "dpmpp_2m_sde_gpu", + "ddim", + "uni_pc", + "uni_pc_bh2" + ], + { + "default": "ddim" + } + ] + }, + "slot_index": 12 + }, + { + "name": "scheduler", + "type": "normal,karras,exponential,simple,ddim_uniform", + "link": 280, + "widget": { + "name": "scheduler", + "config": [ + [ + "normal", + "karras", + "exponential", + "simple", + "ddim_uniform" + ], + { + "default": "ddim_uniform" + } + ] + }, + "slot_index": 13 + }, + { + "name": "base_ratio", + "type": "FLOAT", + "link": 281, + "widget": { + "name": "base_ratio", + "config": [ + "FLOAT", + { + "default": 0.8, + "min": 0, + "max": 1, + "step": 0.01 + } + ] + }, + "slot_index": 14 + }, + { + "name": "denoise", + "type": "FLOAT", + "link": 282, + "widget": { + "name": "denoise", + "config": [ + "FLOAT", + { + "default": 0.25, + "min": 0, + "max": 1, + "step": 0.01 + } + ] + }, + "slot_index": 15 + }, + { + "name": "scaled_width", + "type": "INT", + "link": 272, + "widget": { + "name": "scaled_width", + "config": [ + "INT", + { + "default": 1536, + "min": 0, + "max": 8192, + "step": 64 + } + ] + } + }, + { + "name": "scaled_height", + "type": "INT", + "link": 273, + "widget": { + "name": "scaled_height", + "config": [ + "INT", + { + "default": 1536, + "min": 0, + "max": 8192, + "step": 64 + } + ] + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 268, + 297 + ], + "shape": 3, + "slot_index": 0 + } + ], + "title": "HiRes Fix Sampler", + "properties": { + "Node name for S&R": "SeargeSDXLImage2ImageSampler" + }, + "widgets_values": [ + 890532967987518, + "randomize", + 20, + 7, + "ddim", + "ddim_uniform", + 0.8, + 0.25, + 1536, + 1536 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 118, + "type": "SeargeIntegerMath", + "pos": [ + 2010, + 1840 + ], + "size": { + "0": 210, + "1": 106 + }, + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "INT", + "link": 289, + "widget": { + "name": "a", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + } + } + ], + "outputs": [ + { + "name": "result", + "type": "INT", + "links": [ + 290 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SeargeIntegerMath" + }, + "widgets_values": [ + "a + c", + 0, + 1, + 3 + ] + }, + { + "id": 124, + "type": "Reroute", + "pos": [ + 1630, + 300 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null, + "pos": [ + 37.5, + 0 + ], + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 298 + ], + "label": "save hrf", + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 123, + "type": "Reroute", + "pos": [ + 1630, + 240 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 78, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 297, + "pos": [ + 37.5, + 0 + ] + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [], + "label": "save hrf", + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 121, + "type": "Reroute", + "pos": [ + 1630, + 90 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": null, + "pos": [ + 37.5, + 0 + ], + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 296 + ], + "label": "upscale" + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 119, + "type": "Reroute", + "pos": [ + 1630, + 30 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 87, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 291, + "pos": [ + 37.5, + 0 + ] + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [], + "label": "upscale", + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": true + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 105, + "type": "Reroute", + "pos": [ + 1900, + 920 + ], + "size": [ + 75, + 26 + ], + "flags": { + "pinned": true + }, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 268, + "label": "image" + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 226, + 245, + 246 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 126, + "type": "Note", + "pos": [ + 1630, + 360 + ], + "size": { + "0": 240, + "1": 590 + }, + "flags": { + "pinned": true + }, + "order": 32, + "mode": 0, + "title": "Workflow Information", + "properties": { + "text": "" + }, + "widgets_values": [ + "=== How to prompt this workflow ===\n\nMain Prompt\n-----------\nThe subject of the image in natural language\n\nExample: a cat with a hat in a grass field\n\n\nSecondary Prompt\n----------------\nA list of keywords derived from the main prompts, at the end references to artists\n\nExample: cat, hat, grass field, style of [artist name] and [artist name]\n\n\nStyle and References Prompt\n---------------------------\nA description of the style of the image, the main style should be the first word and can be emphasized by surrounding it with ~*~\n\nExample: ~*~painting~*~ oil painting, vibrant colors\n\n\nNegative Prompt\n---------------\nSubjects that should not appear in the image\n\nExample: jpeg artifacts, noise\n\n\nNegative Style Prompt\n---------------------\nStyles and concepts that should not be used to generate the image\n\nExample: photograph, anime" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 125, + "type": "Note", + "pos": [ + 1630, + 150 + ], + "size": { + "0": 240, + "1": 80 + }, + "flags": { + "pinned": true + }, + "order": 33, + "mode": 0, + "title": "Workflow Information", + "properties": { + "text": "" + }, + "widgets_values": [ + "^ Connect to enable upscaling\n| ---------------------------------\n| Connect to enable saving of image \nv after hires fix is applied" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 128, + "type": "LoadImage", + "pos": [ + -350, + 50 + ], + "size": { + "0": 370, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 34, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 348 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "title": "Source Image", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 87, + "type": "PreviewImage", + "pos": [ + -1320, + -900 + ], + "size": { + "0": 850, + "1": 1550 + }, + "flags": { + "pinned": true + }, + "order": 82, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 223, + "slot_index": 0 + } + ], + "title": "Vertical Preview Image", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 130, + "type": "ImageScale", + "pos": [ + 800, + 2430 + ], + "size": { + "0": 300, + "1": 122 + }, + "flags": { + "pinned": true + }, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 348 + }, + { + "name": "width", + "type": "INT", + "link": 346, + "widget": { + "name": "width", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + }, + "slot_index": 1 + }, + { + "name": "height", + "type": "INT", + "link": 347, + "widget": { + "name": "height", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 350 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "bicubic", + 512, + 512, + "center" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 131, + "type": "VAEEncode", + "pos": [ + 1410, + 1330 + ], + "size": { + "0": 290, + "1": 100 + }, + "flags": { + "pinned": true + }, + "order": 62, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 350, + "slot_index": 0 + }, + { + "name": "vae", + "type": "VAE", + "link": 351 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 360 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 135, + "type": "ImageScale", + "pos": [ + 810, + 2630 + ], + "size": { + "0": 300, + "1": 122 + }, + "flags": { + "pinned": true + }, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 355 + }, + { + "name": "width", + "type": "INT", + "link": 358, + "widget": { + "name": "width", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + } + }, + { + "name": "height", + "type": "INT", + "link": 359, + "widget": { + "name": "height", + "config": [ + "INT", + { + "default": 512, + "min": 1, + "max": 8192, + "step": 1 + } + ] + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 356 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "bicubic", + 512, + 512, + "center" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 137, + "type": "MaskToImage", + "pos": [ + 300, + 2630 + ], + "size": { + "0": 300, + "1": 30 + }, + "flags": { + "pinned": true + }, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 357, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 355 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 136, + "type": "ImageToMask", + "pos": [ + 1410, + 2460 + ], + "size": { + "0": 290, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 356 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 354 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageToMask" + }, + "widgets_values": [ + "green" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 134, + "type": "SetLatentNoiseMask", + "pos": [ + 2010, + 1700 + ], + "size": { + "0": 350, + "1": 60 + }, + "flags": { + "pinned": true + }, + "order": 72, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 360 + }, + { + "name": "mask", + "type": "MASK", + "link": 354 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 361 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 132, + "type": "LoadImage", + "pos": [ + -350, + 560 + ], + "size": { + "0": 370, + "1": 470 + }, + "flags": { + "pinned": true + }, + "order": 35, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 357 + ], + "shape": 3 + } + ], + "title": "Inpainting Mask - right click -> MaskEditor", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ], + "color": "#232", + "bgcolor": "#353" + } + ], + "links": [ + [ + 1, + 16, + 0, + 15, + 0, + "INT" + ], + [ + 6, + 29, + 0, + 28, + 10, + "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2" + ], + [ + 7, + 30, + 0, + 28, + 11, + "normal,karras,exponential,simple,ddim_uniform" + ], + [ + 9, + 35, + 0, + 28, + 12, + "FLOAT" + ], + [ + 10, + 34, + 0, + 28, + 9, + "FLOAT" + ], + [ + 11, + 31, + 0, + 28, + 8, + "INT" + ], + [ + 13, + 3, + 0, + 40, + 2, + "STRING" + ], + [ + 14, + 5, + 0, + 40, + 3, + "STRING" + ], + [ + 15, + 3, + 0, + 40, + 4, + "STRING" + ], + [ + 16, + 7, + 0, + 40, + 5, + "STRING" + ], + [ + 17, + 7, + 0, + 40, + 6, + "STRING" + ], + [ + 18, + 7, + 0, + 40, + 7, + "STRING" + ], + [ + 19, + 6, + 0, + 41, + 1, + "STRING" + ], + [ + 20, + 6, + 0, + 41, + 2, + "STRING" + ], + [ + 21, + 8, + 0, + 41, + 3, + "STRING" + ], + [ + 22, + 8, + 0, + 41, + 4, + "STRING" + ], + [ + 23, + 6, + 0, + 42, + 1, + "STRING" + ], + [ + 24, + 8, + 0, + 42, + 2, + "STRING" + ], + [ + 31, + 27, + 1, + 40, + 1, + "CLIP" + ], + [ + 32, + 27, + 1, + 42, + 0, + "CLIP" + ], + [ + 33, + 12, + 0, + 46, + 1, + "VAE" + ], + [ + 49, + 26, + 0, + 51, + 1, + "FLOAT" + ], + [ + 51, + 26, + 1, + 52, + 1, + "FLOAT" + ], + [ + 53, + 26, + 1, + 54, + 1, + "FLOAT" + ], + [ + 55, + 26, + 1, + 53, + 1, + "FLOAT" + ], + [ + 60, + 40, + 0, + 55, + 0, + "CONDITIONING" + ], + [ + 61, + 40, + 1, + 56, + 0, + "CONDITIONING" + ], + [ + 62, + 40, + 2, + 57, + 0, + "CONDITIONING" + ], + [ + 63, + 40, + 3, + 58, + 0, + "CONDITIONING" + ], + [ + 64, + 41, + 0, + 55, + 1, + "CONDITIONING" + ], + [ + 65, + 41, + 1, + 56, + 1, + "CONDITIONING" + ], + [ + 66, + 42, + 0, + 57, + 1, + "CONDITIONING" + ], + [ + 67, + 42, + 1, + 58, + 1, + "CONDITIONING" + ], + [ + 69, + 27, + 0, + 28, + 3, + "MODEL" + ], + [ + 75, + 28, + 0, + 46, + 0, + "LATENT" + ], + [ + 77, + 33, + 0, + 65, + 1, + "FLOAT" + ], + [ + 78, + 33, 0, - "INT" + 64, + 1, + "FLOAT" ], [ - 6, - 29, + 81, + 36, 0, - 28, - 10, - "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2" + 66, + 0, + "UPSCALE_MODEL" ], [ - 7, - 30, + 82, + 37, 0, - 28, - 11, - "normal,karras,exponential,simple,ddim_uniform" + 67, + 0, + "UPSCALE_MODEL" ], [ - 9, - 35, + 86, + 66, 0, - 28, - 12, - "FLOAT" + 68, + 0, + "IMAGE" ], [ - 10, - 34, + 87, + 67, 0, - 28, - 9, - "FLOAT" + 68, + 1, + "IMAGE" ], [ - 11, - 31, + 89, + 68, 0, - 28, - 8, + 69, + 0, + "IMAGE" + ], + [ + 91, + 64, + 0, + 69, + 1, "INT" ], [ - 12, - 15, + 92, + 65, 0, - 28, - 7, + 69, + 2, "INT" ], [ - 13, - 3, + 131, + 43, 0, - 40, + 82, + 0, + "*" + ], + [ + 132, + 82, + 0, + 75, 2, - "STRING" + "FLOAT" ], [ - 14, - 5, + 134, + 82, 0, - 40, - 3, - "STRING" + 77, + 2, + "FLOAT" ], [ - 15, - 3, + 148, + 84, 0, - 40, - 4, - "STRING" + 85, + 0, + "*" ], [ - 16, - 7, + 149, + 85, 0, - 40, - 5, - "STRING" + 76, + 2, + "FLOAT" ], [ - 17, - 7, + 150, + 85, 0, - 40, - 6, - "STRING" + 78, + 2, + "FLOAT" ], [ - 18, - 7, + 151, + 76, 0, - 40, - 7, - "STRING" + 28, + 2, + "CONDITIONING" ], [ - 19, - 6, + 153, + 83, 0, - 41, - 1, - "STRING" + 28, + 13, + "FLOAT" ], [ + 168, 20, - 6, 0, - 41, - 2, - "STRING" + 90, + 0, + "*" ], [ - 21, - 8, + 169, + 20, + 1, + 91, 0, - 41, - 3, - "STRING" + "*" ], [ - 22, - 8, + 170, + 90, 0, - 41, - 4, - "STRING" + 51, + 0, + "INT" ], [ - 23, - 6, + 171, + 90, 0, - 42, - 1, - "STRING" + 54, + 0, + "INT" ], [ - 24, - 8, + 172, + 91, 0, - 42, - 2, - "STRING" + 52, + 0, + "INT" ], [ - 29, - 10, - 1, - 40, + 173, + 91, 0, - "CLIP" + 53, + 0, + "INT" ], [ - 30, + 174, + 90, + 0, + 40, 10, - 1, + "INT" + ], + [ + 175, + 91, + 0, + 40, + 11, + "INT" + ], + [ + 176, + 90, + 0, 41, + 7, + "INT" + ], + [ + 177, + 91, 0, - "CLIP" + 41, + 8, + "INT" ], [ - 31, - 27, - 1, - 40, + 180, + 92, 1, + 41, + 0, "CLIP" ], [ - 32, - 27, + 181, + 92, 1, - 42, + 40, 0, "CLIP" ], [ - 33, - 12, - 0, - 46, + 182, + 10, 1, - "VAE" + 92, + 1, + "CLIP" ], [ - 34, - 46, + 183, + 92, 0, - 19, + 28, 0, - "IMAGE" + "MODEL" ], [ - 35, - 47, + 184, + 10, 0, - 42, - 3, - "INT" + 92, + 0, + "MODEL" ], [ - 37, - 48, + 202, + 75, 0, - 42, - 4, - "INT" + 28, + 1, + "CONDITIONING" ], [ - 38, - 47, + 205, + 77, 0, - 40, - 12, - "INT" + 28, + 4, + "CONDITIONING" ], [ - 39, - 48, + 206, + 78, 0, - 40, - 13, - "INT" + 28, + 5, + "CONDITIONING" ], [ - 40, - 49, + 207, + 95, 0, - 41, - 5, + 28, + 14, "INT" ], [ - 41, - 49, + 208, + 98, 0, - 41, - 7, - "INT" + 92, + 2, + "FLOAT" ], [ - 42, - 49, + 210, + 51, 0, 40, 8, "INT" ], [ - 43, - 49, + 211, + 51, 0, - 40, - 10, + 41, + 5, "INT" ], [ - 44, - 50, + 212, + 52, 0, 40, 9, "INT" ], [ - 45, - 50, + 213, + 52, 0, 41, 6, "INT" ], [ - 46, - 50, + 214, + 54, 0, - 41, - 8, + 40, + 12, "INT" ], [ - 47, - 50, + 215, + 54, 0, - 40, - 11, + 42, + 3, "INT" ], [ - 49, - 26, + 216, + 53, 0, - 51, - 1, - "FLOAT" + 40, + 13, + "INT" ], [ - 51, - 26, - 1, - 52, - 1, - "FLOAT" + 217, + 53, + 0, + 42, + 4, + "INT" ], [ - 53, - 26, - 1, - 54, - 1, + 220, + 98, + 0, + 92, + 3, "FLOAT" ], [ - 55, - 26, - 1, - 53, - 1, - "FLOAT" + 221, + 99, + 0, + 92, + 4, + "sd_xl_offset_example-lora_1.0.safetensors" ], [ - 56, - 51, + 223, + 104, 0, - 49, + 87, 0, - "*" + "IMAGE" ], [ - 57, - 52, + 224, + 104, 0, - 50, + 86, 0, - "*" + "IMAGE" ], [ - 58, - 54, + 225, + 104, 0, - 47, + 19, 0, - "*" + "IMAGE" ], [ - 59, - 53, + 226, + 105, 0, - 48, + 104, 0, "*" ], [ - 60, - 40, + 232, + 101, 0, - 55, + 107, + 1, + "FLOAT" + ], + [ + 233, + 101, 0, - "CONDITIONING" + 106, + 1, + "FLOAT" ], [ - 61, - 40, + 234, + 20, 1, - 56, + 109, 0, - "CONDITIONING" + "*" ], [ - 62, - 40, - 2, - 57, + 236, + 20, 0, - "CONDITIONING" + 110, + 0, + "*" ], [ - 63, - 40, - 3, - 58, + 238, + 110, 0, - "CONDITIONING" + 106, + 0, + "INT" ], [ - 64, - 41, + 239, + 109, 0, - 55, - 1, - "CONDITIONING" + 107, + 0, + "INT" ], [ - 65, - 41, - 1, - 56, - 1, - "CONDITIONING" + 244, + 46, + 0, + 59, + 0, + "IMAGE" ], [ - 66, - 42, + 245, + 105, 0, - 57, + 66, 1, - "CONDITIONING" + "IMAGE" ], [ + 246, + 105, + 0, 67, - 42, - 1, - 58, 1, - "CONDITIONING" + "IMAGE" ], [ - 68, - 10, + 252, + 112, 0, 28, - 0, - "MODEL" + 7, + "INT" ], [ - 69, - 27, + 253, + 15, 0, - 28, - 3, - "MODEL" + 112, + 0, + "*" ], [ - 75, - 28, + 268, + 117, 0, - 46, + 105, 0, - "LATENT" + "*" ], [ - 77, - 33, + 269, + 12, 0, - 65, - 1, - "FLOAT" + 117, + 7, + "VAE" ], [ - 78, - 33, + 270, + 46, 0, - 64, - 1, - "FLOAT" + 117, + 6, + "IMAGE" ], [ - 79, - 20, - 0, - 64, + 272, + 106, 0, + 117, + 16, "INT" ], [ - 80, - 20, - 1, - 65, + 273, + 107, 0, + 117, + 17, "INT" ], [ - 81, - 36, - 0, - 66, - 0, - "UPSCALE_MODEL" - ], - [ - 82, - 37, + 274, + 10, 0, - 67, + 117, 0, - "UPSCALE_MODEL" + "MODEL" ], [ - 83, - 46, + 275, + 27, 0, - 66, - 1, - "IMAGE" + 117, + 3, + "MODEL" ], [ - 84, - 46, + 277, + 102, 0, - 67, - 1, - "IMAGE" + 117, + 10, + "INT" ], [ - 86, - 66, - 0, - 68, + 278, + 34, 0, - "IMAGE" + 117, + 11, + "FLOAT" ], [ - 87, - 67, + 279, + 29, 0, - 68, - 1, - "IMAGE" + 117, + 12, + "euler,euler_ancestral,heun,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_sde,dpmpp_2m_sde_gpu,ddim,uni_pc,uni_pc_bh2" ], [ - 88, - 46, - 0, - 59, + 280, + 30, 0, - "IMAGE" + 117, + 13, + "normal,karras,exponential,simple,ddim_uniform" ], [ - 89, - 68, - 0, - 69, + 281, + 35, 0, - "IMAGE" + 117, + 14, + "FLOAT" ], [ - 90, - 69, + 282, + 100, 0, - 63, - 0, - "IMAGE" + 117, + 15, + "FLOAT" ], [ - 91, - 64, + 283, + 75, 0, - 69, + 117, 1, - "INT" + "CONDITIONING" ], [ - 92, - 65, + 284, + 76, 0, - 69, + 117, 2, - "INT" + "CONDITIONING" ], [ - 125, - 74, + 285, + 77, 0, - 51, + 117, + 4, + "CONDITIONING" + ], + [ + 286, + 78, 0, - "INT" + 117, + 5, + "CONDITIONING" ], [ - 126, - 74, + 287, + 110, 0, - 52, + 64, 0, "INT" ], [ - 127, - 74, + 288, + 109, 0, - 54, + 65, 0, "INT" ], [ - 128, - 74, + 289, + 112, 0, - 53, + 118, 0, "INT" ], [ - 131, - 43, - 0, - 82, + 290, + 118, 0, - "*" + 117, + 9, + "INT" ], [ - 132, - 82, + 291, + 69, 0, - 75, - 2, - "FLOAT" + 119, + 0, + "*" ], [ - 134, - 82, + 296, + 121, 0, - 77, - 2, - "FLOAT" + 115, + 0, + "IMAGE" ], [ - 137, - 75, + 297, + 117, 0, - 28, - 1, - "CONDITIONING" + 123, + 0, + "*" ], [ - 138, - 77, + 298, + 124, 0, - 28, - 4, - "CONDITIONING" + 63, + 0, + "IMAGE" ], [ - 139, - 41, - 0, - 75, + 307, + 37, 0, - "CONDITIONING" + 117, + 8, + "UPSCALE_MODEL" ], [ - 140, + 324, 40, 0, 75, @@ -4590,31 +6124,15 @@ "CONDITIONING" ], [ - 141, + 325, 40, 1, 76, - 0, - "CONDITIONING" - ], - [ - 142, - 41, - 1, - 76, 1, "CONDITIONING" ], [ - 143, - 42, - 0, - 77, - 0, - "CONDITIONING" - ], - [ - 144, + 326, 40, 2, 77, @@ -4622,188 +6140,148 @@ "CONDITIONING" ], [ - 145, + 327, 40, 3, 78, - 0, + 1, "CONDITIONING" ], [ - 146, + 328, 42, 1, 78, - 1, - "CONDITIONING" - ], - [ - 148, - 84, - 0, - 85, 0, - "*" + "CONDITIONING" ], [ - 149, - 85, + 329, + 42, 0, - 76, - 2, - "FLOAT" - ], - [ - 150, - 85, + 77, 0, - 78, - 2, - "FLOAT" + "CONDITIONING" ], [ - 151, + 330, + 41, + 1, 76, 0, - 28, - 2, "CONDITIONING" ], [ - 152, - 78, + 331, + 41, + 0, + 75, 0, - 28, - 5, "CONDITIONING" ], [ - 153, - 83, + 346, + 90, 0, - 28, - 13, - "FLOAT" + 130, + 1, + "INT" ], [ - 156, - 12, - 0, + 347, 91, - 1, - "VAE" + 0, + 130, + 2, + "INT" ], [ - 161, - 86, + 348, + 128, 0, - 92, + 130, 0, "IMAGE" ], [ - 162, - 92, + 350, + 130, 0, - 91, + 131, 0, "IMAGE" ], [ - 163, - 91, - 0, - 93, + 351, + 12, 0, - "LATENT" + 131, + 1, + "VAE" ], [ - 164, - 93, + 354, + 136, 0, - 28, - 6, - "LATENT" + 134, + 1, + "MASK" ], [ - 165, - 20, + 355, + 137, 0, - 96, + 135, 0, - "*" + "IMAGE" ], [ - 166, - 96, + 356, + 135, 0, - 92, - 1, - "INT" - ], - [ - 167, - 96, + 136, 0, - 94, - 1, - "INT" + "IMAGE" ], [ - 168, - 20, + 357, + 132, 1, - 97, + 137, 0, - "*" + "MASK" ], [ - 169, - 97, + 358, + 90, 0, - 92, - 2, + 135, + 1, "INT" ], [ - 170, - 97, + 359, + 91, 0, - 94, + 135, 2, "INT" ], [ - 171, - 98, - 0, - 93, - 1, - "MASK" - ], - [ - 172, - 94, - 0, - 98, - 0, - "IMAGE" - ], - [ - 173, - 99, + 360, + 131, 0, - 94, + 134, 0, - "IMAGE" + "LATENT" ], [ - 174, - 89, - 1, - 99, + 361, + 134, 0, - "MASK" + 28, + 6, + "LATENT" ] ], "groups": [], diff --git a/example/Searge-SDXL-inpaint.png b/example/Searge-SDXL-inpaint.png index d425433..1db1b95 100644 Binary files a/example/Searge-SDXL-inpaint.png and b/example/Searge-SDXL-inpaint.png differ diff --git a/example/Searge-SDXL-workflow-2.png b/example/Searge-SDXL-workflow-2.png index a1b8db6..8615865 100644 Binary files a/example/Searge-SDXL-workflow-2.png and b/example/Searge-SDXL-workflow-2.png differ diff --git a/example/Searge-SDXL-workflow-3.png b/example/Searge-SDXL-workflow-3.png index a0c5f17..9cc0bc0 100644 Binary files a/example/Searge-SDXL-workflow-3.png and b/example/Searge-SDXL-workflow-3.png differ