diff --git a/examples/img2imgcontrolnetdual.png b/examples/img2imgcontrolnetdual.png new file mode 100644 index 0000000..fdcea99 Binary files /dev/null and b/examples/img2imgcontrolnetdual.png differ diff --git a/examples/new.json b/examples/new.json new file mode 100644 index 0000000..cd2092d --- /dev/null +++ b/examples/new.json @@ -0,0 +1,576 @@ +{ + "last_node_id": 17, + "last_link_id": 25, + "nodes": [ + { + "id": 8, + "type": "LoadImage", + "pos": [ + 980, + 517 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lecun.JPG", + "image" + ] + }, + { + "id": 6, + "type": "LoadImage", + "pos": [ + 985, + 144 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "gakki.png", + "image" + ] + }, + { + "id": 7, + "type": "ImageBatch", + "pos": [ + 1351, + 398 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 7, + "label": "image1" + }, + { + "name": "image2", + "type": "IMAGE", + "link": 8, + "label": "image2" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 11, + "type": "LoadImage", + "pos": [ + 984, + 522 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lecun.JPG", + "image" + ] + }, + { + "id": 13, + "type": "Canny", + "pos": [ + 1609, + 427 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 15, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 22 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Canny" + }, + "widgets_values": [ + 0.4, + 0.8 + ] + }, + { + "id": 9, + "type": "LoadImage", + "pos": [ + 1591, + 572 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 15 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "1233.png", + "image" + ] + }, + { + "id": 15, + "type": "Storydiffusion_Model_Loader", + "pos": [ + 1595, + -69 + ], + "size": [ + 321.649597171737, + 433.6845643291092 + ], + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 20 + ], + "shape": 3, + "label": "pipe", + "slot_index": 0 + }, + { + "name": "info", + "type": "STRING", + "links": [ + 21 + ], + "shape": 3, + "label": "info", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Model_Loader" + }, + "widgets_values": [ + "", + "0SDXL\\animagineXLV3_v30.safetensors", + "none", + "none", + 0.8, + "best quality", + "Euler", + "img2img", + 2, + 0.5, + 0.5, + 768, + 768, + false + ] + }, + { + "id": 2, + "type": "Storydiffusion_Sampler", + "pos": [ + 2012, + -32 + ], + "size": { + "0": 468.5982360839844, + "1": 769.0436401367188 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 20, + "label": "pipe" + }, + { + "name": "image", + "type": "IMAGE", + "link": 9, + "label": "image", + "slot_index": 1 + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 22, + "label": "control_image" + }, + { + "name": "info", + "type": "STRING", + "link": 21, + "widget": { + "name": "info" + }, + "label": "info" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 23 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [ + 24 + ], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Sampler" + }, + "widgets_values": [ + "", + "[Taylor] a woman img, wearing a white T-shirt, blue loose hair.\n[Lecun] a man img,wearing a suit,black hair.", + "[Taylor]wake up in the bed,medium shot;\n[Taylor]have breakfast by the window;\n[Lecun] drving on the road,medium shot;\n(Taylor and Lecun) is walking ,medium shot;\n[Lecun]work in the company.", + "", + "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn,amputation, disconnected limbs", + "No_style", + 1539288608, + "randomize", + 20, + 7, + 0.5, + 20, + "F:/test/ComfyUI/models/clip_vision/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 0.8, + 0.5, + 5, + false, + "none", + 0.8, + false + ] + }, + { + "id": 17, + "type": "Comic_Type", + "pos": [ + 2662, + 3 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 23, + "label": "image" + }, + { + "name": "scene_prompts", + "type": "STRING", + "link": 24, + "widget": { + "name": "scene_prompts" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 25 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 4, + "type": "SaveImage", + "pos": [ + 2554, + 252 + ], + "size": { + "0": 605.0857543945312, + "1": 490.2661437988281 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 25, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + } + ], + "links": [ + [ + 7, + 6, + 0, + 7, + 0, + "IMAGE" + ], + [ + 8, + 8, + 0, + 7, + 1, + "IMAGE" + ], + [ + 9, + 7, + 0, + 2, + 1, + "IMAGE" + ], + [ + 15, + 9, + 0, + 13, + 0, + "IMAGE" + ], + [ + 20, + 15, + 0, + 2, + 0, + "MODEL" + ], + [ + 21, + 15, + 1, + 2, + 3, + "STRING" + ], + [ + 22, + 13, + 0, + 2, + 2, + "IMAGE" + ], + [ + 23, + 2, + 0, + 17, + 0, + "IMAGE" + ], + [ + 24, + 2, + 1, + 17, + 1, + "STRING" + ], + [ + 25, + 17, + 0, + 4, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8264462809917354, + "offset": [ + -772.5763880808279, + 362.4343993072546 + ] + } + }, + "version": 0.4 +} \ No newline at end of file