diff --git a/LCM_inpaint_controlnet.json b/LCM_inpaint_controlnet.json new file mode 100644 index 0000000..a5c2a92 --- /dev/null +++ b/LCM_inpaint_controlnet.json @@ -0,0 +1,454 @@ +{ + "last_node_id": 8, + "last_link_id": 20, + "nodes": [ + { + "id": 7, + "type": "SaveImage_LCM", + "pos": [ + 1228.8610046386718, + 413.0083717346191 + ], + "size": { + "0": 315, + "1": 270 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 10 + } + ], + "properties": { + "Node name for S&R": "SaveImage_LCM" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 1, + "type": "LCMLoader_controlnet_inpaint", + "pos": [ + 234, + 194 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "class", + "type": "class", + "links": [ + 2 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LCMLoader_controlnet_inpaint" + }, + "widgets_values": [ + "GPU", + "", + 0.6, + "cn_inpaint" + ] + }, + { + "id": 4, + "type": "LCMT2IAdapter", + "pos": [ + 228, + 78 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "class", + "type": "class", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LCMT2IAdapter" + }, + "widgets_values": [ + "t2i_adapter_depth" + ] + }, + { + "id": 5, + "type": "MaskToImage", + "pos": [ + 694, + 232 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 4 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 6, + "type": "LoadImage", + "pos": [ + 219, + 787 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 18 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_01920_.png", + "image" + ] + }, + { + "id": 8, + "type": "InpaintPreprocessor", + "pos": [ + 695, + 1047 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 12 + }, + { + "name": "mask", + "type": "MASK", + "link": 13 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InpaintPreprocessor" + } + }, + { + "id": 3, + "type": "LoadImage", + "pos": [ + 228, + 409 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3, + 6, + 8, + 12, + 20 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 4, + 13 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "clipspace/clipspace-mask-83498.90000000037.png [input]", + "image" + ] + }, + { + "id": 2, + "type": "LCMGenerate_inpaintv2", + "pos": [ + 667, + 367 + ], + "size": { + "0": 400, + "1": 600 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 3 + }, + { + "name": "mask", + "type": "IMAGE", + "link": 5 + }, + { + "name": "original_image", + "type": "IMAGE", + "link": 6 + }, + { + "name": "pipe", + "type": "class", + "link": 2 + }, + { + "name": "reference_image", + "type": "IMAGE", + "link": 18 + }, + { + "name": "adapter_image", + "type": "IMAGE", + "link": 8 + }, + { + "name": "adapter", + "type": "class", + "link": 1 + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 20 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LCMGenerate_inpaintv2" + }, + "widgets_values": [ + "Inpaint", + 197038269822609, + "randomize", + "frog", + 4, + 512, + 512, + 8, + 256, + "left", + 1, + "disable", + 0.1, + "enable", + "higher", + 0, + 1 + ] + } + ], + "links": [ + [ + 1, + 4, + 0, + 2, + 6, + "class" + ], + [ + 2, + 1, + 0, + 2, + 3, + "class" + ], + [ + 3, + 3, + 0, + 2, + 0, + "IMAGE" + ], + [ + 4, + 3, + 1, + 5, + 0, + "MASK" + ], + [ + 5, + 5, + 0, + 2, + 1, + "IMAGE" + ], + [ + 6, + 3, + 0, + 2, + 2, + "IMAGE" + ], + [ + 8, + 3, + 0, + 2, + 5, + "IMAGE" + ], + [ + 10, + 2, + 0, + 7, + 0, + "IMAGE" + ], + [ + 12, + 3, + 0, + 8, + 0, + "IMAGE" + ], + [ + 13, + 3, + 1, + 8, + 1, + "MASK" + ], + [ + 18, + 6, + 0, + 2, + 4, + "IMAGE" + ], + [ + 20, + 3, + 0, + 2, + 7, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file