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