{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "7bf25172-4a90-46c5-83a5-0e149e49926c",
        "inputNode": {
          "bounding": [
            -4524.240624999999,
            1259.1739028995444,
            146.240625,
            192
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "91e52a51-92cc-4a9b-a6d1-f0446a8b5991",
            "linkIds": [
              321
            ],
            "localized_name": "images",
            "name": "images",
            "pos": [
              -3669.9999999999995,
              1067.6449190829537
            ],
            "type": "IMAGE"
          },
          {
            "id": "a8fbbcff-a5e5-4b4e-8503-a3f2c2becdcd",
            "linkIds": [
              384
            ],
            "localized_name": "control_video",
            "name": "control_video",
            "pos": [
              -3669.9999999999995,
              1087.6449190829537
            ],
            "shape": 7,
            "type": "IMAGE"
          },
          {
            "id": "74dbb924-d562-48a9-83b5-93ba5e309437",
            "linkIds": [
              451
            ],
            "localized_name": "control_masks",
            "name": "control_masks",
            "pos": [
              -3669.9999999999995,
              1107.6449190829537
            ],
            "shape": 7,
            "type": "MASK"
          },
          {
            "id": "e4a7d8db-4af7-4767-a6ae-a8c4fd912e96",
            "linkIds": [
              327
            ],
            "localized_name": "width",
            "name": "width",
            "pos": [
              -3669.9999999999995,
              1127.6449190829537
            ],
            "type": "INT"
          },
          {
            "id": "f3be332b-9d61-4787-a921-f09415792508",
            "linkIds": [
              330
            ],
            "localized_name": "height",
            "name": "height",
            "pos": [
              -3669.9999999999995,
              1147.6449190829537
            ],
            "type": "INT"
          },
          {
            "id": "509ccf18-154b-4bf4-a80a-fa7f7dffada3",
            "linkIds": [
              403
            ],
            "localized_name": "length",
            "name": "length",
            "pos": [
              -3669.9999999999995,
              1167.6449190829537
            ],
            "type": "INT"
          }
        ],
        "links": [
          {
            "id": 395,
            "origin_id": 183,
            "origin_slot": 0,
            "target_id": 188,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 325,
            "origin_id": 159,
            "origin_slot": 0,
            "target_id": 162,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 379,
            "origin_id": 162,
            "origin_slot": 0,
            "target_id": 182,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 74,
            "origin_id": 38,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 377,
            "origin_id": 182,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 408,
            "origin_id": 182,
            "origin_slot": 0,
            "target_id": 201,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 150,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 151,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 152,
            "origin_id": 39,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 75,
            "origin_id": 38,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 35,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 76,
            "origin_id": 39,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 148,
            "origin_id": 83,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 149,
            "origin_id": 83,
            "origin_slot": 1,
            "target_id": 3,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 165,
            "origin_id": 83,
            "origin_slot": 2,
            "target_id": 3,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 321,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 159,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 384,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 83,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 451,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 83,
            "target_slot": 4,
            "type": "MASK"
          },
          {
            "id": 327,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 83,
            "target_slot": 6,
            "type": "INT"
          },
          {
            "id": 330,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 83,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 403,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 83,
            "target_slot": 8,
            "type": "INT"
          },
          {
            "id": 371,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 505,
            "origin_id": 188,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 506,
            "origin_id": 244,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "MODEL"
          }
        ],
        "name": "Wan Vace 2.1",
        "nodes": [
          {
            "flags": {},
            "id": 38,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  74,
                  75
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "slot_index": 0,
                "type": "CLIP"
              }
            ],
            "pos": [
              -4306,
              1022
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors"
                }
              ],
              "ver": "0.3.33"
            },
            "size": [
              384,
              177.31250000000003
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
              "wan",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 39,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  76,
                  152
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "slot_index": 0,
                "type": "VAE"
              }
            ],
            "pos": [
              -4304.80830321475,
              1261.410158089259
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "vae",
                  "name": "wan_2.1_vae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors"
                }
              ],
              "ver": "0.3.33"
            },
            "size": [
              384,
              108
            ],
            "type": "VAELoader",
            "widgets_values": [
              "wan_2.1_vae.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 162,
            "inputs": [
              {
                "link": 325,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  379
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3454,
              950
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.34"
            },
            "size": [
              336,
              98.39999999999999
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              1
            ]
          },
          {
            "flags": {},
            "id": 83,
            "inputs": [
              {
                "link": 150,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 151,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 152,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              },
              {
                "link": 384,
                "localized_name": "control_video",
                "name": "control_video",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 451,
                "localized_name": "control_masks",
                "name": "control_masks",
                "shape": 7,
                "type": "MASK"
              },
              {
                "link": null,
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 327,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 330,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 403,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  148
                ],
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  149
                ],
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  165
                ],
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT"
              },
              {
                "links": null,
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT"
              }
            ],
            "pos": [
              -2014,
              806
            ],
            "properties": {
              "Node name for S&R": "WanVaceToVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.33"
            },
            "size": [
              324,
              352.00000000000006
            ],
            "type": "WanVaceToVideo",
            "widgets_values": [
              720,
              720,
              81,
              1,
              1
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 8,
            "inputs": [
              {
                "link": 35,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 76,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  371
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              -1018,
              806
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.33"
            },
            "size": [
              225,
              96
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 201,
            "inputs": [
              {
                "link": 408,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [],
            "pos": [
              -3058.8544148709557,
              1242.6689083940075
            ],
            "properties": {
              "Node name for S&R": "PreviewAny"
            },
            "size": [
              454.1991280311784,
              351.96087286336433
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 159,
            "inputs": [
              {
                "link": 321,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  325
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3454,
              818
            ],
            "properties": {
              "Node name for S&R": "ReverseImageBatch",
              "cnr_id": "comfyui-kjnodes",
              "ver": "44565e9bffc89de454d06b4abe08137d1247652a"
            },
            "size": [
              340.00000000000006,
              72
            ],
            "type": "ReverseImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 183,
            "inputs": [],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  395
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -4304.282161584672,
              812.0725878423387
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "wan2.1_vace_14B_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors"
                }
              ]
            },
            "size": [
              384,
              142.65625
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "wan2.1_vace_14B_fp16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 75,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  151
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -2470,
              1022
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.3.33"
            },
            "size": [
              337.77843749999994,
              149.00000000000003
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 506,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 148,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 149,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 165,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  35
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              -1582,
              806
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.33"
            },
            "size": [
              468,
              1068
            ],
            "type": "KSampler",
            "widgets_values": [
              276217540434315,
              "randomize",
              8,
              1,
              "euler",
              "simple",
              1
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 74,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 377,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  150
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -2470,
              806
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.3.33"
            },
            "size": [
              329.238984375,
              149
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 188,
            "inputs": [
              {
                "link": 395,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  505
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -3835.4581721918357,
              817.2228720924072
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly",
              "models": [
                {
                  "directory": "loras",
                  "name": "Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors",
                  "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors?download=true"
                }
              ]
            },
            "size": [
              320.68310378201005,
              98.39999999999999
            ],
            "type": "LoraLoaderModelOnly",
            "widgets_values": [
              "Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors",
              0.7
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 244,
            "inputs": [
              {
                "link": 505,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  506
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -3835.1063745717424,
              966.9895050783346
            ],
            "properties": {
              "Node name for S&R": "UNetTemporalAttentionMultiply",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.3.27"
            },
            "size": [
              324,
              156
            ],
            "type": "UNetTemporalAttentionMultiply",
            "widgets_values": [
              1,
              1,
              1.2,
              1.3
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 182,
            "inputs": [
              {
                "link": 379,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "OPENAI_INPUT_FILES"
              },
              {
                "link": null,
                "localized_name": "advanced_options",
                "name": "advanced_options",
                "shape": 7,
                "type": "OPENAI_CHAT_CONFIG"
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  377,
                  408
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -3058,
              818
            ],
            "properties": {
              "Node name for S&R": "OpenAIChatNode"
            },
            "size": [
              456,
              360
            ],
            "type": "OpenAIChatNode",
            "widgets_values": [
              "Analyze the image closely and describe it with high visual fidelity.\n\nWrite a focused prompt targeting roughly 100 tokens. Use dense, specific, cinematic language with minimal fluff. Return exactly one paragraph, 1-2 sentences only. No titles, no labels, no bullet points, no numbering, no explanations, no quotation marks, no markdown, and no extra text before or after the prompt.\n\nOutput prompt only.",
              false,
              "o4-mini"
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            -694,
            770,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "a7c0558f-be0c-4223-8966-c2c87614987d",
            "linkIds": [
              371
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              -560,
              660
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 4,
          "lastLinkId": 513,
          "lastNodeId": 251,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [
          {
            "bounding": [
              -4294,
              -634,
              2436,
              1236
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 1,
            "title": "Create empty frames"
          },
          {
            "bounding": [
              -3814,
              182,
              1192.9679620857432,
              399.60004539224326
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 4,
            "title": "Masks for empty frames"
          }
        ],
        "id": "7c522763-319b-4460-b152-ed2027c505f8",
        "inputNode": {
          "bounding": [
            -4506.360811346389,
            -47.19125850613964,
            120,
            80
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "f9699077-903d-4ec3-81cd-e378344cb9cd",
            "linkIds": [
              320
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -4406.360811346389,
              -27.19125850613964
            ],
            "type": "IMAGE"
          },
          {
            "id": "ab8dc283-2702-43f9-abe4-e9e29682ce41",
            "label": "Length",
            "linkIds": [
              507
            ],
            "name": "value",
            "pos": [
              -4406.360811346389,
              -7.19125850613964
            ],
            "type": "INT"
          }
        ],
        "links": [
          {
            "id": 461,
            "origin_id": 228,
            "origin_slot": 0,
            "target_id": 163,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 430,
            "origin_id": 160,
            "origin_slot": 1,
            "target_id": 216,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 431,
            "origin_id": 160,
            "origin_slot": 2,
            "target_id": 216,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 402,
            "origin_id": 197,
            "origin_slot": 0,
            "target_id": 144,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 410,
            "origin_id": 203,
            "origin_slot": 0,
            "target_id": 144,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 400,
            "origin_id": 160,
            "origin_slot": 1,
            "target_id": 197,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 401,
            "origin_id": 160,
            "origin_slot": 2,
            "target_id": 197,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 426,
            "origin_id": 214,
            "origin_slot": 0,
            "target_id": 217,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 459,
            "origin_id": 184,
            "origin_slot": 0,
            "target_id": 226,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 460,
            "origin_id": 214,
            "origin_slot": 0,
            "target_id": 227,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 463,
            "origin_id": 228,
            "origin_slot": 0,
            "target_id": 224,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 419,
            "origin_id": 203,
            "origin_slot": 0,
            "target_id": 213,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 409,
            "origin_id": 200,
            "origin_slot": 0,
            "target_id": 203,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 322,
            "origin_id": 160,
            "origin_slot": 0,
            "target_id": 157,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 462,
            "origin_id": 228,
            "origin_slot": 0,
            "target_id": 157,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 383,
            "origin_id": 157,
            "origin_slot": 0,
            "target_id": 184,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 449,
            "origin_id": 224,
            "origin_slot": 0,
            "target_id": 214,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 421,
            "origin_id": 213,
            "origin_slot": 0,
            "target_id": 214,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 450,
            "origin_id": 224,
            "origin_slot": 0,
            "target_id": 214,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 320,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 160,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 454,
            "origin_id": 217,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 368,
            "origin_id": 160,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 452,
            "origin_id": 160,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 455,
            "origin_id": 160,
            "origin_slot": 1,
            "target_id": -20,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 456,
            "origin_id": 160,
            "origin_slot": 2,
            "target_id": -20,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 411,
            "origin_id": 203,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 457,
            "origin_id": 200,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 5,
            "type": "INT"
          },
          {
            "id": 464,
            "origin_id": 228,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 6,
            "type": "INT"
          },
          {
            "id": 453,
            "origin_id": 184,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 7,
            "type": "IMAGE"
          },
          {
            "id": 480,
            "origin_id": 144,
            "origin_slot": 0,
            "target_id": 184,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 486,
            "origin_id": 160,
            "origin_slot": 1,
            "target_id": 235,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 487,
            "origin_id": 160,
            "origin_slot": 2,
            "target_id": 235,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 488,
            "origin_id": 235,
            "origin_slot": 0,
            "target_id": 224,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 492,
            "origin_id": 160,
            "origin_slot": 0,
            "target_id": 236,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 493,
            "origin_id": 236,
            "origin_slot": 0,
            "target_id": 163,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 494,
            "origin_id": 237,
            "origin_slot": 0,
            "target_id": 184,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 495,
            "origin_id": 163,
            "origin_slot": 0,
            "target_id": 237,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 504,
            "origin_id": 216,
            "origin_slot": 0,
            "target_id": 213,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 507,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 200,
            "target_slot": 0,
            "type": "INT"
          }
        ],
        "name": "Seanless Loop",
        "nodes": [
          {
            "flags": {},
            "id": 184,
            "inputs": [
              {
                "label": "image0",
                "link": 494,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 480,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": 383,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "label": "image3",
                "link": null,
                "localized_name": "images.image3",
                "name": "images.image3",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  453,
                  459
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -2878.190158931654,
              -492.1537933101707
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode"
            },
            "size": [
              240,
              144
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 160,
            "inputs": [
              {
                "link": 320,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  322,
                  368,
                  452,
                  492
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": [
                  400,
                  430,
                  455,
                  486
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  401,
                  431,
                  456,
                  487
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              }
            ],
            "pos": [
              -4260.956277950203,
              -487.34446517107745
            ],
            "properties": {
              "Node name for S&R": "ImageResize+",
              "cnr_id": "comfyui_essentials",
              "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9"
            },
            "size": [
              360,
              319.984375
            ],
            "type": "ImageResize+",
            "widgets_values": [
              720,
              720,
              "lanczos",
              "keep proportion",
              "always",
              32
            ]
          },
          {
            "flags": {},
            "id": 200,
            "inputs": [
              {
                "link": 507,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  409,
                  457
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -4257.999711064996,
              -93.99985914918352
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              360,
              104
            ],
            "title": "Length",
            "type": "PrimitiveInt",
            "widgets_values": [
              121,
              "fixed"
            ]
          },
          {
            "flags": {},
            "id": 228,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  461,
                  462,
                  463,
                  464
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -4251.836581072979,
              260.1784999816116
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              353.484375,
              104
            ],
            "title": "Length",
            "type": "PrimitiveInt",
            "widgets_values": [
              16,
              "fixed"
            ]
          },
          {
            "flags": {},
            "id": 203,
            "inputs": [
              {
                "link": 409,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  410,
                  411,
                  419
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              -4245.999892428177,
              86.00000300868317
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+"
            },
            "size": [
              350.203125,
              132
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a - (16 * 2)"
            ]
          },
          {
            "flags": {},
            "id": 236,
            "inputs": [
              {
                "link": 492,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  493
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3339.999811451903,
              -569.9999394153947
            ],
            "properties": {
              "Node name for S&R": "ReverseImageBatch"
            },
            "size": [
              362.5,
              72
            ],
            "type": "ReverseImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 163,
            "inputs": [
              {
                "link": 493,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 461,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  495
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3339.999811451903,
              -459.9999232175919
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.34"
            },
            "size": [
              360,
              136
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              16
            ]
          },
          {
            "flags": {},
            "id": 237,
            "inputs": [
              {
                "link": 495,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  494
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3339.999811451903,
              -279.9998888860189
            ],
            "properties": {
              "Node name for S&R": "ReverseImageBatch"
            },
            "size": [
              360,
              72
            ],
            "type": "ReverseImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 144,
            "inputs": [
              {
                "link": 402,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "link": 410,
                "localized_name": "multiply_by",
                "name": "multiply_by",
                "type": "INT",
                "widget": {
                  "name": "multiply_by"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  480
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "count",
                "name": "count",
                "type": "INT"
              }
            ],
            "pos": [
              -3339.999811451903,
              -149.99987365619972
            ],
            "properties": {
              "Node name for S&R": "VHS_DuplicateImages",
              "cnr_id": "comfyui-videohelpersuite",
              "ver": "a7ce59e381934733bfae03b1be029756d6ce936d"
            },
            "size": [
              360,
              124
            ],
            "type": "VHS_DuplicateImages",
            "widgets_values": {
              "multiply_by": 89
            }
          },
          {
            "flags": {},
            "id": 157,
            "inputs": [
              {
                "link": 322,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 462,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  383
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3339.999811451903,
              20.00013963765184
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.34"
            },
            "size": [
              360,
              136
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              16
            ]
          },
          {
            "flags": {},
            "id": 224,
            "inputs": [
              {
                "link": 488,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "link": 463,
                "localized_name": "multiply_by",
                "name": "multiply_by",
                "type": "INT",
                "widget": {
                  "name": "multiply_by"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  449,
                  450
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "count",
                "name": "count",
                "type": "INT"
              }
            ],
            "pos": [
              -3333.999902133494,
              254.000132616585
            ],
            "properties": {
              "Node name for S&R": "VHS_DuplicateImages",
              "cnr_id": "comfyui-videohelpersuite",
              "ver": "a7ce59e381934733bfae03b1be029756d6ce936d"
            },
            "size": [
              360,
              124
            ],
            "type": "VHS_DuplicateImages",
            "widgets_values": {
              "multiply_by": 16
            }
          },
          {
            "flags": {},
            "id": 213,
            "inputs": [
              {
                "link": 504,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "link": 419,
                "localized_name": "multiply_by",
                "name": "multiply_by",
                "type": "INT",
                "widget": {
                  "name": "multiply_by"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  421
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "count",
                "name": "count",
                "type": "INT"
              }
            ],
            "pos": [
              -3333.999902133494,
              446.00015775868246
            ],
            "properties": {
              "Node name for S&R": "VHS_DuplicateImages",
              "cnr_id": "comfyui-videohelpersuite",
              "ver": "a7ce59e381934733bfae03b1be029756d6ce936d"
            },
            "size": [
              360,
              124
            ],
            "type": "VHS_DuplicateImages",
            "widgets_values": {
              "multiply_by": 89
            }
          },
          {
            "flags": {},
            "id": 217,
            "inputs": [
              {
                "link": 426,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  454
                ],
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK"
              }
            ],
            "pos": [
              -2878.000251333565,
              458.00023465606
            ],
            "properties": {
              "Node name for S&R": "ImageToMask"
            },
            "size": [
              252,
              106.65625
            ],
            "type": "ImageToMask",
            "widgets_values": [
              "red"
            ]
          },
          {
            "color": "rgba(38, 73, 116, 0.7)",
            "flags": {},
            "id": 235,
            "inputs": [
              {
                "link": null,
                "localized_name": "size_as",
                "name": "size_as",
                "shape": 7,
                "type": "*"
              },
              {
                "link": 486,
                "localized_name": "custom_width",
                "name": "custom_width",
                "type": "INT",
                "widget": {
                  "name": "custom_width"
                }
              },
              {
                "link": 487,
                "localized_name": "custom_height",
                "name": "custom_height",
                "type": "INT",
                "widget": {
                  "name": "custom_height"
                }
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  488
                ],
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3798.968425643896,
              256.6005581902359
            ],
            "properties": {
              "Node name for S&R": "LayerUtility: ColorImage V2"
            },
            "size": [
              337.21875,
              206.65625
            ],
            "type": "LayerUtility: ColorImage V2",
            "widgets_values": [
              "custom",
              512,
              512,
              "#000000"
            ]
          },
          {
            "color": "rgba(38, 73, 116, 0.7)",
            "flags": {},
            "id": 197,
            "inputs": [
              {
                "link": null,
                "localized_name": "size_as",
                "name": "size_as",
                "shape": 7,
                "type": "*"
              },
              {
                "link": 400,
                "localized_name": "custom_width",
                "name": "custom_width",
                "type": "INT",
                "widget": {
                  "name": "custom_width"
                }
              },
              {
                "link": 401,
                "localized_name": "custom_height",
                "name": "custom_height",
                "type": "INT",
                "widget": {
                  "name": "custom_height"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  402
                ],
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3802.0000602650666,
              -489.9999863307562
            ],
            "properties": {
              "Node name for S&R": "LayerUtility: ColorImage V2"
            },
            "size": [
              337.21875,
              206.65625
            ],
            "type": "LayerUtility: ColorImage V2",
            "widgets_values": [
              "custom",
              512,
              512,
              "#7F7F7F"
            ]
          },
          {
            "flags": {},
            "id": 214,
            "inputs": [
              {
                "label": "image0",
                "link": 449,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 421,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": 450,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "label": "image3",
                "link": null,
                "localized_name": "images.image3",
                "name": "images.image3",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  426,
                  460
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -2873.782167702031,
              255.048498314467
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode"
            },
            "size": [
              240,
              144
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "color": "rgba(38, 73, 116, 0.7)",
            "flags": {},
            "id": 216,
            "inputs": [
              {
                "link": null,
                "localized_name": "size_as",
                "name": "size_as",
                "shape": 7,
                "type": "*"
              },
              {
                "link": 430,
                "localized_name": "custom_width",
                "name": "custom_width",
                "type": "INT",
                "widget": {
                  "name": "custom_width"
                }
              },
              {
                "link": 431,
                "localized_name": "custom_height",
                "name": "custom_height",
                "type": "INT",
                "widget": {
                  "name": "custom_height"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  504
                ],
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -3808.1308216002913,
              -231.75681637057414
            ],
            "properties": {
              "Node name for S&R": "LayerUtility: ColorImage V2"
            },
            "size": [
              337.21875,
              206.65625
            ],
            "type": "LayerUtility: ColorImage V2",
            "widgets_values": [
              "custom",
              512,
              512,
              "#ffffff"
            ]
          },
          {
            "flags": {},
            "id": 226,
            "inputs": [
              {
                "link": 459,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO"
              },
              {
                "link": null,
                "localized_name": "meta_batch",
                "name": "meta_batch",
                "shape": 7,
                "type": "VHS_BatchManager"
              },
              {
                "link": null,
                "localized_name": "vae",
                "name": "vae",
                "shape": 7,
                "type": "VAE"
              }
            ],
            "mode": 2,
            "order": 14,
            "outputs": [
              {
                "links": null,
                "localized_name": "Filenames",
                "name": "Filenames",
                "type": "VHS_FILENAMES"
              }
            ],
            "pos": [
              -2523.7268523168723,
              -493.45447957468866
            ],
            "properties": {
              "Node name for S&R": "VHS_VideoCombine"
            },
            "size": [
              270.390625,
              453.328125
            ],
            "type": "VHS_VideoCombine",
            "widgets_values": {
              "crf": 19,
              "filename_prefix": "control_video",
              "format": "video/h264-mp4",
              "frame_rate": 16,
              "loop_count": 0,
              "pingpong": false,
              "pix_fmt": "yuv420p",
              "save_metadata": false,
              "save_output": false,
              "trim_to_audio": false,
              "videopreview": {
                "hidden": false,
                "params": {
                  "filename": "2188b8075fbf3f328b7dc257dda4f8dc72b8e75782eab14de6c703245674fbfd.mp4",
                  "format": "video/h264-mp4",
                  "frame_rate": 16,
                  "fullpath": "",
                  "subfolder": "",
                  "type": "temp",
                  "workflow": "control_video_00020.png"
                },
                "paused": false
              }
            }
          },
          {
            "flags": {},
            "id": 227,
            "inputs": [
              {
                "link": 460,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO"
              },
              {
                "link": null,
                "localized_name": "meta_batch",
                "name": "meta_batch",
                "shape": 7,
                "type": "VHS_BatchManager"
              },
              {
                "link": null,
                "localized_name": "vae",
                "name": "vae",
                "shape": 7,
                "type": "VAE"
              }
            ],
            "mode": 2,
            "order": 15,
            "outputs": [
              {
                "links": null,
                "localized_name": "Filenames",
                "name": "Filenames",
                "type": "VHS_FILENAMES"
              }
            ],
            "pos": [
              -2168.175235704338,
              -496.309463973158
            ],
            "properties": {
              "Node name for S&R": "VHS_VideoCombine"
            },
            "size": [
              270.390625,
              453.328125
            ],
            "type": "VHS_VideoCombine",
            "widgets_values": {
              "crf": 19,
              "filename_prefix": "control_masks",
              "format": "video/h264-mp4",
              "frame_rate": 16,
              "loop_count": 0,
              "pingpong": false,
              "pix_fmt": "yuv420p",
              "save_metadata": true,
              "save_output": false,
              "trim_to_audio": false,
              "videopreview": {
                "hidden": false,
                "params": {
                  "filename": "4251ab051054cfd0806b8eeb72d8f0fde855e6031cb1226f8d11fdf81c50f0e9.mp4",
                  "format": "video/h264-mp4",
                  "frame_rate": 16,
                  "fullpath": "",
                  "subfolder": "",
                  "type": "temp",
                  "workflow": "control_masks_00019.png"
                },
                "paused": false
              }
            }
          }
        ],
        "outputNode": {
          "bounding": [
            -1782.3608113463888,
            -131.19125850613963,
            120,
            200
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "4c57c2da-5b65-43da-b5f6-fbd8ff6546ce",
            "linkIds": [
              454
            ],
            "localized_name": "MASK",
            "name": "MASK",
            "pos": [
              -1762.3608113463888,
              -111.19125850613963
            ],
            "type": "MASK"
          },
          {
            "id": "7f803672-7b85-477b-9acc-96dbb1ea62f3",
            "linkIds": [
              368,
              452
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              -1762.3608113463888,
              -91.19125850613963
            ],
            "type": "IMAGE"
          },
          {
            "id": "5811491b-55e4-4bec-bb47-4bee78a2f45e",
            "linkIds": [
              455
            ],
            "localized_name": "width",
            "name": "width",
            "pos": [
              -1762.3608113463888,
              -71.19125850613963
            ],
            "type": "INT"
          },
          {
            "id": "85db6bad-5065-4417-bf05-259a2e6813bb",
            "linkIds": [
              456
            ],
            "localized_name": "height",
            "name": "height",
            "pos": [
              -1762.3608113463888,
              -51.19125850613963
            ],
            "type": "INT"
          },
          {
            "id": "4ef74551-8286-4264-b814-f428c10bfc3e",
            "label": "batch_index",
            "linkIds": [
              411
            ],
            "localized_name": "INT",
            "name": "INT",
            "pos": [
              -1762.3608113463888,
              -31.191258506139633
            ],
            "type": "INT"
          },
          {
            "id": "ffb31b73-c2f5-4b55-b661-53a46c0e5fbb",
            "label": "length",
            "linkIds": [
              457
            ],
            "localized_name": "INT_1",
            "name": "INT_1",
            "pos": [
              -1762.3608113463888,
              -11.191258506139633
            ],
            "type": "INT"
          },
          {
            "id": "8c8f2000-083d-4702-b6e8-ff4a9e99c470",
            "label": "16",
            "linkIds": [
              464
            ],
            "localized_name": "INT_2",
            "name": "INT_2",
            "pos": [
              -1762.3608113463888,
              8.808741493860367
            ],
            "type": "INT"
          },
          {
            "id": "9e23ee27-f037-4f40-bca8-12ced6372abb",
            "label": "control_video",
            "linkIds": [
              453
            ],
            "localized_name": "IMAGE_1",
            "name": "IMAGE_1",
            "pos": [
              -1762.3608113463888,
              28.808741493860367
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 4,
          "lastLinkId": 513,
          "lastNodeId": 251,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        4114.969159305376,
        884.3554471562397
      ],
      "scale": 0.7089950904671292
    },
    "frontendVersion": "1.41.13",
    "workflowRendererVersion": "Vue"
  },
  "groups": [
    {
      "bounding": [
        -3898,
        -598,
        480,
        1236
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Upload Video"
    },
    {
      "bounding": [
        -3298,
        -598,
        1500,
        1236
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Seamless Loop"
    }
  ],
  "id": "683db563-d535-4714-adb5-988a3f78784c",
  "last_link_id": 513,
  "last_node_id": 251,
  "links": [
    [
      372,
      177,
      0,
      176,
      1,
      "IMAGE"
    ],
    [
      458,
      225,
      0,
      177,
      0,
      "IMAGE"
    ],
    [
      466,
      158,
      0,
      229,
      0,
      "IMAGE"
    ],
    [
      467,
      229,
      0,
      225,
      2,
      "MASK"
    ],
    [
      468,
      229,
      1,
      176,
      0,
      "IMAGE"
    ],
    [
      470,
      229,
      2,
      225,
      3,
      "INT"
    ],
    [
      471,
      229,
      3,
      225,
      4,
      "INT"
    ],
    [
      472,
      229,
      4,
      177,
      2,
      "INT"
    ],
    [
      473,
      229,
      5,
      225,
      5,
      "INT"
    ],
    [
      474,
      229,
      6,
      177,
      1,
      "INT"
    ],
    [
      475,
      229,
      7,
      225,
      1,
      "IMAGE"
    ],
    [
      479,
      229,
      1,
      225,
      0,
      "IMAGE"
    ],
    [
      511,
      250,
      0,
      251,
      0,
      "VIDEO"
    ],
    [
      512,
      176,
      0,
      250,
      0,
      "IMAGE"
    ],
    [
      513,
      158,
      2,
      250,
      1,
      "AUDIO"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 176,
      "inputs": [
        {
          "link": 468,
          "name": "image1",
          "type": "IMAGE"
        },
        {
          "link": 372,
          "name": "image2",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            512
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -2157.9999418335665,
        -262.0509521741609
      ],
      "properties": {
        "Node name for S&R": "ImageBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        252,
        96
      ],
      "type": "ImageBatch",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 177,
      "inputs": [
        {
          "link": 458,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 474,
          "name": "batch_index",
          "type": "INT",
          "widget": {
            "name": "batch_index"
          }
        },
        {
          "link": 472,
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            372
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -2157.9999418335665,
        -454.05089122940524
      ],
      "properties": {
        "Node name for S&R": "ImageFromBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        252,
        136
      ],
      "type": "ImageFromBatch",
      "widgets_values": [
        16,
        89
      ]
    },
    {
      "flags": {},
      "id": 158,
      "inputs": [
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            466
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "frame_count",
          "type": "INT"
        },
        {
          "links": [
            513
          ],
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": null,
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "pos": [
        -3838.000549217759,
        -454.0508481859786
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo",
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "a7ce59e381934733bfae03b1be029756d6ce936d"
      },
      "size": [
        360,
        413.328125
      ],
      "type": "VHS_LoadVideo",
      "widgets_values": {
        "custom_height": 0,
        "custom_width": 0,
        "force_rate": 16,
        "format": "Wan",
        "frame_load_cap": 0,
        "select_every_nth": 1,
        "skip_first_frames": 0,
        "video": "seamless_loop_input.mp4",
        "videopreview": {
          "hidden": false,
          "params": {
            "custom_height": 0,
            "custom_width": 832,
            "filename": "seamless_loop_input.mp4",
            "force_rate": 16,
            "format": "video/mp4",
            "frame_load_cap": 0,
            "select_every_nth": 1,
            "skip_first_frames": 0,
            "type": "input"
          },
          "paused": false
        }
      }
    },
    {
      "flags": {},
      "id": 225,
      "inputs": [
        {
          "link": 479,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": 475,
          "name": "control_video",
          "type": "IMAGE"
        },
        {
          "link": 467,
          "name": "control_masks",
          "type": "MASK"
        },
        {
          "link": 470,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 471,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "link": 473,
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          }
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            458
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -2757.9999988809077,
        -454.05089122940524
      ],
      "properties": {
        "proxyWidgets": [
          [
            "3",
            "steps"
          ],
          [
            "83",
            "width"
          ],
          [
            "83",
            "height"
          ],
          [
            "83",
            "length"
          ]
        ]
      },
      "size": [
        480,
        1028.796875
      ],
      "type": "7bf25172-4a90-46c5-83a5-0e149e49926c",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 229,
      "inputs": [
        {
          "link": 466,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "Length",
          "link": null,
          "name": "value",
          "type": "INT",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            467
          ],
          "name": "MASK",
          "type": "MASK"
        },
        {
          "links": [
            468,
            479
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            470
          ],
          "name": "width",
          "type": "INT"
        },
        {
          "links": [
            471
          ],
          "name": "height",
          "type": "INT"
        },
        {
          "label": "batch_index",
          "links": [
            472
          ],
          "name": "INT",
          "type": "INT"
        },
        {
          "label": "length",
          "links": [
            473
          ],
          "name": "INT_1",
          "type": "INT"
        },
        {
          "label": "16",
          "links": [
            474
          ],
          "name": "INT_2",
          "type": "INT"
        },
        {
          "label": "control_video",
          "links": [
            475
          ],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -3229.9997522106737,
        -449.99994522329706
      ],
      "properties": {
        "proxyWidgets": [
          [
            "200",
            "value"
          ]
        ]
      },
      "size": [
        335.421875,
        300
      ],
      "type": "7c522763-319b-4460-b152-ed2027c505f8",
      "widgets_values": []
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 238,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        -4461.999727017617,
        -562.0000172807561
      ],
      "properties": {},
      "size": [
        480,
        564
      ],
      "title": "Seamless Loop ♾️",
      "type": "MarkdownNote",
      "widgets_values": [
        "Upload a **video** and turn it into a seamless loop.\n\n## How It Works\n\n1. **Upload a video**\n2. Set your video length\n\n3. The system:\n   - Creates empty frames\n   - Uses Wan 2.1 VACE to fill these empty Frames and generate a seamless loop\n\n## Tips\n\n- This technique works better when first and last frame have similiar angles towards your subject.\n\nThat’s it.  \nVideo → Seamless Loop."
      ]
    },
    {
      "flags": {},
      "id": 250,
      "inputs": [
        {
          "link": 512,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": 513,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            511
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -2149.9997183949417,
        -99.99994064129896
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "size": [
        324,
        128
      ],
      "type": "CreateVideo",
      "widgets_values": [
        16
      ]
    },
    {
      "flags": {},
      "id": 251,
      "inputs": [
        {
          "link": 511,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [],
      "pos": [
        -1709.9996536037302,
        -509.9999423193458
      ],
      "properties": {},
      "size": [
        570,
        1080
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}