diff --git a/example_workflows/example.png b/example_workflows/example.png new file mode 100644 index 0000000..2edfde3 Binary files /dev/null and b/example_workflows/example.png differ diff --git a/example_workflows/stable_x_example_01.json b/example_workflows/stable_x_example_01.json new file mode 100644 index 0000000..349c083 --- /dev/null +++ b/example_workflows/stable_x_example_01.json @@ -0,0 +1,773 @@ +{ + "last_node_id": 85, + "last_link_id": 155, + "nodes": [ + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 413, + 389 + ], + "size": [ + 425.27801513671875, + 180.6060791015625 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 6 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "text, watermark" + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 415, + 186 + ], + "size": [ + 422.84503173828125, + 164.31304931640625 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 3 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 4 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "beautiful scenery nature glass bottle landscape, , purple galaxy bottle," + ] + }, + { + "id": 5, + "type": "EmptyLatentImage", + "pos": [ + 473, + 609 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 2 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 3, + "type": "KSampler", + "pos": [ + 863, + 186 + ], + "size": [ + 315, + 262 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 4 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 6 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 7 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 169233964324380, + "randomize", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 1209, + 188 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 7 + }, + { + "name": "vae", + "type": "VAE", + "link": 8 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 1451, + 189 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 9 + } + ], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 4, + "type": "CheckpointLoaderSimple", + "pos": [ + 26, + 474 + ], + "size": [ + 315, + 98 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1 + ], + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 3, + 5 + ], + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 8 + ], + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "v1-5-pruned-emaonly.ckpt" + ] + }, + { + "id": 78, + "type": "DownloadAndLoadStableXModel", + "pos": [ + 2347.245361328125, + -642.8358154296875 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "pipeline", + "type": "YOSOPIPE", + "links": [ + 147 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadStableXModel" + }, + "widgets_values": [ + "yoso-normal-v1-8-1" + ] + }, + { + "id": 82, + "type": "DownloadAndLoadStableXModel", + "pos": [ + 2352.084716796875, + -510.7330322265625 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "pipeline", + "type": "YOSOPIPE", + "links": [ + 150 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadStableXModel" + }, + "widgets_values": [ + "yoso-delight-v0-4-base" + ] + }, + { + "id": 80, + "type": "PreviewImage", + "pos": [ + 2843.205078125, + -405.0603332519531 + ], + "size": [ + 528.091064453125, + 709.6099853515625 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 149 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 79, + "type": "StableXProcessImage", + "pos": [ + 2904.255615234375, + -622.2695922851562 + ], + "size": [ + 315, + 150 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "pipeline", + "type": "YOSOPIPE", + "link": 147 + }, + { + "name": "image", + "type": "IMAGE", + "link": 148 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 149 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "StableXProcessImage" + }, + "widgets_values": [ + 2048, + 1, + 42, + "fixed" + ] + }, + { + "id": 81, + "type": "StableXProcessImage", + "pos": [ + 3497.675537109375, + -634.9710693359375 + ], + "size": [ + 315, + 150 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "pipeline", + "type": "YOSOPIPE", + "link": 150 + }, + { + "name": "image", + "type": "IMAGE", + "link": 152 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 151, + 153 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "StableXProcessImage" + }, + "widgets_values": [ + 2048, + 1, + 42, + "fixed" + ] + }, + { + "id": 83, + "type": "PreviewImage", + "pos": [ + 3390.776123046875, + -395.88482666015625 + ], + "size": [ + 495.3140869140625, + 700.3353881835938 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 151 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 84, + "type": "DifferenceExtractorNode", + "pos": [ + 3902.17431640625, + -564.906494140625 + ], + "size": [ + 315, + 78 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "original_image", + "type": "IMAGE", + "link": 154 + }, + { + "name": "processed_image", + "type": "IMAGE", + "link": 153 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 155 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "DifferenceExtractorNode" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 85, + "type": "PreviewImage", + "pos": [ + 3900.7275390625, + -392.9959411621094 + ], + "size": [ + 496.0362243652344, + 686.6114501953125 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 155 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 37, + "type": "LoadImage", + "pos": [ + 2350.734619140625, + -404.9337463378906 + ], + "size": [ + 466.4726257324219, + 708.0732421875 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 148, + 152, + 154 + ], + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_temp_lhgah_00059_.png", + "image" + ] + } + ], + "links": [ + [ + 1, + 4, + 0, + 3, + 0, + "MODEL" + ], + [ + 2, + 5, + 0, + 3, + 3, + "LATENT" + ], + [ + 3, + 4, + 1, + 6, + 0, + "CLIP" + ], + [ + 4, + 6, + 0, + 3, + 1, + "CONDITIONING" + ], + [ + 5, + 4, + 1, + 7, + 0, + "CLIP" + ], + [ + 6, + 7, + 0, + 3, + 2, + "CONDITIONING" + ], + [ + 7, + 3, + 0, + 8, + 0, + "LATENT" + ], + [ + 8, + 4, + 2, + 8, + 1, + "VAE" + ], + [ + 9, + 8, + 0, + 9, + 0, + "IMAGE" + ], + [ + 147, + 78, + 0, + 79, + 0, + "YOSOPIPE" + ], + [ + 148, + 37, + 0, + 79, + 1, + "IMAGE" + ], + [ + 149, + 79, + 0, + 80, + 0, + "IMAGE" + ], + [ + 150, + 82, + 0, + 81, + 0, + "YOSOPIPE" + ], + [ + 151, + 81, + 0, + 83, + 0, + "IMAGE" + ], + [ + 152, + 37, + 0, + 81, + 1, + "IMAGE" + ], + [ + 153, + 81, + 0, + 84, + 1, + "IMAGE" + ], + [ + 154, + 37, + 0, + 84, + 0, + "IMAGE" + ], + [ + 155, + 84, + 0, + 85, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9229599817706423, + "offset": [ + -2071.105242315021, + 766.9017280604901 + ] + }, + "node_versions": { + "comfy-core": "0.3.12" + }, + "VHS_latentpreview": true, + "VHS_latentpreviewrate": 0 + }, + "version": 0.4 +} \ No newline at end of file diff --git a/readme.md b/readme.md index 247b067..c3d985b 100644 --- a/readme.md +++ b/readme.md @@ -2,4 +2,6 @@ https://github.com/Stable-X/StableNormal -https://github.com/Stable-X/StableDelight \ No newline at end of file +https://github.com/Stable-X/StableDelight + +![Example workflow](example_workflows/example.png) \ No newline at end of file