{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              -660,
              -370,
              416.1419982910156,
              630.0299011230469
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 1,
            "title": "Models"
          },
          {
            "bounding": [
              -220,
              -370,
              510,
              630
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Prompt"
          }
        ],
        "id": "7c692524-3ee9-4779-ba4c-f4e6a98c1110",
        "inputNode": {
          "bounding": [
            -840,
            175,
            141.2265625,
            160
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "dd7b081e-ea65-43c8-bd68-0f82506c4246",
            "label": "image_1",
            "linkIds": [
              219
            ],
            "localized_name": "image2",
            "name": "image2",
            "pos": [
              -718.7734375,
              195
            ],
            "shape": 7,
            "type": "IMAGE"
          },
          {
            "id": "70e82187-e90b-49d7-88cd-fce5c0522cc4",
            "label": "image_2(optional)",
            "linkIds": [
              222,
              223
            ],
            "localized_name": "image3",
            "name": "image3",
            "pos": [
              -718.7734375,
              215
            ],
            "shape": 7,
            "type": "IMAGE"
          },
          {
            "id": "342882bc-746e-471e-afc5-cac803d00044",
            "label": "image_3(optional)",
            "linkIds": [
              220,
              221
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -718.7734375,
              235
            ],
            "type": "IMAGE"
          },
          {
            "id": "37ec7435-5be8-4f68-a490-136ebe1a15f2",
            "linkIds": [
              217
            ],
            "name": "prompt",
            "pos": [
              -718.7734375,
              255
            ],
            "type": "STRING"
          },
          {
            "id": "7aa394b9-32c5-4604-9cb1-d15947e2a6f0",
            "linkIds": [
              229
            ],
            "name": "lora_name",
            "pos": [
              -718.7734375,
              275
            ],
            "type": "COMBO"
          },
          {
            "id": "12234894-db00-418c-a024-3e2a8e79c41e",
            "label": "lora_strength",
            "linkIds": [
              230
            ],
            "name": "strength_model",
            "pos": [
              -718.7734375,
              295
            ],
            "type": "FLOAT"
          }
        ],
        "links": [
          {
            "id": 188,
            "origin_id": 352,
            "origin_slot": 0,
            "target_id": 350,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 186,
            "origin_id": 353,
            "origin_slot": 0,
            "target_id": 351,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 177,
            "origin_id": 71,
            "origin_slot": 0,
            "target_id": 64,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 181,
            "origin_id": 355,
            "origin_slot": 0,
            "target_id": 352,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 185,
            "origin_id": 349,
            "origin_slot": 0,
            "target_id": 352,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 214,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": 352,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 215,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": 75,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 193,
            "origin_id": 349,
            "origin_slot": 0,
            "target_id": 75,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 178,
            "origin_id": 355,
            "origin_slot": 0,
            "target_id": 353,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 184,
            "origin_id": 349,
            "origin_slot": 0,
            "target_id": 353,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 171,
            "origin_id": 64,
            "origin_slot": 0,
            "target_id": 354,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 187,
            "origin_id": 351,
            "origin_slot": 0,
            "target_id": 354,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 189,
            "origin_id": 350,
            "origin_slot": 0,
            "target_id": 354,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 195,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 354,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 175,
            "origin_id": 354,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 12,
            "origin_id": 349,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 9,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 217,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 353,
            "target_slot": 5,
            "type": "STRING"
          },
          {
            "id": 219,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 88,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 220,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 353,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 221,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 352,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 222,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 353,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 223,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 352,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 225,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": 353,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 227,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 90,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 228,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 71,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 229,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 90,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 230,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 90,
            "target_slot": 2,
            "type": "FLOAT"
          }
        ],
        "name": "Image Edit (Qwen 2511)",
        "nodes": [
          {
            "flags": {},
            "id": 71,
            "inputs": [
              {
                "link": 228,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  177
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              320,
              -330
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              270,
              68.33333333333334
            ],
            "type": "ModelSamplingAuraFlow",
            "widgets_values": [
              3.1
            ]
          },
          {
            "flags": {},
            "id": 349,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  12,
                  184,
                  185,
                  193
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "slot_index": 0,
                "type": "VAE"
              }
            ],
            "pos": [
              -645.9996482820792,
              186.98522949158058
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "vae",
                  "name": "qwen_image_vae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              396.1328125,
              68.33333333333334
            ],
            "type": "VAELoader",
            "widgets_values": [
              "qwen_image_vae.safetensors"
            ]
          },
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {},
            "id": 350,
            "inputs": [
              {
                "link": 188,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  189
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              310,
              40
            ],
            "properties": {
              "Node name for S&R": "FluxKontextMultiReferenceLatentMethod",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              309.6734375,
              70
            ],
            "type": "FluxKontextMultiReferenceLatentMethod",
            "widgets_values": [
              "index_timestep_zero"
            ]
          },
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {},
            "id": 351,
            "inputs": [
              {
                "link": 186,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  187
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              310,
              -90
            ],
            "properties": {
              "Node name for S&R": "FluxKontextMultiReferenceLatentMethod",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              309.6734375,
              70
            ],
            "type": "FluxKontextMultiReferenceLatentMethod",
            "widgets_values": [
              "index_timestep_zero"
            ]
          },
          {
            "flags": {},
            "id": 64,
            "inputs": [
              {
                "link": 177,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  171
                ],
                "localized_name": "patched_model",
                "name": "patched_model",
                "type": "MODEL"
              }
            ],
            "pos": [
              320,
              -220
            ],
            "properties": {
              "Node name for S&R": "CFGNorm",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              270,
              68.33333333333334
            ],
            "type": "CFGNorm",
            "widgets_values": [
              1
            ]
          },
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {},
            "id": 81,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              640,
              280
            ],
            "properties": {},
            "size": [
              270,
              190
            ],
            "title": "KSampler settings",
            "type": "MarkdownNote",
            "widgets_values": [
              "You can test and find the best setting by yourself. The following table is for reference.\n|   | Qwen | Comfy | lightning LoRA |\n|--------|---------|------------|---------------------------|\n| Steps  | 40      | 20         | 4                         |\n| CFG    | 4.0     | 4.0       | 1.0                       |\n\nBy default, we use 20 steps as we just don't want it to take too long. Try 40 if you want a better result, but it will take longer."
            ]
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 352,
            "inputs": [
              {
                "link": 181,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 185,
                "localized_name": "vae",
                "name": "vae",
                "shape": 7,
                "type": "VAE"
              },
              {
                "link": 214,
                "localized_name": "image1",
                "name": "image1",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 223,
                "localized_name": "image2",
                "name": "image2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 221,
                "localized_name": "image3",
                "name": "image3",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  188
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -170,
              30
            ],
            "properties": {
              "Node name for S&R": "TextEncodeQwenImageEditPlus",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              420,
              220
            ],
            "type": "TextEncodeQwenImageEditPlus",
            "widgets_values": [
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 72,
            "inputs": [],
            "mode": 0,
            "order": 2,
            "outputs": [],
            "pos": [
              330,
              160
            ],
            "properties": {},
            "size": [
              280,
              90
            ],
            "type": "Note",
            "widgets_values": [
              "The \"Edit Model Reference Method\" nodes above are not needed if you use Comfy files, but may be needed if you use repackaged ones from other people."
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 8,
            "inputs": [
              {
                "link": 175,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 12,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  9
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              960,
              -320
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              140,
              46
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 353,
            "inputs": [
              {
                "link": 178,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 184,
                "localized_name": "vae",
                "name": "vae",
                "shape": 7,
                "type": "VAE"
              },
              {
                "link": 225,
                "localized_name": "image1",
                "name": "image1",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 222,
                "localized_name": "image2",
                "name": "image2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 220,
                "localized_name": "image3",
                "name": "image3",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 217,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  186
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -170,
              -290
            ],
            "properties": {
              "Node name for S&R": "TextEncodeQwenImageEditPlus",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              426.6276041666667,
              265.55989583333337
            ],
            "title": "TextEncodeQwenImageEditPlus (Positive)",
            "type": "TextEncodeQwenImageEditPlus",
            "widgets_values": [
              "inflate the woman"
            ]
          },
          {
            "flags": {},
            "id": 354,
            "inputs": [
              {
                "link": 171,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 187,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 189,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 195,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  175
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              630,
              -330
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              280,
              536
            ],
            "type": "KSampler",
            "widgets_values": [
              544553820212047,
              "randomize",
              40,
              4,
              "euler",
              "simple",
              1
            ]
          },
          {
            "flags": {},
            "id": 88,
            "inputs": [
              {
                "link": 219,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  213,
                  214,
                  215,
                  225
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -640,
              380
            ],
            "properties": {
              "Node name for S&R": "FluxKontextImageScale",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              194.9458984375,
              26
            ],
            "type": "FluxKontextImageScale",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 12,
            "inputs": [],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  227
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              -645.9996482820792,
              -299.0147578770062
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "qwen_image_edit_2511_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2511_bf16.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              396.1328125,
              96.66666666666667
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "qwen_image_edit_2511_bf16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 355,
            "inputs": [],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  178,
                  181
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              -650,
              0
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              396.1328125,
              125
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_2.5_vl_7b_fp8_scaled.safetensors",
              "qwen_image",
              "default"
            ]
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 90,
            "inputs": [
              {
                "link": 227,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 229,
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                }
              },
              {
                "link": 230,
                "localized_name": "strength_model",
                "name": "strength_model",
                "type": "FLOAT",
                "widget": {
                  "name": "strength_model"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  228
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              -650,
              -150
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly",
              "cnr_id": "comfy-core",
              "models": [
                {
                  "directory": "loras",
                  "name": "Qwen_Image_Edit_2511-SYSTMS_INFL8.safetensors",
                  "url": "https://huggingface.co/systms/SYSTMS-INFL8-LoRA-Qwen-Image-Edit-2511/resolve/main/SYSTMS_INFL8_LoRA_Qwen_Image_Edit_2511.safetensors"
                }
              ],
              "ver": "0.11.0"
            },
            "size": [
              390,
              100
            ],
            "type": "LoraLoaderModelOnly",
            "widgets_values": [
              "Qwen_Image_Edit_2511-SYSTMS_INFL8.safetensors",
              1
            ]
          },
          {
            "flags": {},
            "id": 75,
            "inputs": [
              {
                "link": 215,
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE"
              },
              {
                "link": 193,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  195
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              60,
              380
            ],
            "properties": {
              "Node name for S&R": "VAEEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "0.5.1"
            },
            "size": [
              187.5,
              60
            ],
            "type": "VAEEncode",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            1160,
            195,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "213ca908-7f8f-492b-9998-d4b74688db71",
            "linkIds": [
              9
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              1180,
              215
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 16,
          "lastLinkId": 878,
          "lastNodeId": 361,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        -1107.2813618817493,
        1138.1923482647348
      ],
      "scale": 0.4487590595886595
    },
    "frontendVersion": "1.41.13",
    "links_added_by_ue": [],
    "ue_links": [],
    "workflowRendererVersion": "LG"
  },
  "groups": [
    {
      "bounding": [
        0,
        -480,
        850,
        880
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "INPUT VIDEO"
    },
    {
      "bounding": [
        931.2374987343982,
        -480.3705983625175,
        1020,
        880
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 9,
      "title": "VIDEO PREPROCESSING"
    },
    {
      "bounding": [
        2027.178670530513,
        -480.3526661836859,
        2170,
        1010
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 10,
      "title": "WAN ANIMATE"
    }
  ],
  "id": "fd8419fe-ea71-4641-98fe-e40e230fd2a0",
  "last_link_id": 878,
  "last_node_id": 361,
  "links": [
    [
      8,
      2,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      46,
      35,
      0,
      33,
      0,
      "POSEMODEL"
    ],
    [
      50,
      33,
      0,
      36,
      0,
      "POSEDATA"
    ],
    [
      69,
      47,
      0,
      48,
      0,
      "SAM2MODEL"
    ],
    [
      71,
      33,
      3,
      48,
      4,
      "BBOX"
    ],
    [
      72,
      48,
      0,
      50,
      0,
      "MASK"
    ],
    [
      73,
      50,
      0,
      49,
      0,
      "MASK"
    ],
    [
      76,
      49,
      0,
      51,
      1,
      "MASK"
    ],
    [
      80,
      52,
      1,
      33,
      3,
      "INT"
    ],
    [
      81,
      52,
      1,
      36,
      1,
      "INT"
    ],
    [
      84,
      52,
      2,
      33,
      4,
      "INT"
    ],
    [
      85,
      52,
      2,
      36,
      2,
      "INT"
    ],
    [
      86,
      52,
      1,
      32,
      2,
      "INT"
    ],
    [
      87,
      52,
      2,
      32,
      3,
      "INT"
    ],
    [
      88,
      2,
      0,
      52,
      0,
      "IMAGE"
    ],
    [
      89,
      52,
      0,
      33,
      1,
      "IMAGE"
    ],
    [
      90,
      52,
      0,
      48,
      1,
      "IMAGE"
    ],
    [
      91,
      52,
      0,
      51,
      0,
      "IMAGE"
    ],
    [
      97,
      57,
      0,
      53,
      2,
      "WANVIDLORA"
    ],
    [
      98,
      53,
      0,
      58,
      0,
      "WANVIDEOMODEL"
    ],
    [
      99,
      59,
      0,
      58,
      2,
      "WANVIDEOSCHEDULER"
    ],
    [
      100,
      60,
      0,
      58,
      1,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      101,
      61,
      0,
      60,
      0,
      "WANVAE"
    ],
    [
      102,
      62,
      0,
      60,
      1,
      "WANVIDIMAGE_CLIPEMBEDS"
    ],
    [
      103,
      63,
      0,
      62,
      0,
      "CLIP_VISION"
    ],
    [
      104,
      32,
      0,
      62,
      1,
      "IMAGE"
    ],
    [
      105,
      32,
      0,
      60,
      2,
      "IMAGE"
    ],
    [
      106,
      51,
      0,
      60,
      5,
      "IMAGE"
    ],
    [
      107,
      36,
      0,
      60,
      3,
      "IMAGE"
    ],
    [
      108,
      33,
      1,
      60,
      4,
      "IMAGE"
    ],
    [
      109,
      49,
      0,
      60,
      6,
      "MASK"
    ],
    [
      110,
      52,
      1,
      60,
      7,
      "INT"
    ],
    [
      111,
      52,
      2,
      60,
      8,
      "INT"
    ],
    [
      117,
      65,
      0,
      58,
      3,
      "WANVIDEOTEXTEMBEDS"
    ],
    [
      118,
      66,
      0,
      65,
      0,
      "WANTEXTENCODER"
    ],
    [
      119,
      58,
      0,
      67,
      1,
      "LATENT"
    ],
    [
      120,
      67,
      0,
      43,
      0,
      "IMAGE"
    ],
    [
      121,
      61,
      0,
      67,
      0,
      "WANVAE"
    ],
    [
      122,
      2,
      2,
      43,
      1,
      "AUDIO"
    ],
    [
      123,
      2,
      1,
      60,
      9,
      "INT"
    ],
    [
      124,
      2,
      3,
      68,
      0,
      "VHS_VIDEOINFO"
    ],
    [
      125,
      68,
      0,
      43,
      4,
      "FLOAT"
    ],
    [
      874,
      11,
      0,
      358,
      0,
      "IMAGE"
    ],
    [
      875,
      358,
      0,
      32,
      0,
      "IMAGE"
    ],
    [
      876,
      2,
      1,
      359,
      0,
      "INT"
    ],
    [
      877,
      359,
      1,
      11,
      2,
      "INT"
    ],
    [
      878,
      358,
      0,
      361,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 50,
      "inputs": [
        {
          "link": 72,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": [
            73
          ],
          "name": "mask",
          "type": "MASK"
        },
        {
          "links": null,
          "name": "mask_inverted",
          "type": "MASK"
        }
      ],
      "pos": [
        1331.2374987343985,
        109.62940163748259
      ],
      "properties": {
        "Node name for S&R": "GrowMaskWithBlur",
        "cnr_id": "comfyui-kjnodes",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "35443b87e10a16ab3a0314a4221c28d05a725ce6"
      },
      "size": [
        239.84375,
        246
      ],
      "type": "GrowMaskWithBlur",
      "widgets_values": [
        40,
        0,
        true,
        false,
        0,
        1,
        1,
        false
      ]
    },
    {
      "flags": {},
      "id": 67,
      "inputs": [
        {
          "link": 121,
          "name": "vae",
          "type": "WANVAE"
        },
        {
          "link": 119,
          "name": "samples",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 27,
      "outputs": [
        {
          "links": [
            120
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3277.178670530513,
        -370.3526661836859
      ],
      "properties": {
        "Node name for S&R": "WanVideoDecode",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        210,
        198
      ],
      "type": "WanVideoDecode",
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        "default"
      ]
    },
    {
      "flags": {},
      "id": 62,
      "inputs": [
        {
          "link": 103,
          "name": "clip_vision",
          "type": "CLIP_VISION"
        },
        {
          "link": 104,
          "name": "image_1",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "negative_image",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            102
          ],
          "name": "image_embeds",
          "type": "WANVIDIMAGE_CLIPEMBEDS"
        }
      ],
      "pos": [
        2357.178670530513,
        69.64733381631409
      ],
      "properties": {
        "Node name for S&R": "WanVideoClipVisionEncode",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        229.63828125,
        262
      ],
      "type": "WanVideoClipVisionEncode",
      "widgets_values": [
        1,
        1,
        "center",
        "average",
        true,
        0,
        0.5
      ]
    },
    {
      "flags": {},
      "id": 63,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            103
          ],
          "name": "CLIP_VISION",
          "type": "CLIP_VISION"
        }
      ],
      "pos": [
        2357.178670530513,
        389.6473338163141
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "clip_vision",
            "name": "clip_vision_h.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true"
          }
        ],
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "0.15.1"
      },
      "size": [
        210,
        58
      ],
      "type": "CLIPVisionLoader",
      "widgets_values": [
        "clip_vision_h.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 43,
      "inputs": [
        {
          "link": 120,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": 122,
          "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": 125,
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          }
        }
      ],
      "mode": 0,
      "order": 28,
      "outputs": [
        {
          "links": null,
          "name": "Filenames",
          "type": "VHS_FILENAMES"
        }
      ],
      "pos": [
        3567.178670530513,
        -370.3526661836859
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "1.7.9"
      },
      "size": [
        580,
        334
      ],
      "type": "VHS_VideoCombine",
      "widgets_values": {
        "crf": 10,
        "filename_prefix": "INFL8/GENS/VID",
        "format": "video/h264-mp4",
        "frame_rate": 24,
        "loop_count": 0,
        "pingpong": false,
        "pix_fmt": "yuv420p",
        "save_metadata": true,
        "save_output": true,
        "trim_to_audio": false,
        "videopreview": {
          "hidden": false,
          "params": {
            "filename": "VID_00575-audio.mp4",
            "format": "video/h264-mp4",
            "frame_rate": 23.976023976023978,
            "fullpath": "/home/sonof/ComfyUI/output/INFL8/GENS/VID_00575-audio.mp4",
            "subfolder": "INFL8/GENS",
            "type": "output",
            "workflow": "VID_00575.png"
          },
          "paused": false
        }
      }
    },
    {
      "flags": {},
      "id": 58,
      "inputs": [
        {
          "link": 98,
          "name": "model",
          "type": "WANVIDEOMODEL"
        },
        {
          "link": 100,
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS"
        },
        {
          "link": 99,
          "name": "scheduler",
          "type": "WANVIDEOSCHEDULER"
        },
        {
          "link": 117,
          "name": "text_embeds",
          "shape": 7,
          "type": "WANVIDEOTEXTEMBEDS"
        },
        {
          "link": null,
          "name": "samples",
          "shape": 7,
          "type": "LATENT"
        },
        {
          "link": null,
          "name": "extra_args",
          "shape": 7,
          "type": "WANVIDSAMPLEREXTRAARGS"
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [
        {
          "links": [
            119
          ],
          "name": "samples",
          "type": "LATENT"
        },
        {
          "links": null,
          "name": "denoised_samples",
          "type": "LATENT"
        }
      ],
      "pos": [
        3257.178670530513,
        -100.35266618368591
      ],
      "properties": {
        "Node name for S&R": "WanVideoSamplerv2",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        235.37109375,
        466
      ],
      "type": "WanVideoSamplerv2",
      "widgets_values": [
        1,
        648178387160412,
        "randomize",
        true,
        false
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 69,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        -680,
        -1320
      ],
      "properties": {},
      "size": [
        680,
        500
      ],
      "type": "Note",
      "widgets_values": [
        "Models:\n\nhttps://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/blob/main/split_files/diffusion_models/qwen_image_edit_2511_fp8mixed.safetensors\n\nhttps://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/blob/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors\n\nhttps://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/blob/main/split_files/vae/qwen_image_vae.safetensors\n\nhttps://huggingface.co/Osrivers/Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensors/blob/main/Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensors\n\nhttps://huggingface.co/systms/SYSTMS-INFL8-LoRA-Qwen-Image-Edit-2511/blob/main/SYSTMS_INFL8_LoRA_Qwen_Image_Edit_2511.safetensors\n\nhttps://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_animate_14B_bf16.safetensors\n\nhttps://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_animate_14B_relight_lora_bf16.safetensors\n\nhttps://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/vae/wan_2.1_vae.safetensors\n\nhttps://huggingface.co/drozbay/Wan2.2_A14B_lora_extract/blob/main/Wan22_A14B_T2V_lora_extract_r64.safetensors\n\nhttps://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_14B_T2V_cfg_step_distill_lora_adaptive_rank_quantile_0.15_bf16.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 60,
      "inputs": [
        {
          "link": 101,
          "name": "vae",
          "type": "WANVAE"
        },
        {
          "link": 102,
          "name": "clip_embeds",
          "shape": 7,
          "type": "WANVIDIMAGE_CLIPEMBEDS"
        },
        {
          "link": 105,
          "name": "ref_images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 107,
          "name": "pose_images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 108,
          "name": "face_images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 106,
          "name": "bg_images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 109,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 110,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 111,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "link": 123,
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          }
        },
        {
          "link": null,
          "name": "start_ref_image",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 25,
      "outputs": [
        {
          "links": [
            100
          ],
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS"
        }
      ],
      "pos": [
        2637.178670530513,
        69.64733381631409
      ],
      "properties": {
        "Node name for S&R": "WanVideoAnimateEmbeds",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        221.886328125,
        390
      ],
      "type": "WanVideoAnimateEmbeds",
      "widgets_values": [
        832,
        480,
        81,
        true,
        77,
        "disabled",
        1,
        1,
        false
      ]
    },
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 8,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "masks",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 877,
          "name": "start_index",
          "type": "INT",
          "widget": {
            "name": "start_index"
          }
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            874
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        439.0531281731146,
        -386.9059643732592
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch",
        "cnr_id": "comfyui-kjnodes",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "35443b87e10a16ab3a0314a4221c28d05a725ce6"
      },
      "size": [
        289.7056640625,
        102
      ],
      "type": "GetImageRangeFromBatch",
      "widgets_values": [
        150,
        1
      ]
    },
    {
      "flags": {},
      "id": 57,
      "inputs": [
        {
          "link": null,
          "name": "prev_lora",
          "shape": 7,
          "type": "WANVIDLORA"
        },
        {
          "link": null,
          "name": "blocks",
          "shape": 7,
          "type": "SELECTEDBLOCKS"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            97
          ],
          "name": "lora",
          "type": "WANVIDLORA"
        }
      ],
      "pos": [
        2042.4529217602915,
        -365.78454818757956
      ],
      "properties": {
        "Node name for S&R": "WanVideoLoraSelectMulti",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        221.6060546875,
        342
      ],
      "type": "WanVideoLoraSelectMulti",
      "widgets_values": [
        "lightx2v_14B_T2V_cfg_step_distill_lora_adaptive_rank_quantile_0.15_bf16.safetensors",
        1,
        "WanAnimate_relight_lora_fp16.safetensors",
        1,
        "none",
        1,
        "none",
        1,
        "none",
        1,
        false,
        false
      ]
    },
    {
      "flags": {},
      "id": 358,
      "inputs": [
        {
          "label": "image_1",
          "link": 874,
          "name": "image2",
          "type": "IMAGE"
        },
        {
          "label": "image_2(optional)",
          "link": null,
          "name": "image3",
          "type": "IMAGE"
        },
        {
          "label": "image_3(optional)",
          "link": null,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "lora_strength",
          "link": null,
          "name": "strength_model",
          "type": "FLOAT",
          "widget": {
            "name": "strength_model"
          }
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [
        {
          "links": [
            875,
            878
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        934.6549060210502,
        -1024.9587346780538
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "proxyWidgets": [
          [
            "354",
            "seed"
          ],
          [
            "354",
            "control_after_generate"
          ],
          [
            "353",
            "prompt"
          ],
          [
            "90",
            "lora_name"
          ],
          [
            "90",
            "strength_model"
          ]
        ],
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.5.1"
      },
      "size": [
        400,
        470
      ],
      "type": "7c692524-3ee9-4779-ba4c-f4e6a98c1110",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 361,
      "inputs": [
        {
          "link": 878,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [],
      "pos": [
        1388.8104171913915,
        -1024.0685117252528
      ],
      "properties": {},
      "size": [
        465.8340372017992,
        475.33188584748245
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            8,
            88
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            123,
            876
          ],
          "name": "frame_count",
          "type": "INT"
        },
        {
          "links": [
            122
          ],
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": [
            124
          ],
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "pos": [
        60,
        -370
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo",
        "cnr_id": "comfyui-videohelpersuite",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "1.7.9"
      },
      "size": [
        260.4306640625,
        459.24224853515625
      ],
      "type": "VHS_LoadVideo",
      "widgets_values": {
        "custom_height": 0,
        "custom_width": 0,
        "force_rate": 0,
        "format": "AnimateDiff",
        "frame_load_cap": 121,
        "select_every_nth": 1,
        "skip_first_frames": 0,
        "video": "woman_walking.mp4",
        "videopreview": {
          "hidden": false,
          "params": {
            "custom_height": 0,
            "custom_width": 0,
            "filename": "woman_walking.mp4",
            "force_rate": 0,
            "format": "video/mp4",
            "frame_load_cap": 121,
            "select_every_nth": 1,
            "skip_first_frames": 0,
            "type": "input"
          },
          "paused": false
        }
      }
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 359,
      "inputs": [
        {
          "label": "a",
          "link": 876,
          "name": "values.a",
          "type": "FLOAT,INT"
        },
        {
          "label": "b",
          "link": null,
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": null,
          "name": "FLOAT",
          "type": "FLOAT"
        },
        {
          "links": [
            877
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        74.19131641330621,
        240.13682642782595
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression"
      },
      "size": [
        276.70681060313007,
        128
      ],
      "type": "ComfyMathExpression",
      "widgets_values": [
        "a/2"
      ]
    },
    {
      "flags": {},
      "id": 52,
      "inputs": [
        {
          "link": 88,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            89,
            90,
            91
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            80,
            81,
            86,
            110
          ],
          "name": "width",
          "type": "INT"
        },
        {
          "links": [
            84,
            85,
            87,
            111
          ],
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        450.3361832141174,
        -234.60125738016777
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2",
        "cnr_id": "comfyui-kjnodes",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "35443b87e10a16ab3a0314a4221c28d05a725ce6"
      },
      "size": [
        210,
        336
      ],
      "type": "ImageResizeKJv2",
      "widgets_values": [
        1280,
        720,
        "lanczos",
        "crop",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "flags": {},
      "id": 68,
      "inputs": [
        {
          "link": 124,
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            125
          ],
          "name": "source_fps🟨",
          "type": "FLOAT"
        },
        {
          "links": null,
          "name": "source_frame_count🟨",
          "type": "INT"
        },
        {
          "links": null,
          "name": "source_duration🟨",
          "type": "FLOAT"
        },
        {
          "links": null,
          "name": "source_width🟨",
          "type": "INT"
        },
        {
          "links": null,
          "name": "source_height🟨",
          "type": "INT"
        },
        {
          "links": null,
          "name": "loaded_fps🟦",
          "type": "FLOAT"
        },
        {
          "links": null,
          "name": "loaded_frame_count🟦",
          "type": "INT"
        },
        {
          "links": null,
          "name": "loaded_duration🟦",
          "type": "FLOAT"
        },
        {
          "links": null,
          "name": "loaded_width🟦",
          "type": "INT"
        },
        {
          "links": null,
          "name": "loaded_height🟦",
          "type": "INT"
        }
      ],
      "pos": [
        452.347613558297,
        174.6999375457892
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoInfo",
        "cnr_id": "comfyui-videohelpersuite",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "1.7.9"
      },
      "size": [
        234.931640625,
        206
      ],
      "type": "VHS_VideoInfo",
      "widgets_values": {}
    },
    {
      "flags": {},
      "id": 35,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            46
          ],
          "name": "model",
          "type": "POSEMODEL"
        }
      ],
      "pos": [
        1011.2524212234865,
        -367.90330564838035
      ],
      "properties": {
        "Node name for S&R": "OnnxDetectionModelLoader",
        "cnr_id": "ComfyUI-WanAnimatePreprocess",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "1a35b81a418bbba093356ad19b19bf2a76a24f4e"
      },
      "size": [
        244.0484375,
        106
      ],
      "type": "OnnxDetectionModelLoader",
      "widgets_values": [
        "vitpose-l-wholebody.onnx",
        "yolov10m.onnx",
        "CUDAExecutionProvider"
      ]
    },
    {
      "flags": {},
      "id": 33,
      "inputs": [
        {
          "link": 46,
          "name": "model",
          "type": "POSEMODEL"
        },
        {
          "link": 89,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "retarget_image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 80,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 84,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            50
          ],
          "name": "pose_data",
          "type": "POSEDATA"
        },
        {
          "links": [
            108
          ],
          "name": "face_images",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "key_frame_body_points",
          "type": "STRING"
        },
        {
          "links": [
            71
          ],
          "name": "bboxes",
          "type": "BBOX"
        },
        {
          "links": null,
          "name": "face_bboxes",
          "type": "BBOX,"
        }
      ],
      "pos": [
        1014.7142432555372,
        -163.44189515163617
      ],
      "properties": {
        "Node name for S&R": "PoseAndFaceDetection",
        "cnr_id": "ComfyUI-WanAnimatePreprocess",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "1a35b81a418bbba093356ad19b19bf2a76a24f4e"
      },
      "size": [
        261.755859375,
        186
      ],
      "type": "PoseAndFaceDetection",
      "widgets_values": [
        832,
        480
      ]
    },
    {
      "flags": {},
      "id": 47,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            69
          ],
          "name": "sam2_model",
          "type": "SAM2MODEL"
        }
      ],
      "pos": [
        1340.8129676140795,
        -369.2714082138717
      ],
      "properties": {
        "Node name for S&R": "DownloadAndLoadSAM2Model",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0c35fff5f382803e2310103357b5e985f5437f32"
      },
      "size": [
        210,
        130
      ],
      "type": "DownloadAndLoadSAM2Model",
      "widgets_values": [
        "sam2.1_hiera_large.safetensors",
        "video",
        "cuda",
        "fp16"
      ]
    },
    {
      "flags": {},
      "id": 48,
      "inputs": [
        {
          "link": 69,
          "name": "sam2_model",
          "type": "SAM2MODEL"
        },
        {
          "link": 90,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "coordinates_positive",
          "shape": 7,
          "type": "STRING"
        },
        {
          "link": null,
          "name": "coordinates_negative",
          "shape": 7,
          "type": "STRING"
        },
        {
          "link": 71,
          "name": "bboxes",
          "shape": 7,
          "type": "BBOX"
        },
        {
          "link": null,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            72
          ],
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        1341.5393984992058,
        -163.10097173575275
      ],
      "properties": {
        "Node name for S&R": "Sam2Segmentation",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0c35fff5f382803e2310103357b5e985f5437f32"
      },
      "size": [
        217.015625,
        182
      ],
      "type": "Sam2Segmentation",
      "widgets_values": [
        false,
        false
      ]
    },
    {
      "flags": {},
      "id": 36,
      "inputs": [
        {
          "link": 50,
          "name": "pose_data",
          "type": "POSEDATA"
        },
        {
          "link": 81,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 85,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": [
            107
          ],
          "name": "pose_images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1018.5005000938287,
        129.20508707303415
      ],
      "properties": {
        "Node name for S&R": "DrawViTPose",
        "cnr_id": "ComfyUI-WanAnimatePreprocess",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "1a35b81a418bbba093356ad19b19bf2a76a24f4e"
      },
      "size": [
        210,
        178
      ],
      "type": "DrawViTPose",
      "widgets_values": [
        832,
        480,
        16,
        -1,
        -1,
        "True"
      ]
    },
    {
      "flags": {},
      "id": 49,
      "inputs": [
        {
          "link": 73,
          "name": "masks",
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            76,
            109
          ],
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        1673.446978930931,
        107.60053141333073
      ],
      "properties": {
        "Node name for S&R": "BlockifyMask",
        "cnr_id": "comfyui-kjnodes",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "35443b87e10a16ab3a0314a4221c28d05a725ce6"
      },
      "size": [
        210,
        82
      ],
      "type": "BlockifyMask",
      "widgets_values": [
        32,
        "cpu"
      ]
    },
    {
      "flags": {},
      "id": 51,
      "inputs": [
        {
          "link": 91,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 76,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [
        {
          "links": [
            106
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1673.446978930931,
        -82.39946858666947
      ],
      "properties": {
        "Node name for S&R": "DrawMaskOnImage",
        "cnr_id": "comfyui-kjnodes",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "35443b87e10a16ab3a0314a4221c28d05a725ce6"
      },
      "size": [
        210,
        102
      ],
      "type": "DrawMaskOnImage",
      "widgets_values": [
        "0, 0, 0",
        "cpu"
      ]
    },
    {
      "flags": {},
      "id": 53,
      "inputs": [
        {
          "link": null,
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS"
        },
        {
          "link": null,
          "name": "block_swap_args",
          "shape": 7,
          "type": "BLOCKSWAPARGS"
        },
        {
          "link": 97,
          "name": "lora",
          "shape": 7,
          "type": "WANVIDLORA"
        },
        {
          "link": null,
          "name": "vram_management_args",
          "shape": 7,
          "type": "VRAM_MANAGEMENTARGS"
        },
        {
          "link": null,
          "name": "extra_model",
          "shape": 7,
          "type": "VACEPATH"
        },
        {
          "link": null,
          "name": "fantasytalking_model",
          "shape": 7,
          "type": "FANTASYTALKINGMODEL"
        },
        {
          "link": null,
          "name": "multitalk_model",
          "shape": 7,
          "type": "MULTITALKMODEL"
        },
        {
          "link": null,
          "name": "fantasyportrait_model",
          "shape": 7,
          "type": "FANTASYPORTRAITMODEL"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            98
          ],
          "name": "model",
          "type": "WANVIDEOMODEL"
        }
      ],
      "pos": [
        2294.3141697613537,
        -361.2509828457146
      ],
      "properties": {
        "Node name for S&R": "WanVideoModelLoader",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        371.0708748175016,
        323.29756616655607
      ],
      "type": "WanVideoModelLoader",
      "widgets_values": [
        "wan2.2_animate_14B_bf16.safetensors",
        "bf16",
        "disabled",
        "offload_device",
        "comfy",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 61,
      "inputs": [
        {
          "link": null,
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            101,
            121
          ],
          "name": "vae",
          "type": "WANVAE"
        }
      ],
      "pos": [
        2691.039590959165,
        -350.20071634732875
      ],
      "properties": {
        "Node name for S&R": "WanVideoVAELoader",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        236.28907093630505,
        134.29361669684272
      ],
      "type": "WanVideoVAELoader",
      "widgets_values": [
        "Wan2_1_VAE_fp32.safetensors",
        "fp32",
        false,
        false
      ]
    },
    {
      "flags": {},
      "id": 59,
      "inputs": [
        {
          "link": null,
          "name": "sigmas",
          "shape": 7,
          "type": "SIGMAS"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            99
          ],
          "name": "scheduler",
          "type": "WANVIDEOSCHEDULER"
        }
      ],
      "pos": [
        2960.4226653908245,
        -345.3952235374392
      ],
      "properties": {
        "Node name for S&R": "WanVideoSchedulerv2",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        250,
        240
      ],
      "type": "WanVideoSchedulerv2",
      "widgets_values": [
        "dpm++_sde",
        6,
        5,
        0,
        -1,
        true
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 65,
      "inputs": [
        {
          "link": 118,
          "name": "t5",
          "shape": 7,
          "type": "WANTEXTENCODER"
        },
        {
          "link": null,
          "name": "model_to_offload",
          "shape": 7,
          "type": "WANVIDEOMODEL"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            117
          ],
          "name": "text_embeds",
          "type": "WANVIDEOTEXTEMBEDS"
        }
      ],
      "pos": [
        2929.57603176997,
        191.67184914197188
      ],
      "properties": {
        "Node name for S&R": "WanVideoTextEncode",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        270,
        234
      ],
      "type": "WanVideoTextEncode",
      "widgets_values": [
        "INFL8, the inflated man is speaking on the phone",
        "",
        true,
        false,
        "gpu"
      ]
    },
    {
      "flags": {},
      "id": 66,
      "inputs": [],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            118
          ],
          "name": "wan_t5_model",
          "type": "WANTEXTENCODER"
        }
      ],
      "pos": [
        2929.57603176997,
        -8.328150858028131
      ],
      "properties": {
        "Node name for S&R": "LoadWanVideoT5TextEncoder",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "widget_ue_connectable": {}
        },
        "ver": "df8f3e49daaad117cf3090cc916c83f3d001494c"
      },
      "size": [
        269.3619140625,
        130
      ],
      "type": "LoadWanVideoT5TextEncoder",
      "widgets_values": [
        "umt5-xxl-enc-bf16.safetensors",
        "fp32",
        "offload_device",
        "disabled"
      ]
    },
    {
      "flags": {},
      "id": 32,
      "inputs": [
        {
          "link": 875,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 86,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 87,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [
        {
          "links": [
            104,
            105
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "name": "width",
          "type": "INT"
        },
        {
          "links": [],
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        2055.968543929629,
        87.47414703826179
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2",
        "cnr_id": "comfyui-kjnodes",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "35443b87e10a16ab3a0314a4221c28d05a725ce6"
      },
      "size": [
        210,
        336
      ],
      "type": "ImageResizeKJv2",
      "widgets_values": [
        1280,
        720,
        "lanczos",
        "stretch",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}