diff --git a/inpaint-cropandstitch_example_workflow.json b/inpaint-cropandstitch_example_workflow.json index e08f812..ed4050d 100644 --- a/inpaint-cropandstitch_example_workflow.json +++ b/inpaint-cropandstitch_example_workflow.json @@ -44,187 +44,6 @@ "image" ] }, - { - "id": 1, - "type": "InpaintCrop", - "pos": [ - 370, - 170 - ], - "size": { - "0": 350, - "1": 290 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1 - }, - { - "name": "mask", - "type": "MASK", - "link": 2 - }, - { - "name": "optional_context_mask", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitch", - "type": "STITCH", - "links": [ - 8 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "cropped_image", - "type": "IMAGE", - "links": [ - 9 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": [ - 13 - ], - "shape": 3, - "slot_index": 2 - } - ], - "properties": { - "Node name for S&R": "InpaintCrop" - }, - "widgets_values": [ - 20, - 1.01, - false, - 11, - false, - 20, - false, - "128,256,512,768,1024,1344,1536,2048", - false - ] - }, - { - "id": 4, - "type": "Efficient Loader", - "pos": [ - 420, - 600 - ], - "size": { - "0": 400, - "1": 462 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "lora_stack", - "type": "LORA_STACK", - "link": null - }, - { - "name": "cnet_stack", - "type": "CONTROL_NET_STACK", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 14 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [ - 15 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [ - 16 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": null, - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 7, - 18 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": null, - "shape": 3 - }, - { - "name": "DEPENDENCIES", - "type": "DEPENDENCIES", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "Efficient Loader" - }, - "widgets_values": [ - "sd1.5/photon_v1.safetensors", - "Baked VAE", - -1, - "None", - 1, - 1, - "watercolor, a banana flying in the clear sky, background is a soft gradient", - "", - "none", - "comfy", - 512, - 512, - 1 - ], - "color": "#332233", - "bgcolor": "#553355", - "shape": 1 - }, { "id": 8, "type": "KSampler Adv. (Efficient)", @@ -333,55 +152,6 @@ "bgcolor": "#335555", "shape": 1 }, - { - "id": 6, - "type": "VAEEncodeForInpaint", - "pos": [ - 840, - 260 - ], - "size": { - "0": 230, - "1": 100 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": 9 - }, - { - "name": "vae", - "type": "VAE", - "link": 7 - }, - { - "name": "mask", - "type": "MASK", - "link": 13 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 17 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "VAEEncodeForInpaint" - }, - "widgets_values": [ - 0 - ] - }, { "id": 2, "type": "InpaintStitch", @@ -447,6 +217,237 @@ "properties": { "Node name for S&R": "PreviewImage" } + }, + { + "id": 6, + "type": "VAEEncodeForInpaint", + "pos": [ + 840, + 260 + ], + "size": { + "0": 230, + "1": 100 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 9 + }, + { + "name": "vae", + "type": "VAE", + "link": 7 + }, + { + "name": "mask", + "type": "MASK", + "link": 13 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 12 + ] + }, + { + "id": 1, + "type": "InpaintCrop", + "pos": [ + 370, + 170 + ], + "size": { + "0": 350, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + }, + { + "name": "mask", + "type": "MASK", + "link": 2 + }, + { + "name": "optional_context_mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "stitch", + "type": "STITCH", + "links": [ + 8 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "cropped_image", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "cropped_mask", + "type": "MASK", + "links": [ + 13 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintCrop" + }, + "widgets_values": [ + 20, + 1.01, + false, + 2, + false, + 10, + false, + "128,256,512,768,1024,1344,1536,2048", + false, + 1 + ] + }, + { + "id": 4, + "type": "Efficient Loader", + "pos": [ + 420, + 600 + ], + "size": { + "0": 400, + "1": 462 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "lora_stack", + "type": "LORA_STACK", + "link": null + }, + { + "name": "cnet_stack", + "type": "CONTROL_NET_STACK", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 14 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [ + 15 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [ + 16 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": null, + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 7, + 18 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3 + }, + { + "name": "DEPENDENCIES", + "type": "DEPENDENCIES", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Efficient Loader" + }, + "widgets_values": [ + "sd1.5/dreamshaper_8.safetensors", + "Baked VAE", + -1, + "None", + 1, + 1, + "watercolor, a banana flying in the clear sky, background is a soft gradient", + "", + "none", + "comfy", + 512, + 512, + 1 + ], + "color": "#332233", + "bgcolor": "#553355", + "shape": 1 } ], "links": [ @@ -559,10 +560,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.38554328942953175, + "scale": 0.620921323059155, "offset": [ - 947.1159312646266, - 395.55153283558286 + 508.2955081100582, + 99.43306685288564 ] } }, diff --git a/inpaint-cropandstitch_example_workflow.png b/inpaint-cropandstitch_example_workflow.png index 85a1e44..6e5ebfa 100644 Binary files a/inpaint-cropandstitch_example_workflow.png and b/inpaint-cropandstitch_example_workflow.png differ diff --git a/inpaint-cropandstitch_example_workflow_advanced.json b/inpaint-cropandstitch_example_workflow_advanced.json index da4b230..63053d0 100644 --- a/inpaint-cropandstitch_example_workflow_advanced.json +++ b/inpaint-cropandstitch_example_workflow_advanced.json @@ -2,189 +2,6 @@ "last_node_id": 9, "last_link_id": 20, "nodes": [ - { - "id": 1, - "type": "InpaintCrop", - "pos": [ - 370, - 170 - ], - "size": { - "0": 350, - "1": 290 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1 - }, - { - "name": "mask", - "type": "MASK", - "link": 2 - }, - { - "name": "optional_context_mask", - "type": "MASK", - "link": 20 - } - ], - "outputs": [ - { - "name": "stitch", - "type": "STITCH", - "links": [ - 8 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "cropped_image", - "type": "IMAGE", - "links": [ - 9 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": [ - 13 - ], - "shape": 3, - "slot_index": 2 - } - ], - "properties": { - "Node name for S&R": "InpaintCrop" - }, - "widgets_values": [ - 20, - 1.01, - false, - 11, - false, - 20, - false, - "128,256,512,768,1024,1344,1536,2048", - false - ] - }, - { - "id": 8, - "type": "KSampler Adv. (Efficient)", - "pos": [ - 1070, - 550 - ], - "size": [ - 330, - 630 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 14 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 15 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 16 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 17 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 18 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": null, - "shape": 3 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": null, - "shape": 3 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": null, - "shape": 3 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": null, - "shape": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": null, - "shape": 3 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 19 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler Adv. (Efficient)" - }, - "widgets_values": [ - "enable", - 1036058331398113, - null, - 20, - 3, - "dpmpp_2m_sde", - "normal", - 0, - 10000, - "disable", - "auto", - "true" - ], - "color": "#223333", - "bgcolor": "#335555", - "shape": 1 - }, { "id": 3, "type": "LoadImage", @@ -369,59 +186,10 @@ "Node name for S&R": "LoadImage" }, "widgets_values": [ - "clipspace/clipspace-mask-25875.70000000298.png [input]", + "clipspace/clipspace-mask-105007.79999998212.png [input]", "image" ] }, - { - "id": 6, - "type": "VAEEncodeForInpaint", - "pos": [ - 840, - 260 - ], - "size": { - "0": 230, - "1": 100 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": 9 - }, - { - "name": "vae", - "type": "VAE", - "link": 7 - }, - { - "name": "mask", - "type": "MASK", - "link": 13 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 17 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "VAEEncodeForInpaint" - }, - "widgets_values": [ - 0 - ] - }, { "id": 2, "type": "InpaintStitch", @@ -487,6 +255,239 @@ "properties": { "Node name for S&R": "PreviewImage" } + }, + { + "id": 1, + "type": "InpaintCrop", + "pos": [ + 370, + 170 + ], + "size": { + "0": 350, + "1": 314 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + }, + { + "name": "mask", + "type": "MASK", + "link": 2 + }, + { + "name": "optional_context_mask", + "type": "MASK", + "link": 20 + } + ], + "outputs": [ + { + "name": "stitch", + "type": "STITCH", + "links": [ + 8 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "cropped_image", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "cropped_mask", + "type": "MASK", + "links": [ + 13 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintCrop" + }, + "widgets_values": [ + 20, + 1.01, + false, + 2, + false, + 10, + false, + "128,256,512,768,1024,1344,1536,2048", + false, + 1 + ] + }, + { + "id": 6, + "type": "VAEEncodeForInpaint", + "pos": [ + 840, + 260 + ], + "size": { + "0": 230, + "1": 100 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 9 + }, + { + "name": "vae", + "type": "VAE", + "link": 7 + }, + { + "name": "mask", + "type": "MASK", + "link": 13 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 12 + ] + }, + { + "id": 8, + "type": "KSampler Adv. (Efficient)", + "pos": [ + 1070, + 550 + ], + "size": [ + 330, + 630 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 14 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 15 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 16 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 17 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 18 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": null, + "shape": 3 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": null, + "shape": 3 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": null, + "shape": 3 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": null, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": null, + "shape": 3 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 19 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler Adv. (Efficient)" + }, + "widgets_values": [ + "enable", + 1036058331398114, + null, + 20, + 3, + "dpmpp_2m_sde", + "normal", + 0, + 10000, + "disable", + "auto", + "true" + ], + "color": "#223333", + "bgcolor": "#335555", + "shape": 1 } ], "links": [ @@ -609,8 +610,8 @@ "ds": { "scale": 0.7513148009015777, "offset": [ - 288.9655786919711, - 17.58705847820291 + 88.61002487589842, + 81.57125181543908 ] } }, diff --git a/inpaint-cropandstitch_example_workflow_advanced.png b/inpaint-cropandstitch_example_workflow_advanced.png index e230e0f..38242bb 100644 Binary files a/inpaint-cropandstitch_example_workflow_advanced.png and b/inpaint-cropandstitch_example_workflow_advanced.png differ