diff --git a/examples/1imgtoimglora.json b/examples/1imgtoimglora.json new file mode 100644 index 0000000..28c21ea --- /dev/null +++ b/examples/1imgtoimglora.json @@ -0,0 +1,648 @@ +{ + "last_node_id": 47, + "last_link_id": 63, + "nodes": [ + { + "id": 7, + "type": "SaveImage", + "pos": [ + 2863, + 418 + ], + "size": { + "0": 664.7562866210938, + "1": 678.5906372070312 + }, + "flags": {}, + "order": 10, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 7, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 12, + "type": "ImageBatch", + "pos": [ + 1601, + 141 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 4, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 9, + "label": "image1", + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 10, + "label": "image2", + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 13, + "type": "LoadImage", + "pos": [ + 1455, + 248 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "gakki.png", + "image" + ] + }, + { + "id": 14, + "type": "LoadImage", + "pos": [ + 1456, + 683 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lecun.png", + "image" + ] + }, + { + "id": 11, + "type": "Comic_Type", + "pos": [ + 2490, + 126 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 8, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 10, + "type": "Storydiffusion_Img2Img", + "pos": [ + 1900, + 153 + ], + "size": { + "0": 520.8131103515625, + "1": 840.9295654296875 + }, + "flags": {}, + "order": 6, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 8, + "label": "image", + "slot_index": 0 + }, + { + "name": "pipe", + "type": "MODEL", + "link": null, + "label": "pipe" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Img2Img" + }, + "widgets_values": [ + "SDXL", + "0SDXL\\Hyper-SDXL-1step-Unet-Comfyui.fp16.safetensors", + "photomaker-v1.bin", + "0sdxl\\stonetoss_xl.safetensors", + "F:/test/ComfyUI/models/clip_vision/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 1, + "stonetoss", + "[Gakki]a woman img, wearing a white T-shirt, blue loose hair;\n[Lecun]a man img, wearing a blue suit,black hair;\n", + "[Gakki]wake up in the bed;\n[Gakki]have breakfast by the window;\n[Lecun]is walking on the road, go to company;\n(Lecun and Gakki)have lunch;\n[Lecun]work in the company.", + 2, + "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", + "Euler", + "No_style", + 0.5, + 0.5 + ] + }, + { + "id": 43, + "type": "Comic_Type", + "pos": [ + 5597, + 356 + ], + "size": { + "0": 249.27609252929688, + "1": 188.86729431152344 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 62, + "label": "image" + }, + { + "name": "scene_prompts", + "type": "STRING", + "link": 63, + "widget": { + "name": "scene_prompts" + }, + "slot_index": 1, + "label": "scene_prompts" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 52 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 44, + "type": "SaveImage", + "pos": [ + 5561, + 616 + ], + "size": { + "0": 424.1771545410156, + "1": 319.6163635253906 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 52, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 46, + "type": "LoadImage", + "pos": [ + 4680, + 241 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 59 + ], + "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": 47, + "type": "Storydiffusion_Img2Img", + "pos": [ + 5103, + 393 + ], + "size": { + "0": 407.0439147949219, + "1": 622.4889526367188 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 59, + "label": "image" + }, + { + "name": "pipe", + "type": "MODEL", + "link": 60, + "label": "pipe", + "slot_index": 1 + }, + { + "name": "info", + "type": "STRING", + "link": 61, + "widget": { + "name": "info" + }, + "label": "info" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 62 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [ + 63 + ], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Img2Img" + }, + "widgets_values": [ + "", + "[Taylor]a woman img, wearing a white T-shirt, blue loose hair.", + "[Taylor]wake up in the bed;\n[Taylor]have breakfast by the window;\n[Taylor]is walking on the road, go to company;\n[Taylor]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,animate, amputation, disconnected limbs", + "No_style", + 2045584854, + "randomize", + 20, + 7, + 0.5, + 20, + "laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 0.8, + 0.5, + 5 + ] + }, + { + "id": 41, + "type": "Storydiffusion_Model_Loader", + "pos": [ + 4601, + 639 + ], + "size": { + "0": 418.89813232421875, + "1": 376.2427673339844 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 60 + ], + "shape": 3, + "label": "pipe", + "slot_index": 0 + }, + { + "name": "info", + "type": "STRING", + "links": [ + 61 + ], + "shape": 3, + "label": "info", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Model_Loader" + }, + "widgets_values": [ + "SDXL", + "0SDXL\\Hyper-SDXL-1step-Unet-Comfyui.fp16.safetensors", + "none", + "0sdxl\\Anime_Haute_Illus-000014.safetensors", + 0.8, + "Haute", + "Euler", + "Photomaker", + 1, + 0.5, + 0.5, + 768, + 768 + ] + } + ], + "links": [ + [ + 5, + 10, + 0, + 11, + 0, + "IMAGE" + ], + [ + 7, + 11, + 0, + 7, + 0, + "IMAGE" + ], + [ + 8, + 12, + 0, + 10, + 0, + "IMAGE" + ], + [ + 9, + 13, + 0, + 12, + 0, + "IMAGE" + ], + [ + 10, + 14, + 0, + 12, + 1, + "IMAGE" + ], + [ + 52, + 43, + 0, + 44, + 0, + "IMAGE" + ], + [ + 59, + 46, + 0, + 47, + 0, + "IMAGE" + ], + [ + 60, + 41, + 0, + 47, + 1, + "MODEL" + ], + [ + 61, + 41, + 1, + 47, + 2, + "STRING" + ], + [ + 62, + 47, + 0, + 43, + 0, + "IMAGE" + ], + [ + 63, + 47, + 1, + 43, + 1, + "STRING" + ] + ], + "groups": [ + { + "title": "Group", + "bounding": [ + 1426, + -54, + 2135, + 1225 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 1.3513057093104301, + "offset": [ + -4585.218145385151, + -208.36274762475358 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/1imgtoimglora.png b/examples/1imgtoimglora.png new file mode 100644 index 0000000..dc792db Binary files /dev/null and b/examples/1imgtoimglora.png differ diff --git a/examples/2img2imglora.json b/examples/2img2imglora.json new file mode 100644 index 0000000..a430f0e --- /dev/null +++ b/examples/2img2imglora.json @@ -0,0 +1,750 @@ +{ + "last_node_id": 51, + "last_link_id": 78, + "nodes": [ + { + "id": 7, + "type": "SaveImage", + "pos": [ + 2863, + 418 + ], + "size": { + "0": 664.7562866210938, + "1": 678.5906372070312 + }, + "flags": {}, + "order": 11, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 7, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 12, + "type": "ImageBatch", + "pos": [ + 1601, + 141 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 5, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 9, + "label": "image1", + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 10, + "label": "image2", + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 13, + "type": "LoadImage", + "pos": [ + 1455, + 248 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "gakki.png", + "image" + ] + }, + { + "id": 14, + "type": "LoadImage", + "pos": [ + 1456, + 683 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lecun.png", + "image" + ] + }, + { + "id": 11, + "type": "Comic_Type", + "pos": [ + 2490, + 126 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 9, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 10, + "type": "Storydiffusion_Img2Img", + "pos": [ + 1900, + 153 + ], + "size": { + "0": 520.8131103515625, + "1": 840.9295654296875 + }, + "flags": {}, + "order": 7, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 8, + "label": "image", + "slot_index": 0 + }, + { + "name": "pipe", + "type": "MODEL", + "link": null, + "label": "pipe" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Img2Img" + }, + "widgets_values": [ + "SDXL", + "0SDXL\\Hyper-SDXL-1step-Unet-Comfyui.fp16.safetensors", + "photomaker-v1.bin", + "0sdxl\\stonetoss_xl.safetensors", + "F:/test/ComfyUI/models/clip_vision/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 1, + "stonetoss", + "[Gakki]a woman img, wearing a white T-shirt, blue loose hair;\n[Lecun]a man img, wearing a blue suit,black hair;\n", + "[Gakki]wake up in the bed;\n[Gakki]have breakfast by the window;\n[Lecun]is walking on the road, go to company;\n(Lecun and Gakki)have lunch;\n[Lecun]work in the company.", + 2, + "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", + "Euler", + "No_style", + 0.5, + 0.5 + ] + }, + { + "id": 44, + "type": "SaveImage", + "pos": [ + 5648, + 634 + ], + "size": { + "0": 424.1771545410156, + "1": 319.6163635253906 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 52, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 43, + "type": "Comic_Type", + "pos": [ + 5720, + 357 + ], + "size": { + "0": 249.27609252929688, + "1": 188.86729431152344 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 77, + "label": "image" + }, + { + "name": "scene_prompts", + "type": "STRING", + "link": 78, + "widget": { + "name": "scene_prompts" + }, + "slot_index": 1, + "label": "scene_prompts" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 52 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 46, + "type": "LoadImage", + "pos": [ + 4406, + 243 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 64 + ], + "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": 48, + "type": "LoadImage", + "pos": [ + 4403, + 603 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 65 + ], + "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.png", + "image" + ] + }, + { + "id": 41, + "type": "Storydiffusion_Model_Loader", + "pos": [ + 4755, + 590 + ], + "size": { + "0": 416.109619140625, + "1": 393.12432861328125 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 75 + ], + "shape": 3, + "label": "pipe", + "slot_index": 0 + }, + { + "name": "info", + "type": "STRING", + "links": [ + 76 + ], + "shape": 3, + "label": "info", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Model_Loader" + }, + "widgets_values": [ + "Use_Single_XL_Model", + "0SDXL\\juggernautXL_v8Rundiffusion.safetensors", + "none", + "0sdxl\\Hyper-SDXL-8steps-CFG-lora.safetensors", + 0.8, + "Pop", + "Euler", + "Photomaker", + 2, + 0.5, + 0.5, + 768, + 768 + ] + }, + { + "id": 49, + "type": "ImageBatch", + "pos": [ + 4867, + 319 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 64, + "label": "image1", + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 65, + "label": "image2" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 74 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 51, + "type": "Storydiffusion_Img2Img", + "pos": [ + 5210, + 436 + ], + "size": [ + 387.5137183185716, + 613.2374371620679 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 74, + "label": "image" + }, + { + "name": "pipe", + "type": "MODEL", + "link": 75, + "label": "pipe", + "slot_index": 1 + }, + { + "name": "info", + "type": "STRING", + "link": 76, + "widget": { + "name": "info" + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 77 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [ + 78 + ], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Img2Img" + }, + "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;\n[Taylor]have breakfast by the window;\n[Lecun]is walking on the road, go to company;\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,animate, amputation, disconnected limbs", + "No_style", + 1430863242, + "randomize", + 20, + 7, + 0.5, + 20, + "laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 0.8, + 0.5, + 5 + ] + } + ], + "links": [ + [ + 5, + 10, + 0, + 11, + 0, + "IMAGE" + ], + [ + 7, + 11, + 0, + 7, + 0, + "IMAGE" + ], + [ + 8, + 12, + 0, + 10, + 0, + "IMAGE" + ], + [ + 9, + 13, + 0, + 12, + 0, + "IMAGE" + ], + [ + 10, + 14, + 0, + 12, + 1, + "IMAGE" + ], + [ + 52, + 43, + 0, + 44, + 0, + "IMAGE" + ], + [ + 64, + 46, + 0, + 49, + 0, + "IMAGE" + ], + [ + 65, + 48, + 0, + 49, + 1, + "IMAGE" + ], + [ + 74, + 49, + 0, + 51, + 0, + "IMAGE" + ], + [ + 75, + 41, + 0, + 51, + 1, + "MODEL" + ], + [ + 76, + 41, + 1, + 51, + 2, + "STRING" + ], + [ + 77, + 51, + 0, + 43, + 0, + "IMAGE" + ], + [ + 78, + 51, + 1, + 43, + 1, + "STRING" + ] + ], + "groups": [ + { + "title": "Group", + "bounding": [ + 1426, + -54, + 2135, + 1225 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 1.1167815779425079, + "offset": [ + -4394.759861361208, + -194.6272750025508 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/2imgtoimglightinglora.png b/examples/2imgtoimglightinglora.png new file mode 100644 index 0000000..73e0a51 Binary files /dev/null and b/examples/2imgtoimglightinglora.png differ diff --git a/examples/txt2imglora2role.png b/examples/txt2imglora2role.png new file mode 100644 index 0000000..3e7c397 Binary files /dev/null and b/examples/txt2imglora2role.png differ diff --git a/examples/txt2imgloraand2role.json b/examples/txt2imgloraand2role.json new file mode 100644 index 0000000..f36de4a --- /dev/null +++ b/examples/txt2imgloraand2role.json @@ -0,0 +1,587 @@ +{ + "last_node_id": 44, + "last_link_id": 52, + "nodes": [ + { + "id": 7, + "type": "SaveImage", + "pos": [ + 2863, + 418 + ], + "size": { + "0": 664.7562866210938, + "1": 678.5906372070312 + }, + "flags": {}, + "order": 9, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 7, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 12, + "type": "ImageBatch", + "pos": [ + 1601, + 141 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 3, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 9, + "label": "image1", + "slot_index": 0 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 10, + "label": "image2", + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 13, + "type": "LoadImage", + "pos": [ + 1455, + 248 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "gakki.png", + "image" + ] + }, + { + "id": 14, + "type": "LoadImage", + "pos": [ + 1456, + 683 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lecun.png", + "image" + ] + }, + { + "id": 11, + "type": "Comic_Type", + "pos": [ + 2490, + 126 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 7, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 10, + "type": "Storydiffusion_Img2Img", + "pos": [ + 1900, + 153 + ], + "size": { + "0": 520.8131103515625, + "1": 840.9295654296875 + }, + "flags": {}, + "order": 5, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 8, + "label": "image", + "slot_index": 0 + }, + { + "name": "pipe", + "type": "MODEL", + "link": null, + "label": "pipe" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": [], + "shape": 3, + "label": "prompt_array", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Img2Img" + }, + "widgets_values": [ + "SDXL", + "0SDXL\\Hyper-SDXL-1step-Unet-Comfyui.fp16.safetensors", + "photomaker-v1.bin", + "0sdxl\\stonetoss_xl.safetensors", + "F:/test/ComfyUI/models/clip_vision/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 1, + "stonetoss", + "[Gakki]a woman img, wearing a white T-shirt, blue loose hair;\n[Lecun]a man img, wearing a blue suit,black hair;\n", + "[Gakki]wake up in the bed;\n[Gakki]have breakfast by the window;\n[Lecun]is walking on the road, go to company;\n(Lecun and Gakki)have lunch;\n[Lecun]work in the company.", + 2, + "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", + "Euler", + "No_style", + 0.5, + 0.5 + ] + }, + { + "id": 43, + "type": "Comic_Type", + "pos": [ + 5597, + 356 + ], + "size": [ + 249.2760959192201, + 188.86729305842522 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 50, + "label": "image" + }, + { + "name": "scene_prompts", + "type": "STRING", + "link": 51, + "widget": { + "name": "scene_prompts" + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 52 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Comic_Type" + }, + "widgets_values": [ + "", + "Inkfree.ttf", + 40, + "Four_Pannel", + ";" + ] + }, + { + "id": 42, + "type": "Storydiffusion_Text2Img", + "pos": [ + 5085.0490539516795, + 361.99946544224906 + ], + "size": [ + 430.43500068522917, + 584.8414138639015 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 48, + "label": "pipe" + }, + { + "name": "info", + "type": "STRING", + "link": 49, + "widget": { + "name": "info" + } + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 50 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "scene_prompts", + "type": "STRING", + "links": [ + 51 + ], + "shape": 3, + "label": "scene_prompts" + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Text2Img" + }, + "widgets_values": [ + "", + "[Bob] A man, wearing a black sui,\n[Alice]a woman, wearing a white shirt.", + "[Bob] at home, read new paper #at home, The newspaper says there is a treasure house in the forest;\n[Bob] on the road, near the forest;\n[Alice] is make a call at home;\n[NC]A tiger appeared in the forest, at night;\n(Bob and Alice)He is overjoyed inside the house;\n[Alice] very frightened, open mouth, in the forest, at night.", + "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,animate, amputation, disconnected limbs", + "No_style", + 903430268, + "randomize", + 20, + 7, + "F:/test/ComfyUI/models/clip_vision/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k", + 0.8, + 0.5, + 5 + ] + }, + { + "id": 41, + "type": "Storydiffusion_Model_Loader", + "pos": [ + 4627, + 367 + ], + "size": [ + 418.8981210958591, + 376.24275591506773 + ], + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 48 + ], + "shape": 3, + "label": "pipe", + "slot_index": 0 + }, + { + "name": "info", + "type": "STRING", + "links": [ + 49 + ], + "shape": 3, + "label": "info", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Model_Loader" + }, + "widgets_values": [ + "SDXL", + "0SDXL\\Hyper-SDXL-1step-Unet-Comfyui.fp16.safetensors", + "none", + "0sdxl\\Anime_Haute_Illus-000014.safetensors", + 0.8, + "Haute", + "Euler", + "original", + 2, + 0.5, + 0.5, + 768, + 768 + ] + }, + { + "id": 44, + "type": "SaveImage", + "pos": [ + 5561, + 616 + ], + "size": [ + 424.1771541103317, + 319.6163514361532 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 52, + "label": "images" + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + } + ], + "links": [ + [ + 5, + 10, + 0, + 11, + 0, + "IMAGE" + ], + [ + 7, + 11, + 0, + 7, + 0, + "IMAGE" + ], + [ + 8, + 12, + 0, + 10, + 0, + "IMAGE" + ], + [ + 9, + 13, + 0, + 12, + 0, + "IMAGE" + ], + [ + 10, + 14, + 0, + 12, + 1, + "IMAGE" + ], + [ + 48, + 41, + 0, + 42, + 0, + "MODEL" + ], + [ + 49, + 41, + 1, + 42, + 1, + "STRING" + ], + [ + 50, + 42, + 0, + 43, + 0, + "IMAGE" + ], + [ + 51, + 42, + 1, + 43, + 1, + "STRING" + ], + [ + 52, + 43, + 0, + 44, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "title": "Group", + "bounding": [ + 1426, + -54, + 2135, + 1225 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 1.4864362802414732, + "offset": [ + -4576.557027400396, + -254.93758296768087 + ] + } + }, + "version": 0.4 +} \ No newline at end of file