diff --git a/workflows/distributed-txt2img.json b/workflows/distributed-txt2img.json new file mode 100644 index 0000000..b2d7e9b --- /dev/null +++ b/workflows/distributed-txt2img.json @@ -0,0 +1,559 @@ +{ + "id": "c9a4d248-9b83-408f-b45e-3ef61dd56ef5", + "revision": 0, + "last_node_id": 13, + "last_link_id": 19, + "nodes": [ + { + "id": 8, + "type": "KSampler", + "pos": [ + 2190, + 770 + ], + "size": [ + 315, + 262 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 7 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 8 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 9 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 10 + }, + { + "name": "seed", + "type": "INT", + "widget": { + "name": "seed" + }, + "link": 11 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 1 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 361252850620022, + "randomize", + 20, + 6, + "euler", + "normal", + 1 + ] + }, + { + "id": 9, + "type": "EmptyLatentImage", + "pos": [ + 2220, + 1080 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 10 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 1846.3876953125, + 968.6343994140625 + ], + "size": [ + 310, + 180 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 6 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 9 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "text, watermark" + ] + }, + { + "id": 5, + "type": "CLIPTextEncode", + "pos": [ + 1856.3876953125, + 768.6343994140625 + ], + "size": [ + 300, + 160 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 8 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "beautiful scenery nature glass bottle landscape, , purple galaxy bottle," + ] + }, + { + "id": 7, + "type": "CheckpointLoaderSimple", + "pos": [ + 1500, + 780 + ], + "size": [ + 315, + 98 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 7 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 1, + "links": [ + 5, + 6 + ] + }, + { + "name": "VAE", + "type": "VAE", + "slot_index": 2, + "links": [ + 2 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CheckpointLoaderSimple", + "models": [ + { + "name": "v1-5-pruned-emaonly-fp16.safetensors", + "url": "https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/resolve/main/v1-5-pruned-emaonly-fp16.safetensors?download=true", + "directory": "checkpoints" + } + ] + }, + "widgets_values": [ + "SDXL\\juggernautXL_ragnarokBy.safetensors" + ] + }, + { + "id": 1, + "type": "VAEDecode", + "pos": [ + 2530, + 790 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1 + }, + { + "name": "vae", + "type": "VAE", + "link": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 3 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 2, + "type": "DistributedCollector", + "pos": [ + 2690, + 770 + ], + "size": [ + 166.50416564941406, + 26 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 4 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "aux_id": "robertvoy/ComfyUI-Distributed", + "ver": "99021363d65cc2b2f0f3a0f12a76a358f0fb330f", + "Node name for S&R": "DistributedCollector" + } + }, + { + "id": 3, + "type": "PreviewImage", + "pos": [ + 2880, + 760 + ], + "size": [ + 410, + 480 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 4 + } + ], + "outputs": [], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 4, + "type": "DistributedSeed", + "pos": [ + 1890, + 1220 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "seed", + "type": "INT", + "links": [ + 11 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "aux_id": "robertvoy/ComfyUI-Distributed", + "ver": "99021363d65cc2b2f0f3a0f12a76a358f0fb330f", + "Node name for S&R": "DistributedSeed" + }, + "widgets_values": [ + 504373561407102, + "randomize" + ] + } + ], + "links": [ + [ + 1, + 8, + 0, + 1, + 0, + "LATENT" + ], + [ + 2, + 7, + 2, + 1, + 1, + "VAE" + ], + [ + 3, + 1, + 0, + 2, + 0, + "IMAGE" + ], + [ + 4, + 2, + 0, + 3, + 0, + "IMAGE" + ], + [ + 5, + 7, + 1, + 5, + 0, + "CLIP" + ], + [ + 6, + 7, + 1, + 6, + 0, + "CLIP" + ], + [ + 7, + 7, + 0, + 8, + 0, + "MODEL" + ], + [ + 8, + 5, + 0, + 8, + 1, + "CONDITIONING" + ], + [ + 9, + 6, + 0, + 8, + 2, + "CONDITIONING" + ], + [ + 10, + 9, + 0, + 8, + 3, + "LATENT" + ], + [ + 11, + 4, + 0, + 8, + 4, + "INT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6649272177973091, + "offset": [ + -903.8525468054443, + -478.58804363769354 + ] + }, + "frontendVersion": "1.23.4" + }, + "version": 0.4 +} \ No newline at end of file diff --git a/workflows/distributed-upscale.json b/workflows/distributed-upscale.json new file mode 100644 index 0000000..339a7df --- /dev/null +++ b/workflows/distributed-upscale.json @@ -0,0 +1,566 @@ +{ + "id": "0a68c65f-df29-492e-8525-7621fada0ddd", + "revision": 0, + "last_node_id": 17, + "last_link_id": 23, + "nodes": [ + { + "id": 17, + "type": "ImageScale", + "pos": [ + 1540, + 1050 + ], + "size": [ + 270, + 130 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 22 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 23 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "lanczos", + 2048, + 2048, + "disabled" + ] + }, + { + "id": 13, + "type": "UltimateSDUpscaleDistributed", + "pos": [ + 1890, + 660 + ], + "size": [ + 326.691650390625, + 402 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "upscaled_image", + "type": "IMAGE", + "link": 23 + }, + { + "name": "model", + "type": "MODEL", + "link": 15 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 16 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 17 + }, + { + "name": "vae", + "type": "VAE", + "link": 18 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 12 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "aux_id": "robertvoy/ComfyUI-Distributed", + "ver": "99021363d65cc2b2f0f3a0f12a76a358f0fb330f", + "Node name for S&R": "UltimateSDUpscaleDistributed" + }, + "widgets_values": [ + 402634549992051, + "randomize", + 10, + 8, + "euler", + "normal", + 0.24000000000000005, + 512, + 512, + 32, + 16, + true + ] + }, + { + "id": 10, + "type": "PreviewImage", + "pos": [ + 2260, + 680 + ], + "size": [ + 410, + 410 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 12 + } + ], + "outputs": [], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 5, + "type": "CLIPTextEncode", + "pos": [ + 1390, + 540 + ], + "size": [ + 422.84503173828125, + 164.31304931640625 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 16 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "beautiful scenery nature glass bottle landscape, , purple galaxy bottle," + ] + }, + { + "id": 14, + "type": "UpscaleModelLoader", + "pos": [ + 970, + 950 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 19 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4xNomos8kDAT.pth" + ] + }, + { + "id": 12, + "type": "LoadImage", + "pos": [ + 960, + 1080 + ], + "size": [ + 274.375, + 314.00006103515625 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 20 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ] + }, + { + "id": 7, + "type": "CheckpointLoaderSimple", + "pos": [ + 960, + 700 + ], + "size": [ + 315, + 98 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 15 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 1, + "links": [ + 5, + 6 + ] + }, + { + "name": "VAE", + "type": "VAE", + "slot_index": 2, + "links": [ + 18 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CheckpointLoaderSimple", + "models": [ + { + "name": "v1-5-pruned-emaonly-fp16.safetensors", + "url": "https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/resolve/main/v1-5-pruned-emaonly-fp16.safetensors?download=true", + "directory": "checkpoints" + } + ] + }, + "widgets_values": [ + "SDXL\\juggernautXL_ragnarokBy.safetensors" + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 1390, + 760 + ], + "size": [ + 425.27801513671875, + 180.6060791015625 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 6 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 17 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "text, watermark" + ] + }, + { + "id": 15, + "type": "ImageUpscaleWithModel", + "pos": [ + 1280, + 1050 + ], + "size": [ + 221.96665954589844, + 46 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 19 + }, + { + "name": "image", + "type": "IMAGE", + "link": 20 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 22 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "ImageUpscaleWithModel" + } + } + ], + "links": [ + [ + 5, + 7, + 1, + 5, + 0, + "CLIP" + ], + [ + 6, + 7, + 1, + 6, + 0, + "CLIP" + ], + [ + 12, + 13, + 0, + 10, + 0, + "IMAGE" + ], + [ + 15, + 7, + 0, + 13, + 1, + "MODEL" + ], + [ + 16, + 5, + 0, + 13, + 2, + "CONDITIONING" + ], + [ + 17, + 6, + 0, + 13, + 3, + "CONDITIONING" + ], + [ + 18, + 7, + 2, + 13, + 4, + "VAE" + ], + [ + 19, + 14, + 0, + 15, + 0, + "UPSCALE_MODEL" + ], + [ + 20, + 12, + 0, + 15, + 1, + "IMAGE" + ], + [ + 22, + 15, + 0, + 17, + 0, + "IMAGE" + ], + [ + 23, + 17, + 0, + 13, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6649272177973091, + "offset": [ + -510.50184649377775, + -337.73126769987704 + ] + }, + "frontendVersion": "1.23.4" + }, + "version": 0.4 +} \ No newline at end of file