From d9fbfc14cb9da8e3a3a6f68375fd7b8b9d53cb84 Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Tue, 9 Jul 2024 20:11:16 +0800 Subject: [PATCH] The latest workflow The latest workflow --- examples/workflow.json | 366 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 366 insertions(+) create mode 100644 examples/workflow.json diff --git a/examples/workflow.json b/examples/workflow.json new file mode 100644 index 0000000..d89471e --- /dev/null +++ b/examples/workflow.json @@ -0,0 +1,366 @@ +{ + "last_node_id": 6, + "last_link_id": 8, + "nodes": [ + { + "id": 5, + "type": "LoadImage", + "pos": [ + 161, + 261 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 6 + ], + "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": 3, + "type": "PreviewImage", + "pos": [ + 1643, + 326 + ], + "size": { + "0": 461.32281494140625, + "1": 251.85438537597656 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3, + "label": "images" + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 2, + "type": "Storydiffusion_Sampler", + "pos": [ + 1070, + 191 + ], + "size": { + "0": 510.9864807128906, + "1": 687.1723022460938 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 1, + "label": "pipe" + }, + { + "name": "image", + "type": "IMAGE", + "link": 8, + "label": "image", + "slot_index": 1 + }, + { + "name": "control_image", + "type": "IMAGE", + "link": null, + "label": "control_image" + }, + { + "name": "info", + "type": "STRING", + "link": 2, + "widget": { + "name": "info" + }, + "label": "info" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 3 + ], + "shape": 3, + "label": "image", + "slot_index": 0 + }, + { + "name": "prompt_array", + "type": "STRING", + "links": null, + "shape": 3, + "label": "prompt_array" + } + ], + "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[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", + 1062807589, + "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": 1, + "type": "Storydiffusion_Model_Loader", + "pos": [ + 643, + 311 + ], + "size": { + "0": 363.1907653808594, + "1": 418.73724365234375 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 1 + ], + "shape": 3, + "label": "pipe", + "slot_index": 0 + }, + { + "name": "info", + "type": "STRING", + "links": [ + 2 + ], + "shape": 3, + "label": "info", + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Storydiffusion_Model_Loader" + }, + "widgets_values": [ + "stabilityai\\stable-diffusion-xl-base-1.0", + "", + "none", + "none", + "none", + 0.8, + "best quality", + "Euler", + "img2img", + 2, + 0.5, + 0.5, + 768, + 768, + false + ] + }, + { + "id": 6, + "type": "ImageBatch", + "pos": [ + 603, + 114 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 7, + "label": "image1" + }, + { + "name": "image2", + "type": "IMAGE", + "link": 6, + "label": "image2" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 3, + "label": "IMAGE", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 4, + "type": "LoadImage", + "pos": [ + 197, + -125 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "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" + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "MODEL" + ], + [ + 2, + 1, + 1, + 2, + 3, + "STRING" + ], + [ + 3, + 2, + 0, + 3, + 0, + "IMAGE" + ], + [ + 6, + 5, + 0, + 6, + 1, + "IMAGE" + ], + [ + 7, + 4, + 0, + 6, + 0, + "IMAGE" + ], + [ + 8, + 6, + 0, + 2, + 1, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": { + "0": -5, + "1": 255 + } + } + }, + "version": 0.4 +} \ No newline at end of file