From 3cebd599c0be5645e604b56909723b07fe71fb61 Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Sun, 6 Oct 2024 10:54:59 +0800 Subject: [PATCH] add --- examples/workflow1006.json | 794 +++++++++++++++++++++++++++++++++++++ 1 file changed, 794 insertions(+) create mode 100644 examples/workflow1006.json diff --git a/examples/workflow1006.json b/examples/workflow1006.json new file mode 100644 index 0000000..886feb7 --- /dev/null +++ b/examples/workflow1006.json @@ -0,0 +1,794 @@ +{ + "last_node_id": 37, + "last_link_id": 61, + "nodes": [ + { + "id": 3, + "type": "SaveImage", + "pos": { + "0": 825, + "1": 10 + }, + "size": { + "0": 714.4268798828125, + "1": 818.3370971679688 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 47, + "label": "images" + } + ], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 10, + "type": "PreviewImage", + "pos": { + "0": -616, + "1": 159 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 13, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 20, + "type": "PreviewImage", + "pos": { + "0": -358, + "1": 150 + }, + "size": { + "0": 219.54078674316406, + "1": 267.5321350097656 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 25, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 8, + "type": "ImageCrop", + "pos": { + "0": -5, + "1": 682 + }, + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 9, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 18 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "ImageCrop" + }, + "widgets_values": [ + 512, + 768, + 128, + 0 + ] + }, + { + "id": 18, + "type": "ImageCrop", + "pos": { + "0": 390, + "1": 664 + }, + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 22, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 23 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "ImageCrop" + }, + "widgets_values": [ + 512, + 768, + 128, + 0 + ] + }, + { + "id": 29, + "type": "Storydiffusion_Model_Loader", + "pos": { + "0": -70, + "1": -307 + }, + "size": { + "0": 410.16046142578125, + "1": 683.1024780273438 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 52, + "label": "image" + }, + { + "name": "condition_image", + "type": "IMAGE", + "link": null, + "label": "condition_image" + }, + { + "name": "model", + "type": "MODEL", + "link": null, + "label": "model" + }, + { + "name": "clip", + "type": "CLIP", + "link": null, + "label": "clip" + }, + { + "name": "vae", + "type": "VAE", + "link": null, + "label": "vae" + } + ], + "outputs": [ + { + "name": "model", + "type": "STORY_DICT", + "links": [ + 45 + ], + "slot_index": 0, + "shape": 3, + "label": "model" + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Model_Loader" + }, + "widgets_values": [ + "[Taylor] a woman img, wearing a white T-shirt\n[Lecun] a man img,wearing a suit,black hair.", + "", + "0SDXL\\juggernautXL_v8Rundiffusion.safetensors", + "none", + "none", + "none", + 0.8, + "controlnet-canny-sdxl-1.0.fp16.safetensors", + "clip_vision_H.safetensors", + "best quality", + "euler", + "normal", + 0.5, + 0.5, + 512, + 768, + "v1", + "maker" + ] + }, + { + "id": 34, + "type": "ImageBatch", + "pos": { + "0": -361, + "1": -330 + }, + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 51, + "label": "image1" + }, + { + "name": "image2", + "type": "IMAGE", + "link": 50, + "label": "image2" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 52 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 30, + "type": "Storydiffusion_Sampler", + "pos": { + "0": 365, + "1": -309 + }, + "size": { + "0": 405.3973083496094, + "1": 593.67626953125 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "STORY_DICT", + "link": 45, + "label": "model" + }, + { + "name": "control_image", + "type": "IMAGE", + "link": 59, + "label": "control_image" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 47 + ], + "slot_index": 0, + "shape": 3, + "label": "image" + }, + { + "name": "prompt_array", + "type": "STRING", + "links": null, + "shape": 3, + "label": "prompt_array" + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Sampler" + }, + "widgets_values": [ + "[Taylor] wake up in the bed ;\n[Lecun] is working.\n[Taylor] and [Lecun] is dancing.", + "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", + 759634771, + "randomize", + 20, + 7, + 1, + 20, + 3.5, + 0.5, + 5, + false, + 0.8, + "0., 0.25, 0.4, 0.75;0.6, 0.25, 1., 0.75" + ] + }, + { + "id": 17, + "type": "LoadImage", + "pos": { + "0": -350, + "1": 488 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 22 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ldh.png", + "image" + ] + }, + { + "id": 4, + "type": "LoadImage", + "pos": { + "0": -793, + "1": -234 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 51 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "4.jpg", + "image" + ] + }, + { + "id": 31, + "type": "LoadImage", + "pos": { + "0": -454, + "1": -242 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 50 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "1 (1).jpg", + "image" + ] + }, + { + "id": 6, + "type": "LoadImage", + "pos": { + "0": -677, + "1": 495 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "微信图片_20240912144707.png", + "image" + ] + }, + { + "id": 37, + "type": "ImageBatch", + "pos": { + "0": 496.60723876953125, + "1": 356.7686462402344 + }, + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 60, + "label": "image1" + }, + { + "name": "image2", + "type": "IMAGE", + "link": 61, + "label": "image2" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 59 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 7, + "type": "Canny", + "pos": { + "0": 9, + "1": 522 + }, + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 18, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 13, + 60 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "Canny" + }, + "widgets_values": [ + 0.01, + 0.26 + ] + }, + { + "id": 19, + "type": "Canny", + "pos": { + "0": 382, + "1": 519 + }, + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 23, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 25, + 61 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "Canny" + }, + "widgets_values": [ + 0.01, + 0.26 + ] + } + ], + "links": [ + [ + 9, + 6, + 0, + 8, + 0, + "IMAGE" + ], + [ + 13, + 7, + 0, + 10, + 0, + "IMAGE" + ], + [ + 18, + 8, + 0, + 7, + 0, + "IMAGE" + ], + [ + 22, + 17, + 0, + 18, + 0, + "IMAGE" + ], + [ + 23, + 18, + 0, + 19, + 0, + "IMAGE" + ], + [ + 25, + 19, + 0, + 20, + 0, + "IMAGE" + ], + [ + 45, + 29, + 0, + 30, + 0, + "STORY_DICT" + ], + [ + 47, + 30, + 0, + 3, + 0, + "IMAGE" + ], + [ + 50, + 31, + 0, + 34, + 1, + "IMAGE" + ], + [ + 51, + 4, + 0, + 34, + 0, + "IMAGE" + ], + [ + 52, + 34, + 0, + 29, + 0, + "IMAGE" + ], + [ + 59, + 37, + 0, + 30, + 1, + "IMAGE" + ], + [ + 60, + 7, + 0, + 37, + 0, + "IMAGE" + ], + [ + 61, + 19, + 0, + 37, + 1, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6830134553650707, + "offset": [ + 820.4971319019506, + 376.59903119417345 + ] + } + }, + "version": 0.4 +} \ No newline at end of file