From 209fe5388b020f874f1fe5fa705793aaa7b9b3dd Mon Sep 17 00:00:00 2001 From: robertvoy Date: Mon, 28 Jul 2025 12:50:25 +1000 Subject: [PATCH] added docs, updated workflow, updated url for Runpod in UI --- docs/model-download-script.md | 43 + docs/worker-setup-guides.md | 88 ++ web/main.js | 10 + web/ui.js | 4 +- workflows/distributed-upscale-batch.json | 1277 ++++++++++++++++ workflows/distributed-upscale-video.json | 1414 ++++++++++++++++++ workflows/distributed-upscale.json | 1235 ++++++++++++---- workflows/distributed-wan.json | 1688 ++++++++++++++++++++++ 8 files changed, 5473 insertions(+), 286 deletions(-) create mode 100644 docs/model-download-script.md create mode 100644 docs/worker-setup-guides.md create mode 100644 workflows/distributed-upscale-batch.json create mode 100644 workflows/distributed-upscale-video.json create mode 100644 workflows/distributed-wan.json diff --git a/docs/model-download-script.md b/docs/model-download-script.md new file mode 100644 index 0000000..4c41511 --- /dev/null +++ b/docs/model-download-script.md @@ -0,0 +1,43 @@ +## Prompt for LLM - Automating ComfyUI Model Downloads + +This guide will walk you through creating a shell script to automatically download the necessary models for your ComfyUI workflow, leveraging an advanced Large Language Model (LLM). + +1. Export your workflow as an API workflow +2. Copy the below prompt and upload the API workflow to a LLM that has access to the internet (like Gemini Flash) +3. Review (make sure all downloads are correct) and save the output from the LLM as a .sh file +4. Upload it onto your Runpod instance +5. Run the file. For example: `./download_comfyui_models.sh` + +``` +Create a sh script that will download the models from this workflow into the correct folders. For reference, these are the paths: +comfyui: +base_path: /workspace/ComfyUI +BiRefNet: models/BiRefNet/ +checkpoints: models/checkpoints/ +clip: models/clip/ +clip_vision: models/clip_vision/ +configs: models/configs/ +controlnet: models/controlnet/ +diffusers: models/diffusers/ +diffusion_models: models/diffusion_models/ +embeddings: models/embeddings/ +florence2: models/florence2/ +facerestore_models: models/facerestore_models/ +gligen: models/gligen/ +grounding-dino: models/grounding-dino/ +hypernetworks: models/hypernetworks/ +ipadapter: models/ipadapter/ +lama: models/lama/ +loras: models/loras/ +onnx: models/onnx/ +photomaker: models/photomaker/ +RMBG: models/RMBG/ +sams: models/sams/ +style_models: models/style_models/ +text_encoders: models/text_encoders/ +unet: models/unet/ +upscale_models: models/upscale_models/ +vae: models/vae/ +vae_approx: models/vae_approx/ +vitmatte: models/vitmatte/ +``` \ No newline at end of file diff --git a/docs/worker-setup-guides.md b/docs/worker-setup-guides.md new file mode 100644 index 0000000..2dbde7f --- /dev/null +++ b/docs/worker-setup-guides.md @@ -0,0 +1,88 @@ +## Local workers +> Local Workers: These are added automatically on first launch, but you can add them manually if you need. + +1. **Open** the Distributed GPU panel. +2. **Click** "Add Worker" in the UI. +3. **Configure** your local worker: + - **Name**: A descriptive name for the worker (e.g., "Studio PC 1") + - **Port**: A unique port number for this worker (e.g., 8189, 8190...). + - **CUDA Device**: The GPU index from `nvidia-smi` (e.g., 0, 1). + - **Extra Args**: Optional ComfyUI arguments for this specific worker. +4. **Save** and launch the local worker. + +## Remote workers +> Remote Workers: ComfyUI instances running on completely different computers on your network. These allow you to harness GPU power from other machines. Remote workers must be manually started on their respective computers and are connected via IP address. + +**On the Remote Worker Machine:** +1. **Launch** the master (main ComfyUI instance) with the `--listen --enable-cors-header` arguments. ⚠️ **Required!** +2. **Add** workers in the UI panel if the remote machine has more than one GPU. + - Make sure that they also have `--listen` set in `Extra Args`. + - Then launch them. +3. **Open** the configured worker port(s) (e.g., 8189, 8190) in the remote worker's firewall. + +**On the Main Machine:** +1. **Open** the Distributed GPU panel (sidebar on the left). +2. **Click** "Add Worker." +3. **Choose** "Remote". +4. **Configure** your remote worker: + - **Name**: A descriptive name for the worker (e.g., "Server Rack GPU 0") + - **Host**: The remote worker's IP address. + - **Port**: The port number used when launching ComfyUI on the remote worker (e.g., 8189). +5. **Save** the remote worker configuration. + +## Cloud workers +> Cloud Workers: ComfyUI instances running on a cloud service like [Runpod](https://get.runpod.io/0bw29uf3ug0p). + +### Deploy Cloud Worker on Runpod + +**On Runpod:** +1. Register a [Runpod](https://get.runpod.io/0bw29uf3ug0p) account. +2. On Runpod, go to Storage > New Network Volume and create a volume which will store the models you need. +3. Now go to Pods and find a suitable GPU for your workflows. +> To use the ComfyUI-Distributed-Pod, you will need to filter instances by CUDA 12.8. +4. Choose the `ComfyUI-Distributed-Pod` template and make sure your network drive is mounted. +5. Launch your pod. +6. Access your pod using JupyterLab. +7. Download models into /workspaces/ComfyUI/models/ (these will remain on your network drive even after you terminate the pod). +> You can use [this guide](model-download-script.md) to make this process easy for you. It will generate a shell script that will automatically download the models you need for a given workflow. +8. If using your own template, make sure you launch ComfyUI with the `--enable-cors-header` argument and you git clone ComfyUI-Distributed into custom_nodes. ⚠️ **Required!** +9. Download any additional custom nodes using ComfyUI manager + +**On the Main Machine:** +1. Launch a Cloudflare tunnel + - Download from here `https://github.com/cloudflare/cloudflared/releases/tag/2025.7.0` + - Then run for example: `cloudflared-windows-amd64.exe tunnel --url http://localhost:8188` +2. Copy the Cloudflare address +3. **Open** the Distributed GPU panel (sidebar on the left). +4. **Edit** the Master's host address and replace it with the Cloudflare address. + - **Click** "Add Worker." + - **Choose** "Cloud". + - **Configure** your cloud worker: + - **Host**: The Runpod address + - **Port**: 443 + - **Save** the remote worker configuration. + +### Deploy Cloud Worker on Other Platforms + +**On the Cloud Worker machine:** + - Your cloud worker container needs to have the same models and custom nodes as the workflow you want to run on your local machine. + - If your cloud platform doesn't provide a secure connection, use Cloudflare to create a tunnel for the worker. Each GPU needs their own tunnel for their respective port. + - For example: `./cloudflared tunnel --url http://localhost:8188` +1. **Launch** ComfyUI with the `--listen --enable-cors-header` arguments. ⚠️ **Required!** +2. **Add** workers in the UI panel if the remote machine has more than one GPU. + - Make sure that they also have `--listen` set in `Extra Args`. + - Then launch them. + +**On the Main Machine:** +1. **Launch** a Cloudflare tunnel on your local machine. + - Download from here `https://github.com/cloudflare/cloudflared/releases/tag/2025.7.0` + - For example: `cloudflared-windows-amd64.exe tunnel --url http://localhost:8188` +2. **Copy** the Cloudflare address +3. **Open** the Distributed GPU panel (sidebar on the left). +4. **Edit** the Master's host address and replace it with the Cloudflare address. +5. **Click** "Add Worker." +6. **Choose** "Cloud". +7. **Configure** your cloud worker: + - **Host**: The remote worker's IP address/domain + - **Port**: 443 +8. **Save** the remote worker configuration. \ No newline at end of file diff --git a/web/main.js b/web/main.js index 4ae885c..4830a30 100644 --- a/web/main.js +++ b/web/main.js @@ -945,6 +945,16 @@ class DistributedExtension { this.log(`Auto-populated ${newWorkers.length} workers and saved config`, "info"); + // Show success notification + if (app.extensionManager?.toast) { + app.extensionManager.toast.add({ + severity: "success", + summary: "Workers Auto-populated", + detail: `Automatically created ${newWorkers.length} workers based on detected CUDA devices`, + life: 5000 + }); + } + // Reload the config to include the new workers await this.loadConfig(); } else { diff --git a/web/ui.js b/web/ui.js index 93b6274..e3681ea 100644 --- a/web/ui.js +++ b/web/ui.js @@ -697,9 +697,9 @@ export class DistributedUI { // Create powered by Runpod text (initially hidden) const runpodText = document.createElement("a"); runpodText.id = `runpod-text-${worker.id}`; - runpodText.href = "https://www.runpod.io"; + runpodText.href = "https://get.runpod.io/0bw29uf3ug0p"; runpodText.target = "_blank"; - runpodText.textContent = "Deploy cloud worker with Runpod"; + runpodText.textContent = "Deploy Cloud Worker with Runpod"; runpodText.style.cssText = "font-size: 12px; color: #4a90e2; text-decoration: none; margin-top: 4px; display: none; cursor: pointer;"; // Store the onchange function to be assigned later diff --git a/workflows/distributed-upscale-batch.json b/workflows/distributed-upscale-batch.json new file mode 100644 index 0000000..89f6871 --- /dev/null +++ b/workflows/distributed-upscale-batch.json @@ -0,0 +1,1277 @@ +{ + "id": "6b169846-6204-4336-bda1-f9dc43cd52e7", + "revision": 0, + "last_node_id": 26, + "last_link_id": 26, + "nodes": [ + { + "id": 1, + "type": "Reroute", + "pos": [ + 3355.76220703125, + 1302.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 6 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 2, + "type": "Reroute", + "pos": [ + 3355.76220703125, + 1252.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 2 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 4 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 3, + "type": "Reroute", + "pos": [ + 4035.76220703125, + 1302.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 23 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 4, + "type": "Reroute", + "pos": [ + 4035.76220703125, + 1252.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 4 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 20 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 5, + "type": "Reroute", + "pos": [ + 4035.76220703125, + 1222.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 5 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 19 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 6, + "type": "CheckpointLoaderSimple", + "pos": [ + 2925.76220703125, + 1522.14697265625 + ], + "size": [ + 370, + 98 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 2 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 1, + "links": [ + 7, + 18 + ] + }, + { + "name": "VAE", + "type": "VAE", + "slot_index": 2, + "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": "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": 7, + "type": "Reroute", + "pos": [ + 3685.76220703125, + 1302.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 6 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 3, + 15 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 8, + "type": "ControlNetLoader", + "pos": [ + 3135.76220703125, + 1762.14697265625 + ], + "size": [ + 390, + 58 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "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.43", + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "SDXL\\xinsir-controlnet-union-sdxl-1.0-promax.safetensors" + ] + }, + { + "id": 9, + "type": "CLIPTextEncode", + "pos": [ + 3355.76220703125, + 1622.14697265625 + ], + "size": [ + 420, + 88 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 7 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 12 + ] + } + ], + "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": 10, + "type": "SetUnionControlNetType", + "pos": [ + 3565.76220703125, + 1762.14697265625 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 8 + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 13 + ] + } + ], + "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": "SetUnionControlNetType" + }, + "widgets_values": [ + "tile" + ] + }, + { + "id": 11, + "type": "Reroute", + "pos": [ + 3675.76220703125, + 1132.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 9 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 14 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 12, + "type": "ImageResize+", + "pos": [ + 2925.76220703125, + 1222.14697265625 + ], + "size": [ + 270, + 218 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 10 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui_essentials", + "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9", + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 2048, + 2048, + "lanczos", + "keep proportion", + "always", + 8 + ] + }, + { + "id": 13, + "type": "ControlNetApplyAdvanced", + "pos": [ + 3865.76220703125, + 1402.14697265625 + ], + "size": [ + 270, + 186 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 11 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 12 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 13 + }, + { + "name": "image", + "type": "IMAGE", + "link": 14 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 15 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 21 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "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": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 1.0000000000000002, + 0, + 0.9000000000000002 + ] + }, + { + "id": 14, + "type": "ImageUpscaleWithModel", + "pos": [ + 2635.76220703125, + 1222.14697265625 + ], + "size": [ + 222.75416564941406, + 46 + ], + "flags": {}, + "order": 17, + "mode": 4, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 16 + }, + { + "name": "image", + "type": "IMAGE", + "link": 17 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "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": "ImageUpscaleWithModel" + }, + "widgets_values": [] + }, + { + "id": 15, + "type": "MarkdownNote", + "pos": [ + 3145.76220703125, + 1862.14697265625 + ], + "size": [ + 370, + 88 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "[https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main](https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 17, + "type": "Note", + "pos": [ + 2685.76220703125, + 1532.14697265625 + ], + "size": [ + 210, + 88 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Choose an SDXL model" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 18, + "type": "CLIPTextEncode", + "pos": [ + 3355.76220703125, + 1412.14697265625 + ], + "size": [ + 420, + 160 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 18 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 11 + ] + } + ], + "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": 19, + "type": "UltimateSDUpscaleDistributed", + "pos": [ + 4225.76220703125, + 1362.14697265625 + ], + "size": [ + 326.691650390625, + 450 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "upscaled_image", + "type": "IMAGE", + "link": 19 + }, + { + "name": "model", + "type": "MODEL", + "link": 20 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 21 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 22 + }, + { + "name": "vae", + "type": "VAE", + "link": 23 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 25 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "dd23503883fdf319e8beb6e7a190445ecf89973c", + "Node name for S&R": "UltimateSDUpscaleDistributed" + }, + "widgets_values": [ + 320425997971252, + "randomize", + 20, + 7, + "dpmpp_2m_sde", + "karras", + 0.7000000000000002, + 1024, + 1024, + 32, + 16, + true, + false, + true + ] + }, + { + "id": 20, + "type": "Reroute", + "pos": [ + 2455.76220703125, + 1132.14697265625 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 26 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 9, + 17 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 21, + "type": "UpscaleModelLoader", + "pos": [ + 2355.76220703125, + 1322.14697265625 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "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.43", + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4xNomos8kDAT.pth" + ] + }, + { + "id": 23, + "type": "PreviewImage", + "pos": [ + 4605.76220703125, + 1372.14697265625 + ], + "size": [ + 490, + 550 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 25 + } + ], + "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": 25, + "type": "VHS_LoadVideoPath", + "pos": [ + 1950, + 1130 + ], + "size": [ + 330, + 286 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 26 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-videohelpersuite", + "ver": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_LoadVideoPath" + }, + "widgets_values": { + "video": "input/test/", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "None", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "input/test/", + "type": "path", + "format": "video/input/test/", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 22, + "type": "Note", + "pos": [ + 2645.76220703125, + 1322.14697265625 + ], + "size": [ + 210, + 88 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Optional" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 26, + "type": "Note", + "pos": [ + 1950, + 980 + ], + "size": [ + 320, + 88 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Use this node to load a batch of images from a folder.\n\nNOTE: images have to be the same dimensions." + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 1, + 6, + 2, + 1, + 0, + "*" + ], + [ + 2, + 6, + 0, + 2, + 0, + "*" + ], + [ + 3, + 7, + 0, + 3, + 0, + "*" + ], + [ + 4, + 2, + 0, + 4, + 0, + "*" + ], + [ + 5, + 12, + 0, + 5, + 0, + "*" + ], + [ + 6, + 1, + 0, + 7, + 0, + "*" + ], + [ + 7, + 6, + 1, + 9, + 0, + "CLIP" + ], + [ + 8, + 8, + 0, + 10, + 0, + "CONTROL_NET" + ], + [ + 9, + 20, + 0, + 11, + 0, + "*" + ], + [ + 10, + 14, + 0, + 12, + 0, + "IMAGE" + ], + [ + 11, + 18, + 0, + 13, + 0, + "CONDITIONING" + ], + [ + 12, + 9, + 0, + 13, + 1, + "CONDITIONING" + ], + [ + 13, + 10, + 0, + 13, + 2, + "CONTROL_NET" + ], + [ + 14, + 11, + 0, + 13, + 3, + "IMAGE" + ], + [ + 15, + 7, + 0, + 13, + 4, + "VAE" + ], + [ + 16, + 21, + 0, + 14, + 0, + "UPSCALE_MODEL" + ], + [ + 17, + 20, + 0, + 14, + 1, + "IMAGE" + ], + [ + 18, + 6, + 1, + 18, + 0, + "CLIP" + ], + [ + 19, + 5, + 0, + 19, + 0, + "IMAGE" + ], + [ + 20, + 4, + 0, + 19, + 1, + "MODEL" + ], + [ + 21, + 13, + 0, + 19, + 2, + "CONDITIONING" + ], + [ + 22, + 13, + 1, + 19, + 3, + "CONDITIONING" + ], + [ + 23, + 3, + 0, + 19, + 4, + "VAE" + ], + [ + 25, + 19, + 0, + 23, + 0, + "IMAGE" + ], + [ + 26, + 25, + 0, + 20, + 0, + "*" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9229599817706583, + "offset": [ + -1960.8728618221426, + -538.777843033621 + ] + }, + "frontendVersion": "1.23.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/workflows/distributed-upscale-video.json b/workflows/distributed-upscale-video.json new file mode 100644 index 0000000..fc82bd5 --- /dev/null +++ b/workflows/distributed-upscale-video.json @@ -0,0 +1,1414 @@ +{ + "id": "a778fe2e-2eb6-417f-8b97-86177243bce8", + "revision": 0, + "last_node_id": 140, + "last_link_id": 210, + "nodes": [ + { + "id": 86, + "type": "Reroute", + "pos": [ + 2130, + 1050 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 121 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 127 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 107, + "type": "Reroute", + "pos": [ + 2810, + 1050 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 171 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 172 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 110, + "type": "Reroute", + "pos": [ + 2810, + 970 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 210 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 176 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 7, + "type": "CheckpointLoaderSimple", + "pos": [ + 1700, + 1270 + ], + "size": [ + 370, + 98 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 124 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 1, + "links": [ + 5, + 6 + ] + }, + { + "name": "VAE", + "type": "VAE", + "slot_index": 2, + "links": [ + 121 + ] + } + ], + "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": 90, + "type": "Reroute", + "pos": [ + 2460, + 1050 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 127 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 129, + 171 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 44, + "type": "ControlNetLoader", + "pos": [ + 1910, + 1510 + ], + "size": [ + 390, + 58 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 81 + ] + } + ], + "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": "ControlNetLoader" + }, + "widgets_values": [ + "SDXL\\xinsir-controlnet-union-sdxl-1.0-promax.safetensors" + ] + }, + { + "id": 52, + "type": "SetUnionControlNetType", + "pos": [ + 2340, + 1510 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 81 + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 192 + ] + } + ], + "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": "SetUnionControlNetType" + }, + "widgets_values": [ + "tile" + ] + }, + { + "id": 125, + "type": "Reroute", + "pos": [ + 2450, + 880 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 200 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 206 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 71, + "type": "RIFE VFI", + "pos": [ + 3367.979248046875, + 1110 + ], + "size": [ + 290.73333740234375, + 198 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 108 + }, + { + "name": "optional_interpolation_states", + "shape": 7, + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 109 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-frame-interpolation", + "ver": "a969c01dbccd9e5510641be04eb51fe93f6bfc3d", + "Node name for S&R": "RIFE VFI" + }, + "widgets_values": [ + "rife47.pth", + 10, + 2, + true, + true, + 1 + ] + }, + { + "id": 34, + "type": "ImageResize+", + "pos": [ + 1700, + 970 + ], + "size": [ + 270, + 218 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 197 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 210 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui_essentials", + "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9", + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 2048, + 2048, + "lanczos", + "keep proportion", + "always", + 8 + ] + }, + { + "id": 43, + "type": "ControlNetApplyAdvanced", + "pos": [ + 2640, + 1150 + ], + "size": [ + 270, + 186 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 63 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 64 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 192 + }, + { + "name": "image", + "type": "IMAGE", + "link": 206 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 129 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 190 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 191 + ] + } + ], + "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": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 1.0000000000000002, + 0, + 0.9000000000000002 + ] + }, + { + "id": 123, + "type": "ImageUpscaleWithModel", + "pos": [ + 1410, + 970 + ], + "size": [ + 222.75416564941406, + 46 + ], + "flags": {}, + "order": 18, + "mode": 4, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 195 + }, + { + "name": "image", + "type": "IMAGE", + "link": 209 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 197 + ] + } + ], + "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" + }, + "widgets_values": [] + }, + { + "id": 131, + "type": "Note", + "pos": [ + 1430, + 1070 + ], + "size": [ + 210, + 88 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Optional" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 88, + "type": "Reroute", + "pos": [ + 2130, + 1020 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 124 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 137 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 89, + "type": "Reroute", + "pos": [ + 2810, + 1020 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 137 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 170 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 124, + "type": "Reroute", + "pos": [ + 1230, + 880 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 208 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 200, + 209 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 132, + "type": "Note", + "pos": [ + 1460, + 1270 + ], + "size": [ + 210, + 88 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Choose an SDXL model" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 2140, + 1360 + ], + "size": [ + 420, + 88 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 6 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 64 + ] + } + ], + "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": 41, + "type": "VHS_VideoCombine", + "pos": [ + 3700, + 1110 + ], + "size": [ + 450, + 594.9140625 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 109 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-videohelpersuite", + "ver": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 30, + "loop_count": 0, + "filename_prefix": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": false, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00231.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 30, + "workflow": "AnimateDiff_00231.png", + "fullpath": "C:\\venvs\\ComfyUI\\ComfyUI\\output\\AnimateDiff_00231.mp4" + } + } + } + }, + { + "id": 134, + "type": "MarkdownNote", + "pos": [ + 1910, + 1610 + ], + "size": [ + 380, + 88 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "[https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main](https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 122, + "type": "UpscaleModelLoader", + "pos": [ + 1120, + 1040 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 195 + ] + } + ], + "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": 5, + "type": "CLIPTextEncode", + "pos": [ + 2140, + 1150 + ], + "size": [ + 420, + 160 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 63 + ] + } + ], + "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": 30, + "type": "UltimateSDUpscaleDistributed", + "pos": [ + 3000, + 1110 + ], + "size": [ + 326.691650390625, + 450 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "upscaled_image", + "type": "IMAGE", + "link": 176 + }, + { + "name": "model", + "type": "MODEL", + "link": 170 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 190 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 191 + }, + { + "name": "vae", + "type": "VAE", + "link": 172 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 108 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "dd23503883fdf319e8beb6e7a190445ecf89973c", + "Node name for S&R": "UltimateSDUpscaleDistributed" + }, + "widgets_values": [ + 320425997971252, + "randomize", + 20, + 7, + "euler", + "normal", + 0.7000000000000002, + 1024, + 1024, + 32, + 16, + true, + false, + true + ] + }, + { + "id": 139, + "type": "Note", + "pos": [ + 3000, + 1610 + ], + "size": [ + 330, + 88 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If all your GPUs are the same/similar, set static_distribution to true\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 138, + "type": "VHS_LoadVideo", + "pos": [ + 670, + 880 + ], + "size": [ + 340, + 509 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 208 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-videohelpersuite", + "ver": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "AnimateDiff_00155.mp4", + "force_rate": 16, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "Wan", + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00155.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 16, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 140, + "type": "MarkdownNote", + "pos": [ + 680, + 680 + ], + "size": [ + 390, + 140 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "# WARNING: Experimental workflow\n\nThe tiled upscaling works with video, but it is experimental.\n\nThe results can be flickery." + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 5, + 7, + 1, + 5, + 0, + "CLIP" + ], + [ + 6, + 7, + 1, + 6, + 0, + "CLIP" + ], + [ + 63, + 5, + 0, + 43, + 0, + "CONDITIONING" + ], + [ + 64, + 6, + 0, + 43, + 1, + "CONDITIONING" + ], + [ + 81, + 44, + 0, + 52, + 0, + "CONTROL_NET" + ], + [ + 108, + 30, + 0, + 71, + 0, + "IMAGE" + ], + [ + 109, + 71, + 0, + 41, + 0, + "IMAGE" + ], + [ + 121, + 7, + 2, + 86, + 0, + "*" + ], + [ + 124, + 7, + 0, + 88, + 0, + "*" + ], + [ + 127, + 86, + 0, + 90, + 0, + "*" + ], + [ + 129, + 90, + 0, + 43, + 4, + "VAE" + ], + [ + 137, + 88, + 0, + 89, + 0, + "*" + ], + [ + 170, + 89, + 0, + 30, + 1, + "MODEL" + ], + [ + 171, + 90, + 0, + 107, + 0, + "*" + ], + [ + 172, + 107, + 0, + 30, + 4, + "VAE" + ], + [ + 176, + 110, + 0, + 30, + 0, + "IMAGE" + ], + [ + 190, + 43, + 0, + 30, + 2, + "CONDITIONING" + ], + [ + 191, + 43, + 1, + 30, + 3, + "CONDITIONING" + ], + [ + 192, + 52, + 0, + 43, + 2, + "CONTROL_NET" + ], + [ + 195, + 122, + 0, + 123, + 0, + "UPSCALE_MODEL" + ], + [ + 197, + 123, + 0, + 34, + 0, + "IMAGE" + ], + [ + 200, + 124, + 0, + 125, + 0, + "*" + ], + [ + 206, + 125, + 0, + 43, + 3, + "IMAGE" + ], + [ + 208, + 138, + 0, + 124, + 0, + "*" + ], + [ + 209, + 124, + 0, + 123, + 1, + "IMAGE" + ], + [ + 210, + 34, + 0, + 110, + 0, + "*" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6934334949441466, + "offset": [ + -745.9669584283469, + -262.3877185095017 + ] + }, + "frontendVersion": "1.23.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/workflows/distributed-upscale.json b/workflows/distributed-upscale.json index 339a7df..044a9f9 100644 --- a/workflows/distributed-upscale.json +++ b/workflows/distributed-upscale.json @@ -1,317 +1,197 @@ { - "id": "0a68c65f-df29-492e-8525-7621fada0ddd", + "id": "817bbfe2-06b8-44c8-8c14-b82b63b335d5", "revision": 0, - "last_node_id": 17, - "last_link_id": 23, + "last_node_id": 137, + "last_link_id": 211, "nodes": [ { - "id": 17, - "type": "ImageScale", + "id": 86, + "type": "Reroute", "pos": [ - 1540, + 2130, 1050 ], "size": [ - 270, - 130 + 75, + 26 ], "flags": {}, - "order": 6, + "order": 11, "mode": 0, "inputs": [ { - "name": "image", - "type": "IMAGE", - "link": 22 + "name": "", + "type": "*", + "link": 121 } ], "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", + "name": "", "type": "VAE", - "link": 18 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", "links": [ - 12 + 127 ] } ], "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 - ] + "showOutputText": false, + "horizontal": false + } }, { - "id": 10, - "type": "PreviewImage", + "id": 88, + "type": "Reroute", "pos": [ - 2260, - 680 + 2130, + 1000 ], "size": [ - 410, - 410 + 75, + 26 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 12 + "name": "", + "type": "*", + "link": 124 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 137 + ] } ], - "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": [] + "showOutputText": false, + "horizontal": false + } }, { - "id": 5, - "type": "CLIPTextEncode", + "id": 107, + "type": "Reroute", "pos": [ - 1390, - 540 + 2810, + 1050 ], "size": [ - 422.84503173828125, - 164.31304931640625 + 75, + 26 ], "flags": {}, - "order": 4, + "order": 18, "mode": 0, "inputs": [ { - "name": "clip", - "type": "CLIP", - "link": 5 + "name": "", + "type": "*", + "link": 171 } ], "outputs": [ { - "name": "CONDITIONING", - "type": "CONDITIONING", - "slot_index": 0, + "name": "", + "type": "VAE", "links": [ - 16 + 172 ] } ], "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," - ] + "showOutputText": false, + "horizontal": false + } }, { - "id": 14, - "type": "UpscaleModelLoader", + "id": 89, + "type": "Reroute", "pos": [ - 970, - 950 + 2810, + 1000 ], "size": [ - 270, - 58 + 75, + 26 ], "flags": {}, - "order": 0, + "order": 14, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "", + "type": "*", + "link": 137 + } + ], "outputs": [ { - "name": "UPSCALE_MODEL", - "type": "UPSCALE_MODEL", + "name": "", + "type": "MODEL", "links": [ - 19 + 170 ] } ], "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" - ] + "showOutputText": false, + "horizontal": false + } }, { - "id": 12, - "type": "LoadImage", + "id": 110, + "type": "Reroute", "pos": [ - 960, - 1080 + 2810, + 970 ], "size": [ - 274.375, - 314.00006103515625 + 75, + 26 ], "flags": {}, - "order": 1, + "order": 21, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "", + "type": "*", + "link": 211 + } + ], "outputs": [ { - "name": "IMAGE", + "name": "", "type": "IMAGE", "links": [ - 20 + 176 ] - }, - { - "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" - ] + "showOutputText": false, + "horizontal": false + } }, { "id": 7, "type": "CheckpointLoaderSimple", "pos": [ - 960, - 700 + 1700, + 1270 ], "size": [ - 315, + 370, 98 ], "flags": {}, - "order": 2, + "order": 0, "mode": 0, "inputs": [], "outputs": [ @@ -320,7 +200,7 @@ "type": "MODEL", "slot_index": 0, "links": [ - 15 + 124 ] }, { @@ -337,7 +217,7 @@ "type": "VAE", "slot_index": 2, "links": [ - 18 + 121 ] } ], @@ -364,19 +244,95 @@ "SDXL\\juggernautXL_ragnarokBy.safetensors" ] }, + { + "id": 90, + "type": "Reroute", + "pos": [ + 2460, + 1050 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 127 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 129, + 171 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 44, + "type": "ControlNetLoader", + "pos": [ + 1910, + 1510 + ], + "size": [ + 390, + 58 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 81 + ] + } + ], + "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": "ControlNetLoader" + }, + "widgets_values": [ + "SDXL\\xinsir-controlnet-union-sdxl-1.0-promax.safetensors" + ] + }, { "id": 6, "type": "CLIPTextEncode", "pos": [ - 1390, - 760 + 2130, + 1370 ], "size": [ - 425.27801513671875, - 180.6060791015625 + 420, + 88 ], "flags": {}, - "order": 5, + "order": 10, "mode": 0, "inputs": [ { @@ -391,7 +347,7 @@ "type": "CONDITIONING", "slot_index": 0, "links": [ - 17 + 64 ] } ], @@ -412,29 +368,105 @@ ] }, { - "id": 15, - "type": "ImageUpscaleWithModel", + "id": 52, + "type": "SetUnionControlNetType", "pos": [ - 1280, - 1050 + 2340, + 1510 ], "size": [ - 221.96665954589844, - 46 + 210, + 58 ], "flags": {}, - "order": 3, + "order": 12, "mode": 0, "inputs": [ { - "name": "upscale_model", - "type": "UPSCALE_MODEL", - "link": 19 - }, + "name": "control_net", + "type": "CONTROL_NET", + "link": 81 + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 192 + ] + } + ], + "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": "SetUnionControlNetType" + }, + "widgets_values": [ + "tile" + ] + }, + { + "id": 125, + "type": "Reroute", + "pos": [ + 2450, + 880 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 200 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 206 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 34, + "type": "ImageResize+", + "pos": [ + 1700, + 970 + ], + "size": [ + 270, + 218 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ { "name": "image", "type": "IMAGE", - "link": 20 + "link": 197 } ], "outputs": [ @@ -442,7 +474,73 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 22 + 211 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui_essentials", + "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9", + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 2048, + 2048, + "lanczos", + "keep proportion", + "always", + 8 + ] + }, + { + "id": 123, + "type": "ImageUpscaleWithModel", + "pos": [ + 1410, + 970 + ], + "size": [ + 222.75416564941406, + 46 + ], + "flags": {}, + "order": 17, + "mode": 4, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 195 + }, + { + "name": "image", + "type": "IMAGE", + "link": 210 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 197 ] } ], @@ -457,7 +555,460 @@ "cnr_id": "comfy-core", "ver": "0.3.43", "Node name for S&R": "ImageUpscaleWithModel" + }, + "widgets_values": [] + }, + { + "id": 134, + "type": "MarkdownNote", + "pos": [ + 1920, + 1610 + ], + "size": [ + 370, + 88 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "[https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main](https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 135, + "type": "LoadImage", + "pos": [ + 780, + 880 + ], + "size": [ + 274.375, + 314.00006103515625 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 207 + ] + }, + { + "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": 132, + "type": "Note", + "pos": [ + 1460, + 1280 + ], + "size": [ + 210, + 88 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Choose an SDXL model" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 5, + "type": "CLIPTextEncode", + "pos": [ + 2130, + 1160 + ], + "size": [ + 420, + 160 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 63 + ] + } + ], + "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": 124, + "type": "Reroute", + "pos": [ + 1230, + 880 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 207 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 200, + 210 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false } + }, + { + "id": 122, + "type": "UpscaleModelLoader", + "pos": [ + 1130, + 1070 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 195 + ] + } + ], + "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": 131, + "type": "Note", + "pos": [ + 1420, + 1070 + ], + "size": [ + 210, + 88 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Optional" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 137, + "type": "Note", + "pos": [ + 3000, + 1600 + ], + "size": [ + 330, + 90 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If all your GPUs are the same/similar, set static_distribution to true\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 136, + "type": "PreviewImage", + "pos": [ + 3380, + 1100 + ], + "size": [ + 490, + 550 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 209 + } + ], + "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": 43, + "type": "ControlNetApplyAdvanced", + "pos": [ + 2640, + 1150 + ], + "size": [ + 270, + 186 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 63 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 64 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 192 + }, + { + "name": "image", + "type": "IMAGE", + "link": 206 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 129 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 190 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 191 + ] + } + ], + "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": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 1.0000000000000002, + 0, + 0.8000000000000002 + ] + }, + { + "id": 30, + "type": "UltimateSDUpscaleDistributed", + "pos": [ + 3000, + 1110 + ], + "size": [ + 326.691650390625, + 450 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "upscaled_image", + "type": "IMAGE", + "link": 176 + }, + { + "name": "model", + "type": "MODEL", + "link": 170 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 190 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 191 + }, + { + "name": "vae", + "type": "VAE", + "link": 172 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 209 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "dd23503883fdf319e8beb6e7a190445ecf89973c", + "Node name for S&R": "UltimateSDUpscaleDistributed" + }, + "widgets_values": [ + 269777990474642, + "randomize", + 20, + 7, + "dpmpp_2m_sde", + "karras", + 0.6000000000000001, + 1024, + 1024, + 32, + 16, + true, + false, + true + ] } ], "links": [ @@ -478,89 +1029,205 @@ "CLIP" ], [ - 12, - 13, - 0, - 10, - 0, - "IMAGE" - ], - [ - 15, - 7, - 0, - 13, - 1, - "MODEL" - ], - [ - 16, + 63, 5, 0, - 13, - 2, + 43, + 0, "CONDITIONING" ], [ - 17, + 64, 6, 0, - 13, - 3, + 43, + 1, "CONDITIONING" ], [ - 18, + 81, + 44, + 0, + 52, + 0, + "CONTROL_NET" + ], + [ + 121, 7, 2, - 13, + 86, + 0, + "*" + ], + [ + 124, + 7, + 0, + 88, + 0, + "*" + ], + [ + 127, + 86, + 0, + 90, + 0, + "*" + ], + [ + 129, + 90, + 0, + 43, 4, "VAE" ], [ - 19, - 14, + 137, + 88, 0, - 15, + 89, + 0, + "*" + ], + [ + 170, + 89, + 0, + 30, + 1, + "MODEL" + ], + [ + 171, + 90, + 0, + 107, + 0, + "*" + ], + [ + 172, + 107, + 0, + 30, + 4, + "VAE" + ], + [ + 176, + 110, + 0, + 30, + 0, + "IMAGE" + ], + [ + 190, + 43, + 0, + 30, + 2, + "CONDITIONING" + ], + [ + 191, + 43, + 1, + 30, + 3, + "CONDITIONING" + ], + [ + 192, + 52, + 0, + 43, + 2, + "CONTROL_NET" + ], + [ + 195, + 122, + 0, + 123, 0, "UPSCALE_MODEL" ], [ - 20, - 12, + 197, + 123, 0, - 15, + 34, + 0, + "IMAGE" + ], + [ + 200, + 124, + 0, + 125, + 0, + "*" + ], + [ + 206, + 125, + 0, + 43, + 3, + "IMAGE" + ], + [ + 207, + 135, + 0, + 124, + 0, + "*" + ], + [ + 209, + 30, + 0, + 136, + 0, + "IMAGE" + ], + [ + 210, + 124, + 0, + 123, 1, "IMAGE" ], [ - 22, - 15, + 211, + 34, 0, - 17, + 110, 0, - "IMAGE" - ], - [ - 23, - 17, - 0, - 13, - 0, - "IMAGE" + "*" ] ], "groups": [], "config": {}, "extra": { "ds": { - "scale": 0.6649272177973091, + "scale": 1.0152559799477252, "offset": [ - -510.50184649377775, - -337.73126769987704 + -2260.53316345765, + -499.7179536588252 ] }, - "frontendVersion": "1.23.4" + "frontendVersion": "1.23.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true }, "version": 0.4 } \ No newline at end of file diff --git a/workflows/distributed-wan.json b/workflows/distributed-wan.json new file mode 100644 index 0000000..3e2faf0 --- /dev/null +++ b/workflows/distributed-wan.json @@ -0,0 +1,1688 @@ +{ + "id": "00000000-0000-0000-0000-000000000000", + "revision": 0, + "last_node_id": 234, + "last_link_id": 79, + "nodes": [ + { + "id": 67, + "type": "ModelSamplingSD3", + "pos": [ + 1700, + 550 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 23 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 17, + 26 + ] + } + ], + "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": "ModelSamplingSD3" + }, + "widgets_values": [ + 8.000000000000002 + ] + }, + { + "id": 50, + "type": "WanImageToVideo", + "pos": [ + 1590, + 230 + ], + "size": [ + 270, + 210 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 7 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 8 + }, + { + "name": "vae", + "type": "VAE", + "link": 9 + }, + { + "name": "clip_vision_output", + "shape": 7, + "type": "CLIP_VISION_OUTPUT", + "link": 10 + }, + { + "name": "start_image", + "shape": 7, + "type": "IMAGE", + "link": 11 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 5 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 6 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 27 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "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": "WanImageToVideo" + }, + "widgets_values": [ + 832, + 480, + 17, + 1 + ] + }, + { + "id": 60, + "type": "RandomNoise", + "pos": [ + 1850, + 10 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "noise_seed", + "type": "INT", + "widget": { + "name": "noise_seed" + }, + "link": 16 + } + ], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "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.43", + "Node name for S&R": "RandomNoise" + }, + "widgets_values": [ + 200526686850175, + "randomize" + ] + }, + { + "id": 150, + "type": "DistributedSeed", + "pos": [ + 1540, + 0 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "seed", + "type": "INT", + "links": [ + 16 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "9650280c7f50898720bf9773e8874d75e7c20846", + "Node name for S&R": "DistributedSeed" + }, + "widgets_values": [ + 177896884005433, + "randomize" + ] + }, + { + "id": 61, + "type": "KSamplerSelect", + "pos": [ + 2140, + 350 + ], + "size": [ + 260, + 60 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 20 + ] + } + ], + "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": "KSamplerSelect" + }, + "widgets_values": [ + "lcm" + ] + }, + { + "id": 221, + "type": "DistributedCollector", + "pos": [ + 2660, + 200 + ], + "size": [ + 166.50416564941406, + 26 + ], + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 67 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 78 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "b4ed92a363fab14d944b87c610aa9a0b4c87c085", + "Node name for S&R": "DistributedCollector" + }, + "widgets_values": [] + }, + { + "id": 231, + "type": "ImageBatchDivider", + "pos": [ + 2850, + 200 + ], + "size": [ + 210, + 118 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 78 + } + ], + "outputs": [ + { + "name": "batch_1", + "type": "IMAGE", + "links": [ + 74 + ] + }, + { + "name": "batch_2", + "type": "IMAGE", + "links": [ + 75 + ] + }, + { + "name": "batch_3", + "type": "IMAGE", + "links": [ + 76 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "fa09a2da10dfc63cecfbec1f8d4a0516e923b911", + "Node name for S&R": "ImageBatchDivider" + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 139, + "type": "CLIPLoaderGGUF", + "pos": [ + 490, + 60 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1, + 2 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-gguf", + "ver": "1.1.1", + "Node name for S&R": "CLIPLoaderGGUF" + }, + "widgets_values": [ + "umt5-xxl-encoder-Q8_0.gguf", + "wan" + ] + }, + { + "id": 142, + "type": "UnetLoaderGGUF", + "pos": [ + 930, + 850 + ], + "size": [ + 340, + 60 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 24 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-gguf", + "ver": "1.1.1", + "Node name for S&R": "UnetLoaderGGUF" + }, + "widgets_values": [ + "wan2.1-i2v-14b-720p-Q8_0.gguf" + ] + }, + { + "id": 118, + "type": "LoraLoaderModelOnly", + "pos": [ + 1290, + 840 + ], + "size": [ + 310, + 82 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 24 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "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": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors", + 0.8100000000000002 + ] + }, + { + "id": 135, + "type": "ImageNoiseAugmentation", + "pos": [ + 1250, + 310 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 25 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 11 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.2", + "Node name for S&R": "ImageNoiseAugmentation" + }, + "widgets_values": [ + 0.10000000000000002, + 1100164865582526, + "randomize" + ] + }, + { + "id": 49, + "type": "CLIPVisionLoader", + "pos": [ + 1260, + 610 + ], + "size": [ + 290, + 60 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "links": [ + 12 + ] + } + ], + "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": "CLIPVisionLoader" + }, + "widgets_values": [ + "clip_vision_h.safetensors" + ] + }, + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 790, + 120 + ], + "size": [ + 380, + 110 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 8 + ] + } + ], + "title": "CLIP Text Encode (Negative Prompt)", + "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": "CLIPTextEncode" + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" + ] + }, + { + "id": 64, + "type": "SamplerCustomAdvanced", + "pos": [ + 2140, + 190 + ], + "size": [ + 260, + 110 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 18 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 19 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 20 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 21 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 22 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 3 + ] + }, + { + "name": "denoised_output", + "type": "LATENT", + "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": "SamplerCustomAdvanced" + }, + "widgets_values": [] + }, + { + "id": 233, + "type": "Note", + "pos": [ + 2840, + 40 + ], + "size": [ + 220, + 90 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Use this node to set how many videos to output.\n\nExample: if you have 1x master and 2x workers, set it to 3." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 234, + "type": "Note", + "pos": [ + 1540, + -140 + ], + "size": [ + 270, + 90 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "This node will give you a different variation from each worker. Delete this node if you want them to be all the same." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 227, + "type": "VHS_VideoCombine", + "pos": [ + 3090, + 200 + ], + "size": [ + 380, + 555.6923217773438 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 74 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-videohelpersuite", + "ver": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "WAN", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00163.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 8, + "workflow": "AnimateDiff_00163.png", + "fullpath": "C:\\venvs\\ComfyUI\\ComfyUI\\output\\AnimateDiff_00163.mp4" + } + } + } + }, + { + "id": 228, + "type": "VHS_VideoCombine", + "pos": [ + 3490, + 190 + ], + "size": [ + 380, + 334 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 75 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-videohelpersuite", + "ver": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "WAN", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00165.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 8, + "workflow": "AnimateDiff_00165.png", + "fullpath": "C:\\venvs\\ComfyUI\\ComfyUI\\output\\AnimateDiff_00165.mp4" + } + } + } + }, + { + "id": 229, + "type": "VHS_VideoCombine", + "pos": [ + 3880, + 190 + ], + "size": [ + 390, + 334 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 76 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-videohelpersuite", + "ver": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "WAN", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00164.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 8, + "workflow": "AnimateDiff_00164.png", + "fullpath": "C:\\venvs\\ComfyUI\\ComfyUI\\output\\AnimateDiff_00164.mp4" + } + } + } + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 2450, + 190 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 3 + }, + { + "name": "vae", + "type": "VAE", + "link": 4 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 67 + ] + } + ], + "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": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 51, + "type": "CLIPVisionEncode", + "pos": [ + 1260, + 490 + ], + "size": [ + 290.97918701171875, + 78 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": 12 + }, + { + "name": "image", + "type": "IMAGE", + "link": 13 + } + ], + "outputs": [ + { + "name": "CLIP_VISION_OUTPUT", + "type": "CLIP_VISION_OUTPUT", + "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": "CLIPVisionEncode" + }, + "widgets_values": [ + "none" + ] + }, + { + "id": 192, + "type": "LoadImage", + "pos": [ + 530, + 310 + ], + "size": [ + 310, + 370 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 79 + ] + }, + { + "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": 55, + "type": "ImageResize+", + "pos": [ + 890, + 320 + ], + "size": [ + 270, + 218 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 79 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 13, + 25 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 5 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 6 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui_essentials", + "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9", + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 832, + 480, + "lanczos", + "fill / crop", + "always", + 0 + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 790, + -10 + ], + "size": [ + 380, + 88 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 7 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "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": "CLIPTextEncode" + }, + "widgets_values": [ + "beautiful scenery nature glass bottle landscape, , purple galaxy bottle," + ] + }, + { + "id": 39, + "type": "VAELoader", + "pos": [ + 1250, + 200 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 4, + 9 + ] + } + ], + "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": "VAELoader" + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ] + }, + { + "id": 148, + "type": "BasicGuider", + "pos": [ + 1980, + 260 + ], + "size": [ + 156.0208282470703, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 26 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 27 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "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": "BasicGuider" + }, + "widgets_values": [] + }, + { + "id": 62, + "type": "BasicScheduler", + "pos": [ + 2130, + 460 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 17 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 21 + ] + } + ], + "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": "BasicScheduler" + }, + "widgets_values": [ + "simple", + 4, + 1 + ] + } + ], + "links": [ + [ + 1, + 139, + 0, + 6, + 0, + "CLIP" + ], + [ + 2, + 139, + 0, + 7, + 0, + "CLIP" + ], + [ + 3, + 64, + 0, + 8, + 0, + "LATENT" + ], + [ + 4, + 39, + 0, + 8, + 1, + "VAE" + ], + [ + 5, + 55, + 1, + 50, + 5, + "INT" + ], + [ + 6, + 55, + 2, + 50, + 6, + "INT" + ], + [ + 7, + 6, + 0, + 50, + 0, + "CONDITIONING" + ], + [ + 8, + 7, + 0, + 50, + 1, + "CONDITIONING" + ], + [ + 9, + 39, + 0, + 50, + 2, + "VAE" + ], + [ + 10, + 51, + 0, + 50, + 3, + "CLIP_VISION_OUTPUT" + ], + [ + 11, + 135, + 0, + 50, + 4, + "IMAGE" + ], + [ + 12, + 49, + 0, + 51, + 0, + "CLIP_VISION" + ], + [ + 13, + 55, + 0, + 51, + 1, + "IMAGE" + ], + [ + 16, + 150, + 0, + 60, + 0, + "INT" + ], + [ + 17, + 67, + 0, + 62, + 0, + "MODEL" + ], + [ + 18, + 60, + 0, + 64, + 0, + "NOISE" + ], + [ + 19, + 148, + 0, + 64, + 1, + "GUIDER" + ], + [ + 20, + 61, + 0, + 64, + 2, + "SAMPLER" + ], + [ + 21, + 62, + 0, + 64, + 3, + "SIGMAS" + ], + [ + 22, + 50, + 2, + 64, + 4, + "LATENT" + ], + [ + 23, + 118, + 0, + 67, + 0, + "MODEL" + ], + [ + 24, + 142, + 0, + 118, + 0, + "MODEL" + ], + [ + 25, + 55, + 0, + 135, + 0, + "IMAGE" + ], + [ + 26, + 67, + 0, + 148, + 0, + "MODEL" + ], + [ + 27, + 50, + 0, + 148, + 1, + "CONDITIONING" + ], + [ + 67, + 8, + 0, + 221, + 0, + "IMAGE" + ], + [ + 74, + 231, + 0, + 227, + 0, + "IMAGE" + ], + [ + 75, + 231, + 1, + 228, + 0, + "IMAGE" + ], + [ + 76, + 231, + 2, + 229, + 0, + "IMAGE" + ], + [ + 78, + 221, + 0, + 231, + 0, + "IMAGE" + ], + [ + 79, + 192, + 0, + 55, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9090909090909091, + "offset": [ + -1587.6131275248988, + 280.3225523752761 + ] + }, + "frontendVersion": "1.23.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file