diff --git a/example/canny.json b/example/canny.json new file mode 100644 index 0000000..2d66ac2 --- /dev/null +++ b/example/canny.json @@ -0,0 +1,361 @@ +{ + "last_node_id": 20, + "last_link_id": 46, + "nodes": [ + { + "id": 2, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 734, + 795 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 45 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Or_Repo" + }, + "widgets_values": [ + "controlnet-canny-sdxl-1.0", + "" + ] + }, + { + "id": 1, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 739, + 657 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 44 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Or_Repo" + }, + "widgets_values": [ + "stabilityai\\stable-diffusion-xl-base-1.0", + "" + ] + }, + { + "id": 17, + "type": "CannyEdgePreprocessor", + "pos": [ + 752, + 492 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 37, + "label": "图像" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 39, + 43 + ], + "shape": 3, + "label": "图像", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CannyEdgePreprocessor" + }, + "widgets_values": [ + 100, + 200, + 512 + ] + }, + { + "id": 4, + "type": "LoadImage", + "pos": [ + 668, + 119 + ], + "size": { + "0": 394.45263671875, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 37, + 42 + ], + "shape": 3, + "label": "图像", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "遮罩" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lara (1).jpeg", + "image" + ] + }, + { + "id": 18, + "type": "PreviewImage", + "pos": [ + 1570, + 161 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 39, + "label": "图像" + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 20, + "type": "SaveImage", + "pos": [ + 1549, + 491 + ], + "size": [ + 315, + 270 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "图像" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 19, + "type": "Hi_SDXL_Control2Img", + "pos": [ + 1105, + 493 + ], + "size": [ + 400, + 438 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 42, + "label": "image" + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 43, + "label": "control_image" + }, + { + "name": "repo_id", + "type": "STRING", + "link": 44, + "widget": { + "name": "repo_id" + } + }, + { + "name": "controlnet_repo_id", + "type": "STRING", + "link": 45, + "widget": { + "name": "controlnet_repo_id" + } + } + ], + "outputs": [ + { + "name": "output_image", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "label": "output_image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Hi_SDXL_Control2Img" + }, + "widgets_values": [ + "", + "", + "Lara Croft with brown hair, and is wearing a tank top, a brown backpack.The room is dark and has an old-fashioned decor with a patterned floor and a wallfeaturing a design with arches and a dark area on the right side, muted color, high detail, 8k high definition award winning", + "underexposed, poorly drawn hands, duplicate hands, overexposed,bad art, beginner, amateur, abstract, disfigured, deformed, close up, weird colors, watermark", + "Euler", + "none", + 72488577630877, + "randomize", + 20, + 12.5, + 1, + "img2img", + 0.5, + 0.99, + 1536, + 2048 + ] + } + ], + "links": [ + [ + 37, + 4, + 0, + 17, + 0, + "IMAGE" + ], + [ + 39, + 17, + 0, + 18, + 0, + "IMAGE" + ], + [ + 42, + 4, + 0, + 19, + 0, + "IMAGE" + ], + [ + 43, + 17, + 0, + 19, + 1, + "IMAGE" + ], + [ + 44, + 1, + 0, + 19, + 2, + "STRING" + ], + [ + 45, + 2, + 0, + 19, + 3, + "STRING" + ], + [ + 46, + 19, + 0, + 20, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2100000000000009, + "offset": [ + -444.75484856838966, + -62.981935160765545 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example/canny.png b/example/canny.png new file mode 100644 index 0000000..c09f547 Binary files /dev/null and b/example/canny.png differ diff --git a/example/example_pose.png b/example/example_pose.png new file mode 100644 index 0000000..1b34228 Binary files /dev/null and b/example/example_pose.png differ diff --git a/example/inpainting.png b/example/inpainting.png index c025b8c..381a4b0 100644 Binary files a/example/inpainting.png and b/example/inpainting.png differ diff --git a/example/inpaiting.json b/example/inpaiting.json new file mode 100644 index 0000000..d8f549d --- /dev/null +++ b/example/inpaiting.json @@ -0,0 +1,318 @@ +{ + "last_node_id": 24, + "last_link_id": 57, + "nodes": [ + { + "id": 19, + "type": "Hi_SDXL_Control2Img", + "pos": [ + 1105, + 493 + ], + "size": { + "0": 400, + "1": 474 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 57, + "label": "image" + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 55, + "label": "control_image" + }, + { + "name": "repo_id", + "type": "STRING", + "link": 51, + "widget": { + "name": "repo_id" + }, + "label": "repo_id" + }, + { + "name": "controlnet_repo_id", + "type": "STRING", + "link": 52, + "widget": { + "name": "controlnet_repo_id" + }, + "label": "controlnet_repo_id", + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "output_image", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "label": "output_image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Hi_SDXL_Control2Img" + }, + "widgets_values": [ + "", + "", + "Lara Croft with brown hair, and is wearing a tank top, a brown backpack.The room is dark and has an old-fashioned decor with a patterned floor and a wallfeaturing a design with arches and a dark area on the right side, muted color, high detail, 8k high definition award winning", + "underexposed, poorly drawn hands, duplicate hands, overexposed,bad art, beginner, amateur, abstract, disfigured, deformed, close up, weird colors, watermark", + "Euler", + "none", + 568187174171133, + "randomize", + 20, + 12.5, + 1, + "img2img", + 0.5, + 0.99, + 1536, + 2048 + ] + }, + { + "id": 4, + "type": "LoadImage", + "pos": [ + 630, + 138 + ], + "size": { + "0": 394.45263671875, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 57 + ], + "shape": 3, + "label": "图像", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "遮罩" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lara (1).jpeg", + "image" + ] + }, + { + "id": 24, + "type": "LoadImage", + "pos": [ + 570, + 495 + ], + "size": { + "0": 394.45263671875, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 55 + ], + "shape": 3, + "label": "图像", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "遮罩" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "mask_image (2).png", + "image" + ] + }, + { + "id": 22, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 614, + 887 + ], + "size": [ + 345.2989013522538, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 51 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Or_Repo" + }, + "widgets_values": [ + "none", + "stabilityai/stable-diffusion-xl-base-1.0" + ] + }, + { + "id": 23, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 710, + 1032 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 52 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Or_Repo" + }, + "widgets_values": [ + "diffusers\\stable-diffusion-xl-1.0-inpainting-0.1", + "" + ] + }, + { + "id": 20, + "type": "SaveImage", + "pos": [ + 1532, + 491 + ], + "size": [ + 402.4112229149887, + 354.540741566462 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "图像" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + } + ], + "links": [ + [ + 46, + 19, + 0, + 20, + 0, + "IMAGE" + ], + [ + 51, + 22, + 0, + 19, + 2, + "STRING" + ], + [ + 52, + 23, + 0, + 19, + 3, + "STRING" + ], + [ + 55, + 24, + 0, + 19, + 1, + "IMAGE" + ], + [ + 57, + 4, + 0, + 19, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9090909090909091, + "offset": [ + -65.92763395256497, + -31.57308254173131 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example/mistoline.json b/example/mistoline.json new file mode 100644 index 0000000..190d731 --- /dev/null +++ b/example/mistoline.json @@ -0,0 +1,357 @@ +{ + "last_node_id": 21, + "last_link_id": 50, + "nodes": [ + { + "id": 19, + "type": "Hi_SDXL_Control2Img", + "pos": [ + 1105, + 493 + ], + "size": [ + 400, + 438 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 42, + "label": "image" + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 48, + "label": "control_image" + }, + { + "name": "repo_id", + "type": "STRING", + "link": 44, + "widget": { + "name": "repo_id" + } + }, + { + "name": "controlnet_repo_id", + "type": "STRING", + "link": 45, + "widget": { + "name": "controlnet_repo_id" + } + } + ], + "outputs": [ + { + "name": "output_image", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "label": "output_image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Hi_SDXL_Control2Img" + }, + "widgets_values": [ + "", + "", + "Lara Croft with brown hair, and is wearing a tank top, a brown backpack.The room is dark and has an old-fashioned decor with a patterned floor and a wallfeaturing a design with arches and a dark area on the right side, muted color, high detail, 8k high definition award winning", + "underexposed, poorly drawn hands, duplicate hands, overexposed,bad art, beginner, amateur, abstract, disfigured, deformed, close up, weird colors, watermark", + "Euler", + "none", + 383354598672883, + "randomize", + 20, + 12.5, + 1, + "img2img", + 0.5, + 0.99, + 1536, + 2048 + ] + }, + { + "id": 1, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 736, + 654 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 44 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Or_Repo" + }, + "widgets_values": [ + "stabilityai\\stable-diffusion-xl-base-1.0", + "" + ] + }, + { + "id": 2, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 734, + 795 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "repo_id", + "type": "STRING", + "links": [ + 45 + ], + "shape": 3, + "label": "repo_id", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HI_Diffusers_Or_Repo" + }, + "widgets_values": [ + "TheMistoAI\\MistoLine", + "" + ] + }, + { + "id": 21, + "type": "AnyLinePreprocessor", + "pos": [ + 1162, + 280 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 49, + "label": "image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 48, + 50 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "AnyLinePreprocessor" + } + }, + { + "id": 20, + "type": "SaveImage", + "pos": [ + 1532, + 491 + ], + "size": [ + 315, + 270 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "图像" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 18, + "type": "PreviewImage", + "pos": [ + 1552, + 197 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 50, + "label": "图像" + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 4, + "type": "LoadImage", + "pos": [ + 665, + 188 + ], + "size": { + "0": 394.45263671875, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 42, + 49 + ], + "shape": 3, + "label": "图像", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "遮罩" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lara (1).jpeg", + "image" + ] + } + ], + "links": [ + [ + 42, + 4, + 0, + 19, + 0, + "IMAGE" + ], + [ + 44, + 1, + 0, + 19, + 2, + "STRING" + ], + [ + 45, + 2, + 0, + 19, + 3, + "STRING" + ], + [ + 46, + 19, + 0, + 20, + 0, + "IMAGE" + ], + [ + 48, + 21, + 0, + 19, + 1, + "IMAGE" + ], + [ + 49, + 4, + 0, + 21, + 0, + "IMAGE" + ], + [ + 50, + 21, + 0, + 18, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.3310000000000026, + "offset": [ + -472.5145287001144, + -80.78322841845348 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/example/mistoline.png b/example/mistoline.png new file mode 100644 index 0000000..ca12eba Binary files /dev/null and b/example/mistoline.png differ diff --git a/example/openpose.json b/example/openpose.json index 01640e8..1c27a01 100644 --- a/example/openpose.json +++ b/example/openpose.json @@ -1,56 +1,200 @@ { - "last_node_id": 54, - "last_link_id": 73, + "last_node_id": 15, + "last_link_id": 31, "nodes": [ { - "id": 42, - "type": "LoadImage", + "id": 1, + "type": "HI_Diffusers_Or_Repo", "pos": [ - 1388, - 684 + 709, + 620 ], "size": { "0": 315, - "1": 314 + "1": 82 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "repo_id", + "type": "STRING", "links": [ - 67, - 68 + 24 ], "shape": 3, - "label": "图像", + "label": "repo_id", "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3, - "label": "遮罩", - "slot_index": 1 } ], "properties": { - "Node name for S&R": "LoadImage" + "Node name for S&R": "HI_Diffusers_Or_Repo" }, "widgets_values": [ - "lara.jpeg", - "image" + "stabilityai\\stable-diffusion-xl-base-1.0", + "" ] }, { - "id": 43, - "type": "Diffusers_Or_Repo_Choice", + "id": 11, + "type": "Hi_SDXL_Control2Img", "pos": [ - 1402.67490234375, - 1166.5250732421878 + 1093, + 437 + ], + "size": [ + 400, + 458 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 20, + "label": "image" + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 21, + "label": "control_image" + }, + { + "name": "mask_image", + "type": "IMAGE", + "link": 29, + "label": "mask_image" + }, + { + "name": "repo_id", + "type": "STRING", + "link": 24, + "widget": { + "name": "repo_id" + } + }, + { + "name": "controlnet_repo_id", + "type": "STRING", + "link": 25, + "widget": { + "name": "controlnet_repo_id" + }, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "output_image", + "type": "IMAGE", + "links": [ + 27 + ], + "shape": 3, + "label": "output_image", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Hi_SDXL_Control2Img" + }, + "widgets_values": [ + "", + "", + "Lara Croft with brown hair, and is wearing a tank top, a brown backpack.The room is dark and has an old-fashioned decor with a patterned floor and a wallfeaturing a design with arches and a dark area on the right side, muted color, high detail, 8k high definition award winning", + "underexposed, poorly drawn hands, duplicate hands, overexposed,bad art, beginner, amateur, abstract, disfigured, deformed, close up, weird colors, watermark", + "Euler", + "none", + 589499134882073, + "randomize", + 20, + 12.5, + 1, + "text2img", + 0.5, + 0.99, + 2048, + 2048 + ] + }, + { + "id": 14, + "type": "PreviewImage", + "pos": [ + 1112, + 107 + ], + "size": [ + 380.4094116191245, + 252.41598609314417 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 31, + "label": "图像" + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 15, + "type": "Scribble_PiDiNet_Preprocessor", + "pos": [ + 705, + 481 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 30, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 31 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Scribble_PiDiNet_Preprocessor" + }, + "widgets_values": [ + "enable", + 512 + ] + }, + { + "id": 2, + "type": "HI_Diffusers_Or_Repo", + "pos": [ + 721, + 762 ], "size": { "0": 315, @@ -64,7 +208,7 @@ "name": "repo_id", "type": "STRING", "links": [ - 65 + 25 ], "shape": 3, "label": "repo_id", @@ -72,232 +216,36 @@ } ], "properties": { - "Node name for S&R": "Diffusers_Or_Repo_Choice" + "Node name for S&R": "HI_Diffusers_Or_Repo" }, "widgets_values": [ - "xinsir\\controlnet-openpose-sdxl-1.0", + "xinsir\\controlnet-scribble-sdxl-1.0", "" ] }, { - "id": 54, - "type": "Diffusers_Or_Repo_Choice", + "id": 4, + "type": "LoadImage", "pos": [ - 1401, - 1046 + 668, + 89 + ], + "size": [ + 394.45263671875, + 314 ], - "size": { - "0": 315, - "1": 82 - }, "flags": {}, "order": 2, "mode": 0, - "outputs": [ - { - "name": "repo_id", - "type": "STRING", - "links": [ - 73 - ], - "shape": 3, - "label": "repo_id", - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "Diffusers_Or_Repo_Choice" - }, - "widgets_values": [ - "diffusers\\stable-diffusion-xl-1.0-inpainting-0.1", - "stabilityai/stable-diffusion-xl-base-1.0" - ] - }, - { - "id": 51, - "type": "PreviewImage", - "pos": [ - 1848, - 380 - ], - "size": [ - 334.02356190653336, - 246 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 61, - "label": "图像" - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 49, - "type": "OpenposePreprocessor", - "pos": [ - 1456, - 462 - ], - "size": { - "0": 315, - "1": 150 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 72, - "label": "图像", - "slot_index": 0 - } - ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ - 61, - 69 - ], - "shape": 3, - "label": "图像", - "slot_index": 0 - }, - { - "name": "POSE_KEYPOINT", - "type": "POSE_KEYPOINT", - "links": null, - "shape": 3, - "label": "姿态关键点" - } - ], - "properties": { - "Node name for S&R": "OpenposePreprocessor" - }, - "widgets_values": [ - "enable", - "enable", - "enable", - 512 - ] - }, - { - "id": 52, - "type": "Hi_Control2Img", - "pos": [ - 1795, - 672 - ], - "size": { - "0": 378.0284118652344, - "1": 585.3239135742188 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 67, - "label": "image" - }, - { - "name": "control_image", - "type": "IMAGE", - "link": 68, - "label": "control_image" - }, - { - "name": "mask_image", - "type": "IMAGE", - "link": 69, - "label": "mask_image" - }, - { - "name": "repo_id", - "type": "STRING", - "link": 73, - "widget": { - "name": "repo_id" - }, - "label": "repo_id" - }, - { - "name": "controlnet_repo_id", - "type": "STRING", - "link": 65, - "widget": { - "name": "controlnet_repo_id" - }, - "label": "controlnet_repo_id" - } - ], - "outputs": [ - { - "name": "output_image", - "type": "IMAGE", - "links": [ - 70 - ], - "shape": 3, - "label": "output_image", - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "Hi_Control2Img" - }, - "widgets_values": [ - "", - "", - "Lara Croft with brown hair, and is wearing a tank top, a brown backpack.The room is dark and has an old-fashioned decor with a patterned floor and a wallfeaturing a design with arches and a dark area on the right side, muted color, high detail, 8k high definition award winning", - "underexposed, poorly drawn hands, duplicate hands, overexposed,bad art, beginner, amateur, abstract, disfigured, deformed, close up, weird colors, watermark", - "Euler a", - "diffusion_pytorch_model.safetensors", - 630581415713046, - "randomize", - 20, - 7, - 1, - "text2img", - 0.5, - 0.99, - 1536, - 2048 - ] - }, - { - "id": 50, - "type": "LoadImage", - "pos": [ - 2212, - 325 - ], - "size": { - "0": 315, - "1": 314 - }, - "flags": {}, - "order": 3, - "mode": 0, - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 71 + 20, + 21, + 29, + 30 ], "shape": 3, "label": "图像", @@ -315,96 +263,29 @@ "Node name for S&R": "LoadImage" }, "widgets_values": [ - "jhk-1706277214840.jpg", + "lara (1).jpeg", "image" ] }, { - "id": 53, - "type": "ImageScale", + "id": 13, + "type": "SaveImage", "pos": [ - 2300, - 686 + 1532, + 443 + ], + "size": [ + 349.09122980094276, + 294.37053154768955 ], - "size": { - "0": 315, - "1": 130 - }, "flags": {}, "order": 5, "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 71, - "label": "图像" - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 72 - ], - "shape": 3, - "label": "图像", - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ImageScale" - }, - "widgets_values": [ - "nearest-exact", - 2048, - 1536, - "center" - ] - }, - { - "id": 28, - "type": "Note", - "pos": [ - 768, - 153 - ], - "size": { - "0": 568.2068481445312, - "1": 1102.5286865234375 - }, - "flags": {}, - "order": 4, - "mode": 0, - "properties": { - "text": "" - }, - "widgets_values": [ - "stabilityai/stable-diffusion-xl-base-1.0\nprompt = Standing tall amidst the ruins, a stone golem awakens, vines and flowers sprouting from the crevices in its body.\n\nnegative_prompt = blurry, ugly, duplicate, poorly drawn face, deformed, mosaic, artifacts, bad limbs\n\nguidance_scale=7.5,\nheight=2048, \nwidth=2048,\neta=1.0\nsteps=50\n\nstabilityai/sdxl-turbo\nprompt = In the depths of a mystical forest, a robotic owl with night vision lenses for eyes watches over the nocturnal creatures.\n\nsteps=4,\nheight=1024, \nwidth=1024, \nguidance_scale=0.0\n\nstabilityai/stable-diffusion-2-1-base\nprompt = An adorable happy brown border collie sitting on a bed, high detail.\n\nnegative_prompt = ugly, tiling, out of frame, poorly drawn face, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, artifacts, bad proportions.\n\nguidance_scale=7.5, height=1024,\nwidth=1024, \neta=1.0, \n\nrunwayml/stable-diffusion-v1-5\nprompt = thick strokes, bright colors, an exotic fox, cute, chibi kawaii. detailed fur, hyperdetailed , big reflective eyes, fairytale, artstation,centered composition, perfect composition, centered, vibrant colors, muted colors, high detailed, 8k.\n\nnegative_prompt = ugly, tiling, poorly drawn face, out of frame, disfigured, deformed, blurry, bad anatomy, blurred.\n\nguidance_scale=7.5,\nheight=1024,\nwidth=1024, \neta=1.0, \n\ndiffusers/controlnet-canny-sdxl-1.0\ntext2img\nprompt = The Joker, high face detail, high detail, muted color, 8k\n\nnegative_prompt = blurry, ugly, duplicate, poorly drawn, deformed, mosaic.\ncontrolnet_conditioning_scale = 0.5\nheight=2048,\nwidth=2048, \nguidance_scale=7.5,\neta=1.0\n\ndiffusers/controlnet-canny-sdxl-1.0\nimg2img\nprompt = Lara Croft with brown hair, and is wearing a tank top, a brown backpack. The room is dark and has an old-fashioned decor with a patterned floor and a wall featuring a design with arches and a dark area on the right side, muted color, high detail, 8k high definition award winning\n\nnegative_prompt = underexposed, poorly drawn hands, duplicate hands, overexposed, bad art, beginner, amateur, abstract, disfigured, deformed, close up, weird colors, watermark\n\ncontrolnet_conditioning_scale = 0.5\nheight=1536,\nwidth=2048,\nstrength=0.99,\nsteps=50,\nguidance_scale=12.5,\neta=1.0\n\ndiffusers/stable-diffusion-xl-1.0-inpainting-0.1\nprompt = A steampunk explorer in a leather aviator cap and goggles, with a brass telescope in hand, stands amidst towering ancient trees, their roots entwined with intricate gears and pipes.\n\nnegative_prompt = blurry, ugly, duplicate, poorly drawn, deformed, mosaic\n\n\nheight=2048,\nwidth=2048,\nstrength=0.85, \nguidance_scale=12.5,\n eta=1.0\n\n\nsdxl_lightning_list = [\n \"sdxl_lightning_1step_unet_x0.safetensors\",\n \"sdxl_lightning_2step_unet.safetensors\",\n \"sdxl_lightning_4step_unet.safetensors\",\n \"sdxl_lightning_8step_unet.safetensors\"\n \"Hyper-SDXL-1step-Unet.safetensors\",\n \"lcm-sdxl-base-1.0.safetensors\"\n]\n\n\nopenpose XL xinsir/controlnet-openpose-sdxl-1.0\n\n" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 35, - "type": "SaveImage", - "pos": [ - 2276, - 860 - ], - "size": { - "0": 342.4668273925781, - "1": 371.18951416015625 - }, - "flags": {}, - "order": 9, - "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 70, + "link": 27, "label": "图像" } ], @@ -416,99 +297,78 @@ ], "links": [ [ - 61, - 49, - 0, - 51, - 0, - "IMAGE" - ], - [ - 65, - 43, - 0, - 52, + 20, 4, - "STRING" - ], - [ - 67, - 42, 0, - 52, + 11, 0, "IMAGE" ], [ - 68, - 42, + 21, + 4, 0, - 52, + 11, 1, "IMAGE" ], [ - 69, - 49, + 24, + 1, 0, - 52, + 11, + 3, + "STRING" + ], + [ + 25, + 2, + 0, + 11, + 4, + "STRING" + ], + [ + 27, + 11, + 0, + 13, + 0, + "IMAGE" + ], + [ + 29, + 4, + 0, + 11, 2, "IMAGE" ], [ - 70, - 52, + 30, + 4, 0, - 35, + 15, 0, "IMAGE" ], [ - 71, - 50, + 31, + 15, 0, - 53, + 14, 0, "IMAGE" - ], - [ - 72, - 53, - 0, - 49, - 0, - "IMAGE" - ], - [ - 73, - 54, - 0, - 52, - 3, - "STRING" ] ], - "groups": [ - { - "title": "Group", - "bounding": [ - 1370, - 635, - 1374, - 630 - ], - "color": "#3f789e", - "font_size": 24, - "locked": false - } - ], + "groups": [], "config": {}, "extra": { "ds": { - "scale": 0.9090909090909091, + "scale": 1.1000000000000003, "offset": [ - -855.3767321885216, - -206.54977295758715 + -345.4994462246429, + 114.9118644700478 ] } },