{
  "id": "ba1df054-50a8-4da2-b45a-25b4dde3cc2f",
  "revision": 1,
  "last_node_id": 328,
  "last_link_id": 977,
  "nodes": [
    {
      "id": 108,
      "type": "DownloadAndLoadSAM2Model",
      "pos": [
        -1310,
        1130
      ],
      "size": [
        320,
        140
      ],
      "flags": {},
      "order": 0,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "links": [
            235
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DownloadAndLoadSAM2Model",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
      },
      "widgets_values": [
        "sam2_hiera_base_plus.safetensors",
        "video",
        "cuda",
        "fp16"
      ]
    },
    {
      "id": 124,
      "type": "PreviewImage",
      "pos": [
        -860,
        1900
      ],
      "size": [
        250,
        270
      ],
      "flags": {},
      "order": 45,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 675
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": []
    },
    {
      "id": 127,
      "type": "MaskPreview",
      "pos": [
        -870,
        1540
      ],
      "size": [
        260,
        260
      ],
      "flags": {},
      "order": 39,
      "mode": 4,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 691
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "MaskPreview",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": []
    },
    {
      "id": 227,
      "type": "MarkdownNote",
      "pos": [
        -1300,
        2100
      ],
      "size": [
        400,
        240
      ],
      "flags": {},
      "order": 1,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Note: Switch to Move mode",
      "properties": {},
      "widgets_values": [
        "The model has two modes:\n- Mix: character replace\n- Move: Pose transfer\n\nIf you want to switch to **Move** mode, please disconnect **Background_video** and **Character_mask** output from the **WanAnimateToVideo** node.\n\nBypass will still pass the input video to the **WanAnimateToVideo** node, so please disconnect them."
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 229,
      "type": "PointsEditor",
      "pos": [
        -2150,
        1100
      ],
      "size": [
        685,
        940
      ],
      "flags": {},
      "order": 2,
      "mode": 4,
      "inputs": [
        {
          "name": "bg_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive_coords",
          "type": "STRING",
          "links": [
            438
          ]
        },
        {
          "name": "negative_coords",
          "type": "STRING",
          "links": null
        },
        {
          "name": "bbox",
          "type": "BBOX",
          "links": null
        },
        {
          "name": "bbox_mask",
          "type": "MASK",
          "links": null
        },
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PointsEditor",
        "cnr_id": "comfyui-kjnodes",
        "ver": "e81f33508b0821ea2f53f4f46a833fa6215626bd",
        "points": "PointsEditor",
        "neg_points": "PointsEditor",
        "imgData": {
          "name": "bg_image",
          "base64": [
            ""
          ]
        }
      },
      "widgets_values": [
        "{\"positive\":[{\"x\":256,\"y\":256}],\"negative\":[{\"x\":0,\"y\":0}]}",
        "[{\"x\":256,\"y\":256}]",
        "[{\"x\":0,\"y\":0}]",
        "[{}]",
        "[{}]",
        "xyxy",
        640,
        640,
        false,
        "",
        null
      ]
    },
    {
      "id": 1,
      "type": "CLIPTextEncode",
      "pos": [
        -990,
        50
      ],
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            481,
            529,
            942,
            959
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 126,
      "type": "MarkdownNote",
      "pos": [
        -2150,
        2110
      ],
      "size": [
        760,
        240
      ],
      "flags": {},
      "order": 3,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Note: About Points Editor",
      "properties": {},
      "widgets_values": [
        "## How to load image \n\nYou can right-click on the canvas, then choose Load Image. Or you can run the workflow once, and it will automatically get the first frame of the input video.\n\n## Add new green points\n\nGreen points are used to mark the area that you want to detect.\nPress the Shift key, then use the left click to add new green points.\n\n## Add new red points\n\nRed points are used to mark the area you want to exclude.\nPress the Shift key, then use the right click to add new red points.\n\n## Clear all points\n\nClick the **New canvas** to clear all points"
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 107,
      "type": "Sam2Segmentation",
      "pos": [
        -1310,
        1330
      ],
      "size": [
        320,
        190
      ],
      "flags": {},
      "order": 23,
      "mode": 4,
      "inputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "link": 235
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "coordinates_positive",
          "shape": 7,
          "type": "STRING",
          "link": 438
        },
        {
          "name": "coordinates_negative",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "name": "bboxes",
          "shape": 7,
          "type": "BBOX",
          "link": null
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            661
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Sam2Segmentation",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
      },
      "widgets_values": [
        true,
        false
      ]
    },
    {
      "id": 274,
      "type": "GrowMask",
      "pos": [
        -1280,
        1610
      ],
      "size": [
        270,
        82
      ],
      "flags": {
        "collapsed": false
      },
      "order": 32,
      "mode": 4,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 661
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            660
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMask",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        10,
        true
      ]
    },
    {
      "id": 275,
      "type": "DrawMaskOnImage",
      "pos": [
        -1280,
        1920
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 38,
      "mode": 4,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 659
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            675
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DrawMaskOnImage",
        "cnr_id": "comfyui-kjnodes",
        "ver": "623b5913dc7f240fd8b26422e99f8849a21c5473"
      },
      "widgets_values": [
        "0, 0, 0",
        "cpu"
      ]
    },
    {
      "id": 276,
      "type": "BlockifyMask",
      "pos": [
        -1280,
        1750
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 35,
      "mode": 4,
      "inputs": [
        {
          "name": "masks",
          "type": "MASK",
          "link": 660
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            659,
            691
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BlockifyMask",
        "cnr_id": "comfyui-kjnodes",
        "ver": "00da1910634fbf314d407608efb281ae6f7f1ba2"
      },
      "widgets_values": [
        32,
        "cpu"
      ]
    },
    {
      "id": 238,
      "type": "MarkdownNote",
      "pos": [
        110,
        1110
      ],
      "size": [
        420,
        120
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Extend video length",
      "properties": {},
      "widgets_values": [
        "Copy this group then link the \"Batch images\" and the \"video_frame_offset\" to the next extend subgraph"
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 19,
      "type": "SaveVideo",
      "pos": [
        -410,
        330
      ],
      "size": [
        460,
        558
      ],
      "flags": {},
      "order": 56,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 490
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    },
    {
      "id": 226,
      "type": "MarkdownNote",
      "pos": [
        -2830,
        -380
      ],
      "size": [
        590,
        160
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Make sure these custom nodes are installed.",
      "properties": {},
      "widgets_values": [
        "In this template, we have used three custom nodes. For users who don't know how to install a custom node, please refer to [How to install custom node](https://docs.comfy.org/installation/install_custom_node).\n\n## Custom nodes\n\n- [comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)\n- [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes/)\n- [ComfyUI-segment-anything-2](https://github.com/kijai/ComfyUI-segment-anything-2)\n"
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 44,
      "type": "MarkdownNote",
      "pos": [
        -2830,
        -170
      ],
      "size": [
        590,
        590
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Model links",
      "properties": {},
      "widgets_values": [
        "[Tutorial](https://docs.comfy.org/tutorials/video/wan/wan2-2-animate\n) \n\n## Model links\n\n**diffusion_models**       \n- [Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors)\n- [wan2.2_animate_14B_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_animate_14B_bf16.safetensors)\n\n**loras**\n- [lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors)\n- [WanAnimate_relight_lora_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors)\n\n**clip_visions**\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors)\n\n**vae**\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors)\n\n**text_encoders**   \n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors)\n\n\n```\nComfyUI/\n├───📂 models/\n│   ├───📂 diffusion_models/\n│   │   ├─── Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors\n│   │   └─── wan2.2_animate_14B_bf16.safetensors\n│   ├───📂 loras/\n│   │   ├─── lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors\n│   │   └─── WanAnimate_relight_lora_fp16.safetensors\n│   ├───📂 text_encoders/\n│   │   └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors \n│   ├───📂 clip_visions/ \n│   │   └─── clip_vision_h.safetensors\n│   └───📂 vae/\n│       └── wan_2.1_vae.safetensors\n```\n# Report issue\n\nIf you have any problems while using this workflow, please report template-related issues via this link: [report the template issue here](https://github.com/Comfy-Org/workflow_templates/issues)."
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 60,
      "type": "ModelSamplingSD3",
      "pos": [
        -1380,
        -30
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 227
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            477,
            524,
            937,
            954
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingSD3",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        8
      ]
    },
    {
      "id": 284,
      "type": "SetNode",
      "pos": [
        -2446.902640419783,
        -1598.278604897626
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "link": 715
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_input_audio",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "input_audio"
      ]
    },
    {
      "id": 285,
      "type": "SetNode",
      "pos": [
        -2426.9513464744705,
        -1664.015665444501
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 716
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_frame_count",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 286,
      "type": "SetNode",
      "pos": [
        -2420.8499670799392,
        -1740.950968178876
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 717
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            719
          ]
        }
      ],
      "title": "Set_input_video",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "input_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 287,
      "type": "SetNode",
      "pos": [
        -811.4362707908762,
        -758.3286537257512
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 53,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 718
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            739
          ]
        }
      ],
      "title": "Set_mask",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "mask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 288,
      "type": "Note",
      "pos": [
        -914.8563757713449,
        -701.1218666163762
      ],
      "size": [
        210,
        88
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "These are new nodes in KJNodes"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 295,
      "type": "Note",
      "pos": [
        -1641.0688391502508,
        -1099.2226966945009
      ],
      "size": [
        236.14007568359375,
        88
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: SAM2 detection",
      "properties": {},
      "widgets_values": [
        "You can use either the detected bbox or the kay_frame_body_points to positive coordinates, if one fails to creater proper mask, try the other"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 296,
      "type": "GrowMaskWithBlur",
      "pos": [
        -1482.260794716657,
        -911.9753822413762
      ],
      "size": [
        292.748046875,
        246
      ],
      "flags": {},
      "order": 48,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 728
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            736
          ]
        },
        {
          "name": "mask_inverted",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMaskWithBlur",
        "cnr_id": "comfyui-kjnodes",
        "ver": "bb205d809b467307b8ec3bb1a22680a4873187f8"
      },
      "widgets_values": [
        10,
        0,
        true,
        false,
        0,
        1,
        1,
        false
      ]
    },
    {
      "id": 299,
      "type": "VHS_VideoCombine",
      "pos": [
        -1183.3530188377508,
        -1691.305704507001
      ],
      "size": [
        221.5749969482422,
        549.5749969482422
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 732
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "0edce8ef7ce173ac97a3ed3d6f4636029d1a4530"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "vitpose",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "vitpose_00001.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "vitpose_00001.png",
            "fullpath": "M:\\TritonComfy\\ComfyUI_windows_portable\\ComfyUI\\temp\\vitpose_00001.mp4"
          }
        }
      }
    },
    {
      "id": 301,
      "type": "MarkdownNote",
      "pos": [
        -2986.9494543846263,
        -1027.105265053876
      ],
      "size": [
        536.27783203125,
        330.03546142578125
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Preprocessor links",
      "properties": {},
      "widgets_values": [
        "Nodes:\n\n[https://github.com/kijai/ComfyUI-WanAnimatePreprocess](https://github.com/kijai/ComfyUI-WanAnimatePreprocess)\n\nModels:\n\nYOLO:\n\n[https://huggingface.co/Wan-AI/Wan2.2-Animate-14B/blob/main/process_checkpoint/det/yolov10m.onnx](https://huggingface.co/Wan-AI/Wan2.2-Animate-14B/blob/main/process_checkpoint/det/yolov10m.onnx)\n\nViTPose\n\nLarge:\n\n[https://huggingface.co/JunkyByte/easy_ViTPose/blob/main/onnx/wholebody/vitpose-l-wholebody.onnx](https://huggingface.co/JunkyByte/easy_ViTPose/blob/main/onnx/wholebody/vitpose-l-wholebody.onnx)\n\nHuge (needs both files):\n\n[https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_model.onnx](https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_model.onnx)\n\n[https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_data.bin](https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_data.bin)"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 302,
      "type": "OnnxDetectionModelLoader",
      "pos": [
        -2973.031363564314,
        -1193.355997475751
      ],
      "size": [
        351.52410888671875,
        106
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model",
          "type": "POSEMODEL",
          "links": [
            724
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "OnnxDetectionModelLoader",
        "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
        "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d"
      },
      "widgets_values": [
        "vitpose-l-wholebody.onnx",
        "yolov10m.onnx",
        "CUDAExecutionProvider"
      ]
    },
    {
      "id": 303,
      "type": "BlockifyMask",
      "pos": [
        -1122.7257618486246,
        -923.1924462109613
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 51,
      "mode": 0,
      "inputs": [
        {
          "name": "masks",
          "type": "MASK",
          "link": 736
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            718
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BlockifyMask",
        "cnr_id": "comfyui-kjnodes",
        "ver": "00da1910634fbf314d407608efb281ae6f7f1ba2"
      },
      "widgets_values": [
        32,
        "cpu"
      ]
    },
    {
      "id": 305,
      "type": "GetNode",
      "pos": [
        -697.7750437384303,
        -1036.5225981024487
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            738
          ]
        }
      ],
      "title": "Get_input_video",
      "properties": {},
      "widgets_values": [
        "input_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 306,
      "type": "DrawMaskOnImage",
      "pos": [
        -380.64013226232333,
        -922.4066388334899
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 55,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 738
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 739
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            737
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DrawMaskOnImage",
        "cnr_id": "comfyui-kjnodes",
        "ver": "623b5913dc7f240fd8b26422e99f8849a21c5473"
      },
      "widgets_values": [
        "0, 0, 0",
        "cpu"
      ]
    },
    {
      "id": 292,
      "type": "SetNode",
      "pos": [
        -1476.9124745929396,
        -1735.653304834443
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 722
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            732
          ]
        }
      ],
      "title": "Set_face_images",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "face_images"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 308,
      "type": "Reroute",
      "pos": [
        -421.35257512247153,
        -731.7147726200471
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 740
        }
      ],
      "outputs": [
        {
          "label": "FACE",
          "name": "",
          "type": "IMAGE",
          "links": [
            741,
            742,
            945,
            962
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 293,
      "type": "SetNode",
      "pos": [
        -1455.6737585838446,
        -1418.536661538251
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 46,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 723
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            721
          ]
        }
      ],
      "title": "Set_pose_images",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "pose_images"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 298,
      "type": "DrawViTPose",
      "pos": [
        -1773.9543066795477,
        -1425.526163491376
      ],
      "size": [
        270,
        178
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "pose_data",
          "type": "POSEDATA",
          "link": 729
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 730
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 731
        }
      ],
      "outputs": [
        {
          "name": "pose_images",
          "type": "IMAGE",
          "links": [
            723,
            744,
            745,
            946,
            963
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DrawViTPose",
        "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
        "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d"
      },
      "widgets_values": [
        832,
        480,
        16,
        -1,
        -1,
        "True"
      ]
    },
    {
      "id": 99,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -1800,
        -50
      ],
      "size": [
        306.36004638671875,
        82
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 226
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            227
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "models": [
          {
            "name": "WanAnimate_relight_lora_fp16.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "Wan\\WanAnimate_relight_lora_fp16.safetensors",
        1
      ]
    },
    {
      "id": 18,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -1800,
        -190
      ],
      "size": [
        310,
        82
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            226
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "models": [
          {
            "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "Wan\\Phantom_Wan_14B_FusionX_LoRA.safetensors",
        1
      ]
    },
    {
      "id": 20,
      "type": "UNETLoader",
      "pos": [
        -2160,
        -90
      ],
      "size": [
        316.4103967211802,
        85.35013138350394
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "models": [
          {
            "name": "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "Wan2_2-Animate-14B_fp8_scaled_e4m3fn_KJ_v2.safetensors",
        "default"
      ]
    },
    {
      "id": 4,
      "type": "CLIPVisionLoader",
      "pos": [
        -2160,
        160
      ],
      "size": [
        306.36004638671875,
        58
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "slot_index": 0,
          "links": [
            4
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "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",
            "directory": "clip_vision"
          }
        ]
      },
      "widgets_values": [
        "clip_vision_h.safetensors"
      ]
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        -1400,
        180
      ],
      "size": [
        310,
        60
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            479,
            525,
            938,
            955
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "models": [
          {
            "name": "wan_2.1_vae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "Wan2_1_VAE_bf16.safetensors"
      ]
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        -1400,
        -260
      ],
      "size": [
        306.36004638671875,
        106
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            1,
            18
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "models": [
          {
            "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "id": 291,
      "type": "VHS_VideoCombine",
      "pos": [
        -760.7106848533762,
        -1660.607462319501
      ],
      "size": [
        743.6680297851562,
        94
      ],
      "flags": {
        "collapsed": true
      },
      "order": 50,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 721
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "8e4d79471bf1952154768e8435a9300077b534fa"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "WanVideo2_1_T2V",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "WanVideo2_1_T2V_00001.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "WanVideo2_1_T2V_00001.png",
            "fullpath": "M:\\TritonComfy\\ComfyUI_windows_portable\\ComfyUI\\temp\\WanVideo2_1_T2V_00001.mp4"
          }
        }
      }
    },
    {
      "id": 304,
      "type": "SetNode",
      "pos": [
        -24.204598084083894,
        -946.9438473439379
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 59,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 737
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            720
          ]
        }
      ],
      "title": "Set_background_image",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "background_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 290,
      "type": "VHS_VideoCombine",
      "pos": [
        130.60099942121212,
        -1696.8191301562604
      ],
      "size": [
        742.5396129307981,
        94
      ],
      "flags": {
        "collapsed": true
      },
      "order": 61,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 720
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "8e4d79471bf1952154768e8435a9300077b534fa"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "WanVideo2_1_T2V",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "WanVideo2_1_T2V_00002.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "WanVideo2_1_T2V_00002.png",
            "fullpath": "M:\\TritonComfy\\ComfyUI_windows_portable\\ComfyUI\\temp\\WanVideo2_1_T2V_00002.mp4"
          }
        }
      }
    },
    {
      "id": 161,
      "type": "MarkdownNote",
      "pos": [
        -460,
        -570
      ],
      "size": [
        370,
        88
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: about size",
      "properties": {},
      "widgets_values": [
        "Due to the **WanAnimateToVideo** node input limit. The width and height must be multiples of 16.\n\nBy default, we set it to a smaller size. This is in case you don't have enough VRAM and input a large size, which may cause an out-of-memory issue."
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 159,
      "type": "PrimitiveInt",
      "pos": [
        -1048.0052231680647,
        -501.34582235457486
      ],
      "size": [
        240,
        82
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            760,
            761,
            947,
            964
          ]
        }
      ],
      "title": "Width",
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        720,
        "fixed"
      ]
    },
    {
      "id": 160,
      "type": "PrimitiveInt",
      "pos": [
        -737.9570558026006,
        -510.77192240606854
      ],
      "size": [
        240,
        82
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            489,
            763,
            951,
            968
          ]
        }
      ],
      "title": "Height",
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        1280,
        "fixed"
      ]
    },
    {
      "id": 309,
      "type": "DisplayAny",
      "pos": [
        -951.7720705963808,
        712.9173292399952
      ],
      "size": [
        270,
        100
      ],
      "flags": {},
      "order": 58,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "*",
          "link": 747
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "DisplayAny"
      },
      "widgets_values": [
        "raw value",
        "77"
      ]
    },
    {
      "id": 9,
      "type": "CLIPVisionEncode",
      "pos": [
        -1508.845445106896,
        603.3753442906099
      ],
      "size": [
        253.60000610351562,
        78
      ],
      "flags": {
        "collapsed": false
      },
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 4
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 344
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "slot_index": 0,
          "links": [
            482,
            530,
            943,
            960
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 10,
      "type": "LoadImage",
      "pos": [
        -2181.4916900663457,
        402.39341019426814
      ],
      "size": [
        340,
        440
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            344,
            483,
            531,
            944,
            961
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "slot_index": 1,
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        "ComfyUI_0330.png",
        "image"
      ]
    },
    {
      "id": 310,
      "type": "VHS_VideoInfo",
      "pos": [
        1808.0810246999217,
        -637.8002535275597
      ],
      "size": [
        235,
        206
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "link": 748
        }
      ],
      "outputs": [
        {
          "name": "source_fps🟨",
          "type": "FLOAT",
          "links": [
            749,
            754,
            950,
            967
          ]
        },
        {
          "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"
      },
      "widgets_values": {}
    },
    {
      "id": 322,
      "type": "PrimitiveInt",
      "pos": [
        -1489.728948724912,
        -507.93157507557726
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            915,
            916,
            949,
            966
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        6,
        "fixed"
      ]
    },
    {
      "id": 300,
      "type": "Sam2Segmentation",
      "pos": [
        -1987.939795438916,
        -1156.69065715524
      ],
      "size": [
        272.087890625,
        182
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "link": 733
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 734
        },
        {
          "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": 735
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            728
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Sam2Segmentation",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
      },
      "widgets_values": [
        false,
        false
      ]
    },
    {
      "id": 325,
      "type": "Reroute",
      "pos": [
        -585.9315512260625,
        433.3770355757793
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 52,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 925
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "MASK",
          "links": [
            926,
            971,
            972,
            973
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 277,
      "type": "SaveVideo",
      "pos": [
        1824.4816245310371,
        -268.75446285772216
      ],
      "size": [
        420,
        844.6666666666666
      ],
      "flags": {},
      "order": 63,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 975
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.60"
      },
      "widgets_values": [
        "video/ComfyUI",
        "mp4",
        "h264"
      ]
    },
    {
      "id": 21,
      "type": "CLIPTextEncode",
      "pos": [
        -990,
        -280
      ],
      "size": [
        420,
        230
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            480,
            528,
            941,
            958
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        "girl dancing in a white bikini"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 232,
      "type": "90db3fa1-b7fd-4c97-90a4-3e9533589dce",
      "pos": [
        -397.43954192085914,
        -242.92442520383418
      ],
      "size": [
        450,
        1184.4444444444443
      ],
      "flags": {
        "collapsed": false
      },
      "order": 54,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 477
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 751
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 479
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 480
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 481
        },
        {
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT",
          "link": 482
        },
        {
          "name": "reference_image",
          "type": "IMAGE",
          "link": 483
        },
        {
          "name": "face_video",
          "type": "IMAGE",
          "link": 741
        },
        {
          "name": "pose_video",
          "type": "IMAGE",
          "link": 744
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 761
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 489
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 754
        },
        {
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 915
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 926
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            490
          ]
        },
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            527
          ]
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": [
            759
          ]
        },
        {
          "label": "OUTPUT_N_FRAMES",
          "name": "STRING",
          "type": "STRING",
          "links": [
            747
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "-1",
            "width"
          ],
          [
            "-1",
            "height"
          ],
          [
            "-1",
            "fps"
          ],
          [
            "-1",
            "seed"
          ],
          [
            "-1",
            "steps"
          ],
          [
            "-1",
            "cfg"
          ],
          [
            "-1",
            "sampler_name"
          ],
          [
            "-1",
            "scheduler"
          ],
          [
            "-1",
            "vhslatentpreview"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.3.60"
      },
      "widgets_values": [
        640,
        640,
        16,
        1106558644923357,
        32,
        1,
        "euler",
        "sgm_uniform"
      ]
    },
    {
      "id": 328,
      "type": "ed4e62d4-a0ae-4dc5-9915-ddddfe90534a",
      "pos": [
        1294.9570963666122,
        -274.27431402469324
      ],
      "size": [
        410,
        1177.3333333333335
      ],
      "flags": {
        "collapsed": false
      },
      "order": 62,
      "mode": 4,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 954
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 955
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 956
        },
        {
          "label": "last_batch_images",
          "name": "image1",
          "type": "IMAGE",
          "link": 969
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 958
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 959
        },
        {
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT",
          "link": 960
        },
        {
          "name": "reference_image",
          "type": "IMAGE",
          "link": 961
        },
        {
          "name": "face_video",
          "type": "IMAGE",
          "link": 962
        },
        {
          "name": "pose_video",
          "type": "IMAGE",
          "link": 963
        },
        {
          "name": "background_video",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "character_mask",
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 964
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset"
          },
          "link": 970
        },
        {
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 966
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 967
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 968
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 973
        }
      ],
      "outputs": [
        {
          "label": "batch_images",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": []
        },
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "-1",
            "width"
          ],
          [
            "-1",
            "video_frame_offset"
          ],
          [
            "-1",
            "seed"
          ],
          [
            "-1",
            "steps"
          ],
          [
            "-1",
            "cfg"
          ],
          [
            "-1",
            "sampler_name"
          ],
          [
            "-1",
            "scheduler"
          ],
          [
            "-1",
            "fps"
          ],
          [
            "-1",
            "height"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.3.60"
      },
      "widgets_values": [
        1280,
        0,
        387378783691198,
        12,
        1,
        "euler",
        "beta",
        16,
        1280
      ]
    },
    {
      "id": 307,
      "type": "VHS_LoadVideoPath",
      "pos": [
        -3750.368788824534,
        -1796.4491528330357
      ],
      "size": [
        239.0500030517578,
        689.0888182060903
      ],
      "flags": {
        "collapsed": false
      },
      "order": 21,
      "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": [
            717
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": [
            716
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            715,
            751,
            752,
            939,
            956
          ]
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": [
            748
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideoPath"
      },
      "widgets_values": {
        "video": "\"O:\\ALL PROJECTS\\Influencer\\TikDownloader.io_7474597377488260374_hd.mp4\"",
        "force_rate": 0,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 225,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "Wan",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "\"O:\\ALL PROJECTS\\Influencer\\TikDownloader.io_7474597377488260374_hd.mp4\"",
            "type": "path",
            "format": "video/mp4\"",
            "force_rate": 0,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 225,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      }
    },
    {
      "id": 324,
      "type": "InvertMask",
      "pos": [
        -1991.7159994685157,
        -644.9613535054482
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 49,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 924
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            925
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "InvertMask"
      },
      "widgets_values": []
    },
    {
      "id": 297,
      "type": "DownloadAndLoadSAM2Model",
      "pos": [
        -2461.8337085421444,
        -1278.4901879593097
      ],
      "size": [
        334.4137268066406,
        130
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "links": [
            733,
            922
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DownloadAndLoadSAM2Model",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
      },
      "widgets_values": [
        "sam2.1_hiera_base_plus.safetensors",
        "video",
        "cuda",
        "fp16"
      ]
    },
    {
      "id": 323,
      "type": "Sam2Segmentation",
      "pos": [
        -2314.120165807895,
        -715.7245757883442
      ],
      "size": [
        272.087890625,
        182
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "link": 922
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 977
        },
        {
          "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": 976
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            924
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Sam2Segmentation",
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
      },
      "widgets_values": [
        false,
        false
      ]
    },
    {
      "id": 294,
      "type": "PoseAndFaceDetection",
      "pos": [
        -2198.723796015577,
        -1641.0283734857237
      ],
      "size": [
        313.125,
        162
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "POSEMODEL",
          "link": 724
        },
        {
          "name": "images",
          "type": "IMAGE",
          "link": 725
        },
        {
          "name": "retarget_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 726
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 727
        }
      ],
      "outputs": [
        {
          "name": "pose_data",
          "type": "POSEDATA",
          "links": [
            729
          ]
        },
        {
          "name": "face_images",
          "type": "IMAGE",
          "links": [
            722,
            740
          ]
        },
        {
          "name": "key_frame_body_points",
          "type": "STRING",
          "links": null
        },
        {
          "name": "bboxes",
          "type": "BBOX",
          "links": [
            735
          ]
        },
        {
          "name": "face_bboxes",
          "type": "BBOX,",
          "links": [
            976
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PoseAndFaceDetection",
        "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
        "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d"
      },
      "widgets_values": [
        832,
        480
      ]
    },
    {
      "id": 289,
      "type": "GetImageSizeAndCount",
      "pos": [
        -2730.2575518612775,
        -1532.480980757881
      ],
      "size": [
        197.07500305175782,
        86
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 719
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            725,
            734,
            977
          ]
        },
        {
          "label": "720 width",
          "name": "width",
          "type": "INT",
          "links": [
            726,
            730
          ]
        },
        {
          "label": "1280 height",
          "name": "height",
          "type": "INT",
          "links": [
            727,
            731
          ]
        },
        {
          "label": "225 count",
          "name": "count",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSizeAndCount",
        "cnr_id": "comfyui-kjnodes",
        "ver": "bb205d809b467307b8ec3bb1a22680a4873187f8"
      },
      "widgets_values": []
    },
    {
      "id": 242,
      "type": "975ed319-ca2b-461e-b42a-8e2704ba902f",
      "pos": [
        228.21359539900652,
        -281.2746892484473
      ],
      "size": [
        410,
        1177.3333333333335
      ],
      "flags": {
        "collapsed": false
      },
      "order": 57,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 524
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 525
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 752
        },
        {
          "label": "last_batch_images",
          "name": "image1",
          "type": "IMAGE",
          "link": 527
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 528
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 529
        },
        {
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT",
          "link": 530
        },
        {
          "name": "reference_image",
          "type": "IMAGE",
          "link": 531
        },
        {
          "name": "face_video",
          "type": "IMAGE",
          "link": 742
        },
        {
          "name": "pose_video",
          "type": "IMAGE",
          "link": 745
        },
        {
          "name": "background_video",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "character_mask",
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 760
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset"
          },
          "link": 759
        },
        {
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 916
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 749
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 763
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 971
        }
      ],
      "outputs": [
        {
          "label": "batch_images",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            953
          ]
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": [
            952
          ]
        },
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "-1",
            "width"
          ],
          [
            "-1",
            "video_frame_offset"
          ],
          [
            "-1",
            "seed"
          ],
          [
            "-1",
            "steps"
          ],
          [
            "-1",
            "cfg"
          ],
          [
            "-1",
            "sampler_name"
          ],
          [
            "-1",
            "scheduler"
          ],
          [
            "-1",
            "fps"
          ],
          [
            "-1",
            "height"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.3.60"
      },
      "widgets_values": [
        1280,
        0,
        387378783691198,
        12,
        1,
        "euler",
        "beta",
        16,
        1280
      ]
    },
    {
      "id": 327,
      "type": "c83017fe-8a87-4e23-91e7-e79d12ac27b2",
      "pos": [
        770.2041901116086,
        -311.78981589719086
      ],
      "size": [
        410,
        1177.3333333333335
      ],
      "flags": {
        "collapsed": false
      },
      "order": 60,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 937
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 938
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 939
        },
        {
          "label": "last_batch_images",
          "name": "image1",
          "type": "IMAGE",
          "link": 953
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 941
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 942
        },
        {
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT",
          "link": 943
        },
        {
          "name": "reference_image",
          "type": "IMAGE",
          "link": 944
        },
        {
          "name": "face_video",
          "type": "IMAGE",
          "link": 945
        },
        {
          "name": "pose_video",
          "type": "IMAGE",
          "link": 946
        },
        {
          "name": "background_video",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "character_mask",
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 947
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset"
          },
          "link": 952
        },
        {
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 949
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          },
          "link": 950
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 951
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 972
        }
      ],
      "outputs": [
        {
          "label": "batch_images",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            969
          ]
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": [
            970
          ]
        },
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            975
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "-1",
            "width"
          ],
          [
            "-1",
            "video_frame_offset"
          ],
          [
            "-1",
            "seed"
          ],
          [
            "-1",
            "steps"
          ],
          [
            "-1",
            "cfg"
          ],
          [
            "-1",
            "sampler_name"
          ],
          [
            "-1",
            "scheduler"
          ],
          [
            "-1",
            "fps"
          ],
          [
            "-1",
            "height"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.3.60"
      },
      "widgets_values": [
        1280,
        0,
        387378783691198,
        12,
        1,
        "euler",
        "beta",
        16,
        1280
      ]
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      1,
      0,
      "CLIP"
    ],
    [
      4,
      4,
      0,
      9,
      0,
      "CLIP_VISION"
    ],
    [
      16,
      20,
      0,
      18,
      0,
      "MODEL"
    ],
    [
      18,
      2,
      0,
      21,
      0,
      "CLIP"
    ],
    [
      226,
      18,
      0,
      99,
      0,
      "MODEL"
    ],
    [
      227,
      99,
      0,
      60,
      0,
      "MODEL"
    ],
    [
      235,
      108,
      0,
      107,
      0,
      "SAM2MODEL"
    ],
    [
      344,
      10,
      0,
      9,
      1,
      "IMAGE"
    ],
    [
      438,
      229,
      0,
      107,
      2,
      "STRING"
    ],
    [
      477,
      60,
      0,
      232,
      0,
      "MODEL"
    ],
    [
      479,
      3,
      0,
      232,
      2,
      "VAE"
    ],
    [
      480,
      21,
      0,
      232,
      3,
      "CONDITIONING"
    ],
    [
      481,
      1,
      0,
      232,
      4,
      "CONDITIONING"
    ],
    [
      482,
      9,
      0,
      232,
      5,
      "CLIP_VISION_OUTPUT"
    ],
    [
      483,
      10,
      0,
      232,
      6,
      "IMAGE"
    ],
    [
      489,
      160,
      0,
      232,
      10,
      "INT"
    ],
    [
      490,
      232,
      0,
      19,
      0,
      "VIDEO"
    ],
    [
      524,
      60,
      0,
      242,
      0,
      "MODEL"
    ],
    [
      525,
      3,
      0,
      242,
      1,
      "VAE"
    ],
    [
      527,
      232,
      1,
      242,
      3,
      "IMAGE"
    ],
    [
      528,
      21,
      0,
      242,
      4,
      "CONDITIONING"
    ],
    [
      529,
      1,
      0,
      242,
      5,
      "CONDITIONING"
    ],
    [
      530,
      9,
      0,
      242,
      6,
      "CLIP_VISION_OUTPUT"
    ],
    [
      531,
      10,
      0,
      242,
      7,
      "IMAGE"
    ],
    [
      659,
      276,
      0,
      275,
      1,
      "MASK"
    ],
    [
      660,
      274,
      0,
      276,
      0,
      "MASK"
    ],
    [
      661,
      107,
      0,
      274,
      0,
      "MASK"
    ],
    [
      675,
      275,
      0,
      124,
      0,
      "IMAGE"
    ],
    [
      691,
      276,
      0,
      127,
      0,
      "MASK"
    ],
    [
      715,
      307,
      2,
      284,
      0,
      "AUDIO"
    ],
    [
      716,
      307,
      1,
      285,
      0,
      "INT"
    ],
    [
      717,
      307,
      0,
      286,
      0,
      "IMAGE"
    ],
    [
      718,
      303,
      0,
      287,
      0,
      "MASK"
    ],
    [
      719,
      286,
      0,
      289,
      0,
      "IMAGE"
    ],
    [
      720,
      304,
      0,
      290,
      0,
      "IMAGE"
    ],
    [
      721,
      293,
      0,
      291,
      0,
      "IMAGE"
    ],
    [
      722,
      294,
      1,
      292,
      0,
      "IMAGE"
    ],
    [
      723,
      298,
      0,
      293,
      0,
      "IMAGE"
    ],
    [
      724,
      302,
      0,
      294,
      0,
      "POSEMODEL"
    ],
    [
      725,
      289,
      0,
      294,
      1,
      "IMAGE"
    ],
    [
      726,
      289,
      1,
      294,
      3,
      "INT"
    ],
    [
      727,
      289,
      2,
      294,
      4,
      "INT"
    ],
    [
      728,
      300,
      0,
      296,
      0,
      "MASK"
    ],
    [
      729,
      294,
      0,
      298,
      0,
      "POSEDATA"
    ],
    [
      730,
      289,
      1,
      298,
      1,
      "INT"
    ],
    [
      731,
      289,
      2,
      298,
      2,
      "INT"
    ],
    [
      732,
      292,
      0,
      299,
      0,
      "IMAGE"
    ],
    [
      733,
      297,
      0,
      300,
      0,
      "SAM2MODEL"
    ],
    [
      734,
      289,
      0,
      300,
      1,
      "IMAGE"
    ],
    [
      735,
      294,
      3,
      300,
      4,
      "BBOX"
    ],
    [
      736,
      296,
      0,
      303,
      0,
      "MASK"
    ],
    [
      737,
      306,
      0,
      304,
      0,
      "IMAGE"
    ],
    [
      738,
      305,
      0,
      306,
      0,
      "IMAGE"
    ],
    [
      739,
      287,
      0,
      306,
      1,
      "MASK"
    ],
    [
      740,
      294,
      1,
      308,
      0,
      "IMAGE"
    ],
    [
      741,
      308,
      0,
      232,
      7,
      "IMAGE"
    ],
    [
      742,
      308,
      0,
      242,
      8,
      "IMAGE"
    ],
    [
      744,
      298,
      0,
      232,
      8,
      "IMAGE"
    ],
    [
      745,
      298,
      0,
      242,
      9,
      "IMAGE"
    ],
    [
      747,
      232,
      3,
      309,
      0,
      "STRING"
    ],
    [
      748,
      307,
      3,
      310,
      0,
      "VHS_VIDEOINFO"
    ],
    [
      749,
      310,
      0,
      242,
      15,
      "FLOAT"
    ],
    [
      751,
      307,
      2,
      232,
      1,
      "AUDIO"
    ],
    [
      752,
      307,
      2,
      242,
      2,
      "AUDIO"
    ],
    [
      754,
      310,
      0,
      232,
      11,
      "FLOAT"
    ],
    [
      759,
      232,
      2,
      242,
      13,
      "INT"
    ],
    [
      760,
      159,
      0,
      242,
      12,
      "INT"
    ],
    [
      761,
      159,
      0,
      232,
      9,
      "INT"
    ],
    [
      763,
      160,
      0,
      242,
      16,
      "INT"
    ],
    [
      915,
      322,
      0,
      232,
      12,
      "INT"
    ],
    [
      916,
      322,
      0,
      242,
      14,
      "INT"
    ],
    [
      922,
      297,
      0,
      323,
      0,
      "SAM2MODEL"
    ],
    [
      924,
      323,
      0,
      324,
      0,
      "MASK"
    ],
    [
      925,
      324,
      0,
      325,
      0,
      "MASK"
    ],
    [
      926,
      325,
      0,
      232,
      13,
      "MASK"
    ],
    [
      937,
      60,
      0,
      327,
      0,
      "MODEL"
    ],
    [
      938,
      3,
      0,
      327,
      1,
      "VAE"
    ],
    [
      939,
      307,
      2,
      327,
      2,
      "AUDIO"
    ],
    [
      941,
      21,
      0,
      327,
      4,
      "CONDITIONING"
    ],
    [
      942,
      1,
      0,
      327,
      5,
      "CONDITIONING"
    ],
    [
      943,
      9,
      0,
      327,
      6,
      "CLIP_VISION_OUTPUT"
    ],
    [
      944,
      10,
      0,
      327,
      7,
      "IMAGE"
    ],
    [
      945,
      308,
      0,
      327,
      8,
      "IMAGE"
    ],
    [
      946,
      298,
      0,
      327,
      9,
      "IMAGE"
    ],
    [
      947,
      159,
      0,
      327,
      12,
      "INT"
    ],
    [
      949,
      322,
      0,
      327,
      14,
      "INT"
    ],
    [
      950,
      310,
      0,
      327,
      15,
      "FLOAT"
    ],
    [
      951,
      160,
      0,
      327,
      16,
      "INT"
    ],
    [
      952,
      242,
      1,
      327,
      13,
      "INT"
    ],
    [
      953,
      242,
      0,
      327,
      3,
      "IMAGE"
    ],
    [
      954,
      60,
      0,
      328,
      0,
      "MODEL"
    ],
    [
      955,
      3,
      0,
      328,
      1,
      "VAE"
    ],
    [
      956,
      307,
      2,
      328,
      2,
      "AUDIO"
    ],
    [
      958,
      21,
      0,
      328,
      4,
      "CONDITIONING"
    ],
    [
      959,
      1,
      0,
      328,
      5,
      "CONDITIONING"
    ],
    [
      960,
      9,
      0,
      328,
      6,
      "CLIP_VISION_OUTPUT"
    ],
    [
      961,
      10,
      0,
      328,
      7,
      "IMAGE"
    ],
    [
      962,
      308,
      0,
      328,
      8,
      "IMAGE"
    ],
    [
      963,
      298,
      0,
      328,
      9,
      "IMAGE"
    ],
    [
      964,
      159,
      0,
      328,
      12,
      "INT"
    ],
    [
      966,
      322,
      0,
      328,
      14,
      "INT"
    ],
    [
      967,
      310,
      0,
      328,
      15,
      "FLOAT"
    ],
    [
      968,
      160,
      0,
      328,
      16,
      "INT"
    ],
    [
      969,
      327,
      0,
      328,
      3,
      "IMAGE"
    ],
    [
      970,
      327,
      1,
      328,
      13,
      "INT"
    ],
    [
      971,
      325,
      0,
      242,
      17,
      "MASK"
    ],
    [
      972,
      325,
      0,
      327,
      17,
      "MASK"
    ],
    [
      973,
      325,
      0,
      328,
      17,
      "MASK"
    ],
    [
      975,
      327,
      2,
      277,
      0,
      "VIDEO"
    ],
    [
      976,
      294,
      4,
      323,
      4,
      "BBOX"
    ],
    [
      977,
      289,
      0,
      323,
      1,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Step 1 - Load models",
      "bounding": [
        -2190,
        -360,
        1130,
        640
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 2,
      "title": "Step 3 - Upload referece image",
      "bounding": [
        -2220,
        300,
        450,
        640
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Step 2 - Prompt",
      "bounding": [
        -1050,
        -360,
        560,
        640
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 7,
      "title": "Step 4 - Load original video",
      "bounding": [
        -1750,
        300,
        1260,
        640
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 8,
      "title": "Sampling + video output",
      "bounding": [
        -470,
        -360,
        550,
        1400
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 13,
      "title": "Character Mask and Background Video Preprocessing",
      "bounding": [
        -2210,
        960,
        1720,
        1440
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 16,
      "title": "Video size",
      "bounding": [
        -1040,
        -600,
        550,
        220
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 14,
      "title": "Character mask",
      "bounding": [
        -1290,
        1540,
        290,
        283.6000061035156
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 15,
      "title": "Background_video",
      "bounding": [
        -1290,
        1840,
        290,
        170
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 17,
      "title": "Video extend",
      "bounding": [
        746.3513139007564,
        -364.2946769503785,
        480,
        1400
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 18,
      "title": "Video extend",
      "bounding": [
        174.82536000000042,
        -368.5894030496216,
        460,
        1400
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 19,
      "title": "Face Preserve",
      "bounding": [
        -2393.9988173450574,
        -799.087063110858,
        696.9017014253518,
        394.1878612068348
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "90db3fa1-b7fd-4c97-90a4-3e9533589dce",
        "version": 1,
        "state": {
          "lastGroupId": 16,
          "lastNodeId": 240,
          "lastLinkId": 517,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Video Sampling and output(Subgraph)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -395.6477972096379,
            -10.820968179311686,
            139.7750015258789,
            400.00000000000006
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            3149.6741894567467,
            -51.05479930810033,
            159.1750030517578,
            120
          ]
        },
        "inputs": [
          {
            "id": "a65c1a6f-1c56-4db6-bc46-0d762e228140",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              485,
              499,
              509
            ],
            "localized_name": "model",
            "pos": [
              -275.87279568375897,
              9.179031820688314
            ]
          },
          {
            "id": "f60a003a-5f70-4edb-87d2-49249b63ac60",
            "name": "audio",
            "type": "AUDIO",
            "linkIds": [
              463
            ],
            "localized_name": "audio",
            "shape": 7,
            "pos": [
              -275.87279568375897,
              29.179031820688316
            ]
          },
          {
            "id": "3eba0674-9407-48ab-8416-23357fefa5e4",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              464,
              471,
              506,
              514
            ],
            "localized_name": "vae",
            "pos": [
              -275.87279568375897,
              49.179031820688316
            ]
          },
          {
            "id": "8c5ba174-3dac-4830-989d-2ffd194a4638",
            "name": "positive",
            "type": "CONDITIONING",
            "linkIds": [
              467,
              502,
              510
            ],
            "localized_name": "positive",
            "pos": [
              -275.87279568375897,
              69.17903182068832
            ]
          },
          {
            "id": "1047fa35-1365-4dfc-b7f1-a5869b601a89",
            "name": "negative",
            "type": "CONDITIONING",
            "linkIds": [
              470,
              503,
              511
            ],
            "localized_name": "negative",
            "pos": [
              -275.87279568375897,
              89.17903182068832
            ]
          },
          {
            "id": "04a00ce5-40d1-46a0-9478-9aba0778b80b",
            "name": "clip_vision_output",
            "type": "CLIP_VISION_OUTPUT",
            "linkIds": [
              474
            ],
            "localized_name": "clip_vision_output",
            "shape": 7,
            "pos": [
              -275.87279568375897,
              109.17903182068832
            ]
          },
          {
            "id": "9ed8853f-bd73-4728-be35-ed4d4a177059",
            "name": "reference_image",
            "type": "IMAGE",
            "linkIds": [
              475
            ],
            "localized_name": "reference_image",
            "shape": 7,
            "pos": [
              -275.87279568375897,
              129.17903182068832
            ]
          },
          {
            "id": "2b62e853-eb8b-4d69-bf22-1f0822d3e56d",
            "name": "face_video",
            "type": "IMAGE",
            "linkIds": [
              459
            ],
            "localized_name": "face_video",
            "shape": 7,
            "pos": [
              -275.87279568375897,
              149.17903182068832
            ]
          },
          {
            "id": "3136835f-c045-4f05-a970-3adafd321465",
            "name": "pose_video",
            "type": "IMAGE",
            "linkIds": [
              461
            ],
            "localized_name": "pose_video",
            "shape": 7,
            "pos": [
              -275.87279568375897,
              169.17903182068832
            ]
          },
          {
            "id": "f39fd571-8756-4c88-bc40-9055450f6e00",
            "name": "width",
            "type": "INT",
            "linkIds": [
              450
            ],
            "localized_name": "width",
            "pos": [
              -275.87279568375897,
              189.17903182068832
            ]
          },
          {
            "id": "02628a20-dd6c-44e6-9012-b6d0bf61a93f",
            "name": "height",
            "type": "INT",
            "linkIds": [
              451
            ],
            "localized_name": "height",
            "pos": [
              -275.87279568375897,
              209.17903182068832
            ]
          },
          {
            "id": "066ae061-5d3e-473f-8a83-8517c605e63d",
            "name": "fps",
            "type": "FLOAT",
            "linkIds": [
              477
            ],
            "pos": [
              -275.87279568375897,
              229.17903182068832
            ]
          },
          {
            "id": "fbbe4cdd-2580-486a-8d7c-53f1dc0a4034",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              489
            ],
            "pos": [
              -275.87279568375897,
              249.17903182068832
            ]
          },
          {
            "id": "4bf86876-244b-49d0-a6f5-f8b98de0ac50",
            "name": "steps",
            "type": "INT",
            "linkIds": [
              490
            ],
            "pos": [
              -275.87279568375897,
              269.17903182068835
            ]
          },
          {
            "id": "43112400-97ac-4ab9-8c6e-1bd62e32f8d4",
            "name": "cfg",
            "type": "FLOAT",
            "linkIds": [
              491
            ],
            "pos": [
              -275.87279568375897,
              289.17903182068835
            ]
          },
          {
            "id": "294b0d0a-7b7b-4953-8a86-37440b22099b",
            "name": "sampler_name",
            "type": "COMBO",
            "linkIds": [
              481,
              493
            ],
            "pos": [
              -275.87279568375897,
              309.17903182068835
            ]
          },
          {
            "id": "37d706a5-cf01-4275-917d-ffda1eb0af23",
            "name": "scheduler",
            "type": "COMBO",
            "linkIds": [
              482,
              494
            ],
            "pos": [
              -275.87279568375897,
              329.17903182068835
            ]
          },
          {
            "id": "fe1a2913-9b3a-4c88-8fa2-fb8585cdb645",
            "name": "mask",
            "type": "MASK",
            "linkIds": [
              496,
              504
            ],
            "pos": [
              -275.87279568375897,
              349.17903182068835
            ]
          }
        ],
        "outputs": [
          {
            "id": "321201d9-6a87-48bc-a8e3-2d13f32a546f",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              17
            ],
            "localized_name": "VIDEO",
            "pos": [
              3169.6741894567467,
              -31.05479930810033
            ]
          },
          {
            "id": "bc8f831d-427d-4b69-9bfc-50760cbb1ee4",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              516,
              208
            ],
            "localized_name": "IMAGE",
            "pos": [
              3169.6741894567467,
              -11.054799308100328
            ]
          },
          {
            "id": "2b09b619-743f-45f6-a120-44694d4018b6",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              439
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              3169.6741894567467,
              8.945200691899672
            ]
          },
          {
            "id": "2570b827-48d5-407a-a695-1fb17c535166",
            "name": "STRING",
            "type": "STRING",
            "linkIds": [
              484
            ],
            "label": "OUTPUT_N_FRAMES",
            "pos": [
              3169.6741894567467,
              28.94520069189967
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 63,
            "type": "KSampler",
            "pos": [
              252.12416994569608,
              -405.17929509263456
            ],
            "size": [
              270,
              720.4444444444445
            ],
            "flags": {},
            "order": 4,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": null
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": null
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 481
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 482
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              587507225908601,
              "randomize",
              6,
              1,
              "euler",
              "sgm_uniform",
              1
            ]
          },
          {
            "id": 232,
            "type": "DisplayAny",
            "pos": [
              507.94564588549144,
              712.1098842072975
            ],
            "size": [
              270,
              100.00000000000006
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "*",
                "link": 483
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  484
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "DisplayAny"
            },
            "widgets_values": [
              "raw value",
              "77"
            ]
          },
          {
            "id": 239,
            "type": "VAEEncode",
            "pos": [
              2224.3182672459657,
              -243.09732465476506
            ],
            "size": [
              140,
              46
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 505
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 506
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  507
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEEncode"
            },
            "widgets_values": []
          },
          {
            "id": 240,
            "type": "VAEDecode",
            "pos": [
              2825.3151946162607,
              -115.75557876082699
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 13,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 513
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 514
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  515
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": []
          },
          {
            "id": 233,
            "type": "ClownsharKSampler_Beta",
            "pos": [
              972.8357361575229,
              -380.11002391270586
            ],
            "size": [
              270,
              876.4444444444445
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "shape": 7,
                "type": "MODEL",
                "link": 485
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 486
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 487
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "shape": 7,
                "type": "LATENT",
                "link": 488
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "shape": 7,
                "type": "SIGMAS",
                "link": null
              },
              {
                "localized_name": "guides",
                "name": "guides",
                "shape": 7,
                "type": "GUIDES",
                "link": null
              },
              {
                "localized_name": "options",
                "name": "options",
                "shape": 7,
                "type": "OPTIONS",
                "link": null
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 493
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 494
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 490
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 491
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 489
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": null
              },
              {
                "localized_name": "denoised",
                "name": "denoised",
                "type": "LATENT",
                "links": [
                  492
                ]
              },
              {
                "localized_name": "options",
                "name": "options",
                "type": "OPTIONS",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "ClownsharKSampler_Beta"
            },
            "widgets_values": [
              0.35,
              "euler",
              "sgm_uniform",
              32,
              -1,
              1,
              1,
              1106558644923357,
              "randomize",
              "standard",
              true
            ]
          },
          {
            "id": 62,
            "type": "WanAnimateToVideo",
            "pos": [
              -184.78836751567465,
              -374.37784431687936
            ],
            "size": [
              324.751953125,
              358
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 467
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 470
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 471
              },
              {
                "localized_name": "clip_vision_output",
                "name": "clip_vision_output",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT",
                "link": 474
              },
              {
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE",
                "link": 475
              },
              {
                "localized_name": "face_video",
                "name": "face_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 459
              },
              {
                "localized_name": "pose_video",
                "name": "pose_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 461
              },
              {
                "localized_name": "background_video",
                "name": "background_video",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              },
              {
                "localized_name": "character_mask",
                "name": "character_mask",
                "shape": 7,
                "type": "MASK",
                "link": null
              },
              {
                "localized_name": "continue_motion",
                "name": "continue_motion",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 450
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 451
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  486,
                  500
                ]
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "links": [
                  487,
                  501
                ]
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT",
                "links": [
                  488
                ]
              },
              {
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT",
                "links": [
                  152
                ]
              },
              {
                "localized_name": "trim_image",
                "name": "trim_image",
                "type": "INT",
                "links": [
                  442
                ]
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "links": [
                  439,
                  483
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "WanAnimateToVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              640,
              640,
              77,
              1,
              5,
              0
            ]
          },
          {
            "id": 235,
            "type": "SetLatentNoiseMask",
            "pos": [
              1720.01885804849,
              -392.53961689936233
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 497
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 496
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  498
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            },
            "widgets_values": []
          },
          {
            "id": 57,
            "type": "TrimVideoLatent",
            "pos": [
              1282.1393081905228,
              -276.0747684735495
            ],
            "size": [
              270,
              58
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 492
              },
              {
                "localized_name": "trim_amount",
                "name": "trim_amount",
                "type": "INT",
                "widget": {
                  "name": "trim_amount"
                },
                "link": 152
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  497
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "TrimVideoLatent",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0
            ]
          },
          {
            "id": 15,
            "type": "CreateVideo",
            "pos": [
              2749.506552015323,
              634.1894466896578
            ],
            "size": [
              270,
              78
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 441
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 463
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                },
                "link": 477
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  17
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              16
            ]
          },
          {
            "id": 237,
            "type": "KSampler",
            "pos": [
              2249.73269363556,
              6.958931616075595
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 509
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 510
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 511
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 508
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  513
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              1071056725339509,
              "randomize",
              4,
              2.2,
              "res_2s",
              "simple",
              0.15
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 236,
            "type": "KSampler",
            "pos": [
              1436.3879879825515,
              198.81960300588207
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 499
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 502
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 503
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 498
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  517
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              612363398709194,
              "randomize",
              4,
              1,
              "euler",
              "simple",
              0.13
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 58,
            "type": "VAEDecode",
            "pos": [
              1759.926667017856,
              -51.694643330227365
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 517
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 464
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  208,
                  505
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": []
          },
          {
            "id": 238,
            "type": "SetLatentNoiseMask",
            "pos": [
              1975.753545395448,
              75.06302200763116
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 507
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 504
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  508
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            },
            "widgets_values": []
          },
          {
            "id": 230,
            "type": "ImageFromBatch",
            "pos": [
              2739.2198447518863,
              238.92658879394716
            ],
            "size": [
              270,
              82
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 515
              },
              {
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                },
                "link": 442
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  441,
                  516
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0,
              4096
            ]
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 152,
            "origin_id": 62,
            "origin_slot": 3,
            "target_id": 57,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 441,
            "origin_id": 230,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 442,
            "origin_id": 62,
            "origin_slot": 4,
            "target_id": 230,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 463,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 15,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 464,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 58,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 471,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 62,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 467,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 62,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 470,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 62,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 474,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 62,
            "target_slot": 3,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 475,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 62,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 459,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 62,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 461,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 62,
            "target_slot": 6,
            "type": "IMAGE"
          },
          {
            "id": 450,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 62,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 451,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 62,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 17,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 208,
            "origin_id": 58,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 439,
            "origin_id": 62,
            "origin_slot": 5,
            "target_id": -20,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 477,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 15,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 481,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 63,
            "target_slot": 4,
            "type": "COMBO"
          },
          {
            "id": 482,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 63,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 483,
            "origin_id": 62,
            "origin_slot": 5,
            "target_id": 232,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 484,
            "origin_id": 232,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "STRING"
          },
          {
            "id": 485,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 233,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 486,
            "origin_id": 62,
            "origin_slot": 0,
            "target_id": 233,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 487,
            "origin_id": 62,
            "origin_slot": 1,
            "target_id": 233,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 488,
            "origin_id": 62,
            "origin_slot": 2,
            "target_id": 233,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 489,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 233,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 490,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 233,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 491,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 233,
            "target_slot": 10,
            "type": "FLOAT"
          },
          {
            "id": 492,
            "origin_id": 233,
            "origin_slot": 1,
            "target_id": 57,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 493,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 233,
            "target_slot": 7,
            "type": "COMBO"
          },
          {
            "id": 494,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 233,
            "target_slot": 8,
            "type": "COMBO"
          },
          {
            "id": 496,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 235,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 497,
            "origin_id": 57,
            "origin_slot": 0,
            "target_id": 235,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 498,
            "origin_id": 235,
            "origin_slot": 0,
            "target_id": 236,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 499,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 236,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 502,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 236,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 503,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 236,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 504,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 238,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 505,
            "origin_id": 58,
            "origin_slot": 0,
            "target_id": 239,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 506,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 239,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 507,
            "origin_id": 239,
            "origin_slot": 0,
            "target_id": 238,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 508,
            "origin_id": 238,
            "origin_slot": 0,
            "target_id": 237,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 509,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 237,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 510,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 237,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 511,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 237,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 513,
            "origin_id": 237,
            "origin_slot": 0,
            "target_id": 240,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 514,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 240,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 515,
            "origin_id": 240,
            "origin_slot": 0,
            "target_id": 230,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 516,
            "origin_id": 230,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 517,
            "origin_id": 236,
            "origin_slot": 0,
            "target_id": 58,
            "target_slot": 0,
            "type": "LATENT"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      },
      {
        "id": "975ed319-ca2b-461e-b42a-8e2704ba902f",
        "version": 1,
        "state": {
          "lastGroupId": 16,
          "lastNodeId": 248,
          "lastLinkId": 562,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Video Extend(Subgraph)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -634.8721091530539,
            769.5454545454547,
            147.9749984741211,
            480
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1500,
            855,
            147.9749984741211,
            100
          ]
        },
        "inputs": [
          {
            "id": "03e04825-a16a-49e3-a221-d5fdf1d789e5",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              534,
              558,
              559
            ],
            "localized_name": "model",
            "pos": [
              -506.8971106789328,
              789.5454545454547
            ]
          },
          {
            "id": "2dbbbe45-a5c2-4de3-a04e-7d2735b98b28",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              465,
              472,
              561,
              562
            ],
            "localized_name": "vae",
            "pos": [
              -506.8971106789328,
              809.5454545454547
            ]
          },
          {
            "id": "054fc2d8-105a-4174-9931-a31c4d6e359f",
            "name": "audio",
            "type": "AUDIO",
            "linkIds": [
              466
            ],
            "localized_name": "audio",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              829.5454545454547
            ]
          },
          {
            "id": "cdef9f72-f783-4185-9830-fa3a809a1956",
            "name": "image1",
            "type": "IMAGE",
            "linkIds": [
              491,
              492
            ],
            "localized_name": "image1",
            "label": "last_batch_images",
            "pos": [
              -506.8971106789328,
              849.5454545454547
            ]
          },
          {
            "id": "a1344d9e-b216-4854-98b0-974ed4a6f209",
            "name": "positive",
            "type": "CONDITIONING",
            "linkIds": [
              468,
              554,
              556
            ],
            "localized_name": "positive",
            "pos": [
              -506.8971106789328,
              869.5454545454547
            ]
          },
          {
            "id": "52c93856-9e6c-495c-ac56-d1ae2c5d4bc6",
            "name": "negative",
            "type": "CONDITIONING",
            "linkIds": [
              469,
              555,
              557
            ],
            "localized_name": "negative",
            "pos": [
              -506.8971106789328,
              889.5454545454547
            ]
          },
          {
            "id": "d795f564-a054-484e-ac38-d633ad688212",
            "name": "clip_vision_output",
            "type": "CLIP_VISION_OUTPUT",
            "linkIds": [
              473
            ],
            "localized_name": "clip_vision_output",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              909.5454545454547
            ]
          },
          {
            "id": "049d8ac0-c7d0-4f3e-80ea-b60e00289f9d",
            "name": "reference_image",
            "type": "IMAGE",
            "linkIds": [
              476
            ],
            "localized_name": "reference_image",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              929.5454545454547
            ]
          },
          {
            "id": "7a51a6a4-870b-41fa-9251-97ad64c7c43f",
            "name": "face_video",
            "type": "IMAGE",
            "linkIds": [
              460
            ],
            "localized_name": "face_video",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              949.5454545454547
            ]
          },
          {
            "id": "42ec4e45-9e9e-4b2c-b13f-28def3a7ade6",
            "name": "pose_video",
            "type": "IMAGE",
            "linkIds": [
              462
            ],
            "localized_name": "pose_video",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              969.5454545454547
            ]
          },
          {
            "id": "00095787-d8f1-4f37-a2d5-a7760f559dae",
            "name": "background_video",
            "type": "IMAGE",
            "linkIds": [
              420
            ],
            "localized_name": "background_video",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              989.5454545454547
            ]
          },
          {
            "id": "d96de1c8-0a3b-45bd-a5cf-eb2b46f91c67",
            "name": "character_mask",
            "type": "MASK",
            "linkIds": [
              421
            ],
            "localized_name": "character_mask",
            "shape": 7,
            "pos": [
              -506.8971106789328,
              1009.5454545454547
            ]
          },
          {
            "id": "972c7951-4edc-4acf-a1d8-9836f2c7070b",
            "name": "width",
            "type": "INT",
            "linkIds": [
              452
            ],
            "localized_name": "width",
            "pos": [
              -506.8971106789328,
              1029.5454545454547
            ]
          },
          {
            "id": "f4dccdf8-27bc-43ee-8795-86d2868f31c9",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              493
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              -506.8971106789328,
              1049.5454545454547
            ]
          },
          {
            "id": "6b9cd8d4-b128-4217-99b7-eaee92b62047",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              538
            ],
            "pos": [
              -506.8971106789328,
              1069.5454545454547
            ]
          },
          {
            "id": "a81a7a57-c040-4b6a-9bee-8763f60e42a1",
            "name": "steps",
            "type": "INT",
            "linkIds": [
              527,
              541
            ],
            "pos": [
              -506.8971106789328,
              1089.5454545454547
            ]
          },
          {
            "id": "af1f93e3-2c56-403c-90ef-5466a2273ee6",
            "name": "cfg",
            "type": "FLOAT",
            "linkIds": [
              539
            ],
            "pos": [
              -506.8971106789328,
              1109.5454545454547
            ]
          },
          {
            "id": "c5dc7502-4f9a-49a1-8e4c-adca0809dbf1",
            "name": "sampler_name",
            "type": "COMBO",
            "linkIds": [
              529,
              542
            ],
            "pos": [
              -506.8971106789328,
              1129.5454545454547
            ]
          },
          {
            "id": "cd71c877-d6a5-41f1-b3f2-6a115ae4df96",
            "name": "scheduler",
            "type": "COMBO",
            "linkIds": [
              530,
              543
            ],
            "pos": [
              -506.8971106789328,
              1149.5454545454547
            ]
          },
          {
            "id": "ef516bbf-aac9-48df-acbb-13a767cadaed",
            "name": "fps",
            "type": "FLOAT",
            "linkIds": [
              531
            ],
            "pos": [
              -506.8971106789328,
              1169.5454545454547
            ]
          },
          {
            "id": "5fa6b150-e938-4561-afbd-5cd9b73bff73",
            "name": "height",
            "type": "INT",
            "linkIds": [
              533
            ],
            "pos": [
              -506.8971106789328,
              1189.5454545454547
            ]
          },
          {
            "id": "8c190e91-e671-404b-85a1-449c361bce87",
            "name": "mask",
            "type": "MASK",
            "linkIds": [
              544,
              552
            ],
            "pos": [
              -506.8971106789328,
              1209.5454545454547
            ]
          }
        ],
        "outputs": [
          {
            "id": "64b8d4c3-be0f-473b-aae4-0f56167c1bad",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              532
            ],
            "localized_name": "IMAGE",
            "label": "batch_images",
            "pos": [
              1520,
              875
            ]
          },
          {
            "id": "f33e2c31-73c7-4e9f-8d43-cd7d4b39f9de",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              523
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              1520,
              895
            ]
          },
          {
            "id": "aefce3c5-5b36-47c8-a922-aa488ff30d26",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              524
            ],
            "pos": [
              1520,
              915
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 91,
            "type": "KSampler",
            "pos": [
              398.4429582837876,
              615.649728964237
            ],
            "size": [
              270,
              720.4444444444445
            ],
            "flags": {
              "collapsed": true
            },
            "order": 5,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": null
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": null
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 527
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 529
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 530
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              387378783691198,
              "fixed",
              12,
              1,
              "euler",
              "beta",
              1
            ]
          },
          {
            "id": 242,
            "type": "ClownsharKSampler_Beta",
            "pos": [
              -30.718620486907767,
              1245.627645521067
            ],
            "size": [
              270,
              876.4444444444445
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "shape": 7,
                "type": "MODEL",
                "link": 534
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 535
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 536
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "shape": 7,
                "type": "LATENT",
                "link": 537
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "shape": 7,
                "type": "SIGMAS",
                "link": null
              },
              {
                "localized_name": "guides",
                "name": "guides",
                "shape": 7,
                "type": "GUIDES",
                "link": null
              },
              {
                "localized_name": "options",
                "name": "options",
                "shape": 7,
                "type": "OPTIONS",
                "link": null
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 542
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 543
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 541
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 539
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 538
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": null
              },
              {
                "localized_name": "denoised",
                "name": "denoised",
                "type": "LATENT",
                "links": [
                  540
                ]
              },
              {
                "localized_name": "options",
                "name": "options",
                "type": "OPTIONS",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "ClownsharKSampler_Beta"
            },
            "widgets_values": [
              0.35,
              "euler",
              "beta",
              12,
              -1,
              1,
              1,
              387378783691198,
              "randomize",
              "standard",
              true
            ]
          },
          {
            "id": 246,
            "type": "VAEEncode",
            "pos": [
              2099.801810014662,
              1121.7155309166399
            ],
            "size": [
              140,
              46
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 551
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 561
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  545
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEEncode"
            },
            "widgets_values": []
          },
          {
            "id": 92,
            "type": "TrimVideoLatent",
            "pos": [
              385.59857163085934,
              978.0103553192141
            ],
            "size": [
              270,
              58
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 540
              },
              {
                "localized_name": "trim_amount",
                "name": "trim_amount",
                "type": "INT",
                "widget": {
                  "name": "trim_amount"
                },
                "link": 218
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  548
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "TrimVideoLatent",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0
            ]
          },
          {
            "id": 243,
            "type": "SetLatentNoiseMask",
            "pos": [
              915.8420613634588,
              1201.476367336385
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 548
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 544
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  549
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            },
            "widgets_values": []
          },
          {
            "id": 244,
            "type": "KSampler",
            "pos": [
              1386.0526272051059,
              1324.4961550311448
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 558
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 554
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 555
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 549
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  550
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              137676719255773,
              "randomize",
              4,
              1,
              "euler",
              "simple",
              0.13
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 87,
            "type": "VAEDecode",
            "pos": [
              1761.8523929077135,
              1172.6888964538575
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 550
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 465
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  551
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": []
          },
          {
            "id": 245,
            "type": "SetLatentNoiseMask",
            "pos": [
              1802.4338739795737,
              1376.4314846713212
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 545
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 552
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  546
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            },
            "widgets_values": []
          },
          {
            "id": 248,
            "type": "VAEDecode",
            "pos": [
              2648.0911373849567,
              1270.5306839028633
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 13,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 547
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 562
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  553
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": []
          },
          {
            "id": 86,
            "type": "ImageBatch",
            "pos": [
              904.347357552292,
              662.6216703663418
            ],
            "size": [
              220,
              46
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE",
                "link": 491
              },
              {
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE",
                "link": 445
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  532
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": []
          },
          {
            "id": 247,
            "type": "KSampler",
            "pos": [
              2100.8144505888267,
              1335.7548699960744
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 559
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 556
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 557
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 546
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  547
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              696244012893108,
              "randomize",
              4,
              2.2,
              "res_2s",
              "simple",
              0.15
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 85,
            "type": "ImageFromBatch",
            "pos": [
              676.9637612990771,
              1694.039313555197
            ],
            "size": [
              270,
              82
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 553
              },
              {
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                },
                "link": 212
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  445,
                  560
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0,
              4096
            ]
          },
          {
            "id": 88,
            "type": "CreateVideo",
            "pos": [
              1219.9694124507673,
              951.6197149291223
            ],
            "size": [
              210,
              78
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 560
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 466
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                },
                "link": 531
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  524
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              16
            ]
          },
          {
            "id": 90,
            "type": "WanAnimateToVideo",
            "pos": [
              -17.60831556506604,
              815.046994890227
            ],
            "size": [
              324.751953125,
              358
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 468
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 469
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 472
              },
              {
                "localized_name": "clip_vision_output",
                "name": "clip_vision_output",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT",
                "link": 473
              },
              {
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE",
                "link": 476
              },
              {
                "localized_name": "face_video",
                "name": "face_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 460
              },
              {
                "localized_name": "pose_video",
                "name": "pose_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 462
              },
              {
                "localized_name": "background_video",
                "name": "background_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 420
              },
              {
                "localized_name": "character_mask",
                "name": "character_mask",
                "shape": 7,
                "type": "MASK",
                "link": 421
              },
              {
                "localized_name": "continue_motion",
                "name": "continue_motion",
                "shape": 7,
                "type": "IMAGE",
                "link": 492
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 452
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 533
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "widget": {
                  "name": "video_frame_offset"
                },
                "link": 493
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  535
                ]
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "links": [
                  536
                ]
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT",
                "links": [
                  537
                ]
              },
              {
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT",
                "links": [
                  218
                ]
              },
              {
                "localized_name": "trim_image",
                "name": "trim_image",
                "type": "INT",
                "links": [
                  212
                ]
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "links": [
                  523
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "WanAnimateToVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              1280,
              1280,
              77,
              1,
              5,
              0
            ]
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 218,
            "origin_id": 90,
            "origin_slot": 3,
            "target_id": 92,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 445,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 86,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 212,
            "origin_id": 90,
            "origin_slot": 4,
            "target_id": 85,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 465,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 87,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 472,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 90,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 466,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 88,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 491,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 86,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 492,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 90,
            "target_slot": 9,
            "type": "IMAGE"
          },
          {
            "id": 468,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 90,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 469,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 90,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 473,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 90,
            "target_slot": 3,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 476,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 90,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 460,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 90,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 462,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 90,
            "target_slot": 6,
            "type": "IMAGE"
          },
          {
            "id": 420,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 90,
            "target_slot": 7,
            "type": "IMAGE"
          },
          {
            "id": 421,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 90,
            "target_slot": 8,
            "type": "MASK"
          },
          {
            "id": 452,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 90,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 493,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 90,
            "target_slot": 12,
            "type": "INT"
          },
          {
            "id": 523,
            "origin_id": 90,
            "origin_slot": 5,
            "target_id": -20,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 524,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "VIDEO"
          },
          {
            "id": 527,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 91,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 529,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 91,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 530,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 91,
            "target_slot": 6,
            "type": "COMBO"
          },
          {
            "id": 531,
            "origin_id": -10,
            "origin_slot": 19,
            "target_id": 88,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 532,
            "origin_id": 86,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 533,
            "origin_id": -10,
            "origin_slot": 20,
            "target_id": 90,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 534,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 535,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 536,
            "origin_id": 90,
            "origin_slot": 1,
            "target_id": 242,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 537,
            "origin_id": 90,
            "origin_slot": 2,
            "target_id": 242,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 538,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 242,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 539,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 242,
            "target_slot": 10,
            "type": "FLOAT"
          },
          {
            "id": 540,
            "origin_id": 242,
            "origin_slot": 1,
            "target_id": 92,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 541,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 242,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 542,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 242,
            "target_slot": 7,
            "type": "COMBO"
          },
          {
            "id": 543,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 242,
            "target_slot": 8,
            "type": "COMBO"
          },
          {
            "id": 544,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 243,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 545,
            "origin_id": 246,
            "origin_slot": 0,
            "target_id": 245,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 546,
            "origin_id": 245,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 547,
            "origin_id": 247,
            "origin_slot": 0,
            "target_id": 248,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 548,
            "origin_id": 92,
            "origin_slot": 0,
            "target_id": 243,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 549,
            "origin_id": 243,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 550,
            "origin_id": 244,
            "origin_slot": 0,
            "target_id": 87,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 551,
            "origin_id": 87,
            "origin_slot": 0,
            "target_id": 246,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 552,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 245,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 553,
            "origin_id": 248,
            "origin_slot": 0,
            "target_id": 85,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 554,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 244,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 555,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 244,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 556,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 247,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 557,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 247,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 558,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 559,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 560,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 88,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 561,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 246,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 562,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 248,
            "target_slot": 1,
            "type": "VAE"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      },
      {
        "id": "c83017fe-8a87-4e23-91e7-e79d12ac27b2",
        "version": 1,
        "state": {
          "lastGroupId": 16,
          "lastNodeId": 248,
          "lastLinkId": 562,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Video Extend(Subgraph)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -651.841796875,
            735,
            147.9749984741211,
            480
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1500,
            855,
            147.9749984741211,
            100
          ]
        },
        "inputs": [
          {
            "id": "03e04825-a16a-49e3-a221-d5fdf1d789e5",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              534,
              558,
              559
            ],
            "localized_name": "model",
            "pos": [
              -523.8667984008789,
              755
            ]
          },
          {
            "id": "2dbbbe45-a5c2-4de3-a04e-7d2735b98b28",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              465,
              472,
              561,
              562
            ],
            "localized_name": "vae",
            "pos": [
              -523.8667984008789,
              775
            ]
          },
          {
            "id": "054fc2d8-105a-4174-9931-a31c4d6e359f",
            "name": "audio",
            "type": "AUDIO",
            "linkIds": [
              466
            ],
            "localized_name": "audio",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              795
            ]
          },
          {
            "id": "cdef9f72-f783-4185-9830-fa3a809a1956",
            "name": "image1",
            "type": "IMAGE",
            "linkIds": [
              491,
              492
            ],
            "localized_name": "image1",
            "label": "last_batch_images",
            "pos": [
              -523.8667984008789,
              815
            ]
          },
          {
            "id": "a1344d9e-b216-4854-98b0-974ed4a6f209",
            "name": "positive",
            "type": "CONDITIONING",
            "linkIds": [
              468,
              554,
              556
            ],
            "localized_name": "positive",
            "pos": [
              -523.8667984008789,
              835
            ]
          },
          {
            "id": "52c93856-9e6c-495c-ac56-d1ae2c5d4bc6",
            "name": "negative",
            "type": "CONDITIONING",
            "linkIds": [
              469,
              555,
              557
            ],
            "localized_name": "negative",
            "pos": [
              -523.8667984008789,
              855
            ]
          },
          {
            "id": "d795f564-a054-484e-ac38-d633ad688212",
            "name": "clip_vision_output",
            "type": "CLIP_VISION_OUTPUT",
            "linkIds": [
              473
            ],
            "localized_name": "clip_vision_output",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              875
            ]
          },
          {
            "id": "049d8ac0-c7d0-4f3e-80ea-b60e00289f9d",
            "name": "reference_image",
            "type": "IMAGE",
            "linkIds": [
              476
            ],
            "localized_name": "reference_image",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              895
            ]
          },
          {
            "id": "7a51a6a4-870b-41fa-9251-97ad64c7c43f",
            "name": "face_video",
            "type": "IMAGE",
            "linkIds": [
              460
            ],
            "localized_name": "face_video",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              915
            ]
          },
          {
            "id": "42ec4e45-9e9e-4b2c-b13f-28def3a7ade6",
            "name": "pose_video",
            "type": "IMAGE",
            "linkIds": [
              462
            ],
            "localized_name": "pose_video",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              935
            ]
          },
          {
            "id": "00095787-d8f1-4f37-a2d5-a7760f559dae",
            "name": "background_video",
            "type": "IMAGE",
            "linkIds": [
              420
            ],
            "localized_name": "background_video",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              955
            ]
          },
          {
            "id": "d96de1c8-0a3b-45bd-a5cf-eb2b46f91c67",
            "name": "character_mask",
            "type": "MASK",
            "linkIds": [
              421
            ],
            "localized_name": "character_mask",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              975
            ]
          },
          {
            "id": "972c7951-4edc-4acf-a1d8-9836f2c7070b",
            "name": "width",
            "type": "INT",
            "linkIds": [
              452
            ],
            "localized_name": "width",
            "pos": [
              -523.8667984008789,
              995
            ]
          },
          {
            "id": "f4dccdf8-27bc-43ee-8795-86d2868f31c9",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              493
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              -523.8667984008789,
              1015
            ]
          },
          {
            "id": "6b9cd8d4-b128-4217-99b7-eaee92b62047",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              538
            ],
            "pos": [
              -523.8667984008789,
              1035
            ]
          },
          {
            "id": "a81a7a57-c040-4b6a-9bee-8763f60e42a1",
            "name": "steps",
            "type": "INT",
            "linkIds": [
              527,
              541
            ],
            "pos": [
              -523.8667984008789,
              1055
            ]
          },
          {
            "id": "af1f93e3-2c56-403c-90ef-5466a2273ee6",
            "name": "cfg",
            "type": "FLOAT",
            "linkIds": [
              539
            ],
            "pos": [
              -523.8667984008789,
              1075
            ]
          },
          {
            "id": "c5dc7502-4f9a-49a1-8e4c-adca0809dbf1",
            "name": "sampler_name",
            "type": "COMBO",
            "linkIds": [
              529,
              542
            ],
            "pos": [
              -523.8667984008789,
              1095
            ]
          },
          {
            "id": "cd71c877-d6a5-41f1-b3f2-6a115ae4df96",
            "name": "scheduler",
            "type": "COMBO",
            "linkIds": [
              530,
              543
            ],
            "pos": [
              -523.8667984008789,
              1115
            ]
          },
          {
            "id": "ef516bbf-aac9-48df-acbb-13a767cadaed",
            "name": "fps",
            "type": "FLOAT",
            "linkIds": [
              531
            ],
            "pos": [
              -523.8667984008789,
              1135
            ]
          },
          {
            "id": "5fa6b150-e938-4561-afbd-5cd9b73bff73",
            "name": "height",
            "type": "INT",
            "linkIds": [
              533
            ],
            "pos": [
              -523.8667984008789,
              1155
            ]
          },
          {
            "id": "8c190e91-e671-404b-85a1-449c361bce87",
            "name": "mask",
            "type": "MASK",
            "linkIds": [
              544,
              552
            ],
            "pos": [
              -523.8667984008789,
              1175
            ]
          }
        ],
        "outputs": [
          {
            "id": "64b8d4c3-be0f-473b-aae4-0f56167c1bad",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              532
            ],
            "localized_name": "IMAGE",
            "label": "batch_images",
            "pos": [
              1520,
              875
            ]
          },
          {
            "id": "f33e2c31-73c7-4e9f-8d43-cd7d4b39f9de",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              523
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              1520,
              895
            ]
          },
          {
            "id": "aefce3c5-5b36-47c8-a922-aa488ff30d26",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              524
            ],
            "pos": [
              1520,
              915
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 91,
            "type": "KSampler",
            "pos": [
              398.4429582837876,
              615.649728964237
            ],
            "size": [
              270,
              720.4444444444445
            ],
            "flags": {
              "collapsed": true
            },
            "order": 5,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": null
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": null
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 527
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 529
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 530
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              387378783691198,
              "fixed",
              12,
              1,
              "euler",
              "beta",
              1
            ]
          },
          {
            "id": 242,
            "type": "ClownsharKSampler_Beta",
            "pos": [
              -30.718620486907767,
              1245.627645521067
            ],
            "size": [
              270,
              876.4444444444445
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "shape": 7,
                "type": "MODEL",
                "link": 534
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 535
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 536
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "shape": 7,
                "type": "LATENT",
                "link": 537
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "shape": 7,
                "type": "SIGMAS",
                "link": null
              },
              {
                "localized_name": "guides",
                "name": "guides",
                "shape": 7,
                "type": "GUIDES",
                "link": null
              },
              {
                "localized_name": "options",
                "name": "options",
                "shape": 7,
                "type": "OPTIONS",
                "link": null
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 542
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 543
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 541
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 539
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 538
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": null
              },
              {
                "localized_name": "denoised",
                "name": "denoised",
                "type": "LATENT",
                "links": [
                  540
                ]
              },
              {
                "localized_name": "options",
                "name": "options",
                "type": "OPTIONS",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "ClownsharKSampler_Beta"
            },
            "widgets_values": [
              0.35,
              "euler",
              "beta",
              12,
              -1,
              1,
              1,
              387378783691198,
              "randomize",
              "standard",
              true
            ]
          },
          {
            "id": 246,
            "type": "VAEEncode",
            "pos": [
              2099.801810014662,
              1121.7155309166399
            ],
            "size": [
              140,
              46
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 551
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 561
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  545
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEEncode"
            }
          },
          {
            "id": 90,
            "type": "WanAnimateToVideo",
            "pos": [
              -24.88104283779331,
              708.3803189758091
            ],
            "size": [
              324.751953125,
              358
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 468
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 469
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 472
              },
              {
                "localized_name": "clip_vision_output",
                "name": "clip_vision_output",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT",
                "link": 473
              },
              {
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE",
                "link": 476
              },
              {
                "localized_name": "face_video",
                "name": "face_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 460
              },
              {
                "localized_name": "pose_video",
                "name": "pose_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 462
              },
              {
                "localized_name": "background_video",
                "name": "background_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 420
              },
              {
                "localized_name": "character_mask",
                "name": "character_mask",
                "shape": 7,
                "type": "MASK",
                "link": 421
              },
              {
                "localized_name": "continue_motion",
                "name": "continue_motion",
                "shape": 7,
                "type": "IMAGE",
                "link": 492
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 452
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 533
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "widget": {
                  "name": "video_frame_offset"
                },
                "link": 493
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  535
                ]
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "links": [
                  536
                ]
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT",
                "links": [
                  537
                ]
              },
              {
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT",
                "links": [
                  218
                ]
              },
              {
                "localized_name": "trim_image",
                "name": "trim_image",
                "type": "INT",
                "links": [
                  212
                ]
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "links": [
                  523
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "WanAnimateToVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              1280,
              1280,
              77,
              1,
              5,
              0
            ]
          },
          {
            "id": 92,
            "type": "TrimVideoLatent",
            "pos": [
              385.59857163085934,
              978.0103553192141
            ],
            "size": [
              270,
              58
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 540
              },
              {
                "localized_name": "trim_amount",
                "name": "trim_amount",
                "type": "INT",
                "widget": {
                  "name": "trim_amount"
                },
                "link": 218
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  548
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "TrimVideoLatent",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0
            ]
          },
          {
            "id": 243,
            "type": "SetLatentNoiseMask",
            "pos": [
              915.8420613634588,
              1201.476367336385
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 548
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 544
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  549
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            }
          },
          {
            "id": 244,
            "type": "KSampler",
            "pos": [
              1386.0526272051059,
              1324.4961550311448
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 558
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 554
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 555
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 549
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  550
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              265008063993182,
              "randomize",
              4,
              1,
              "euler",
              "simple",
              0.13
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 87,
            "type": "VAEDecode",
            "pos": [
              1761.8523929077135,
              1172.6888964538575
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 550
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 465
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  551
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            }
          },
          {
            "id": 245,
            "type": "SetLatentNoiseMask",
            "pos": [
              1802.4338739795737,
              1376.4314846713212
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 545
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 552
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  546
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            }
          },
          {
            "id": 248,
            "type": "VAEDecode",
            "pos": [
              2648.0911373849567,
              1270.5306839028633
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 13,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 547
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 562
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  553
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            }
          },
          {
            "id": 86,
            "type": "ImageBatch",
            "pos": [
              904.347357552292,
              662.6216703663418
            ],
            "size": [
              220,
              46
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE",
                "link": 491
              },
              {
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE",
                "link": 445
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  532
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            }
          },
          {
            "id": 247,
            "type": "KSampler",
            "pos": [
              2100.8144505888267,
              1335.7548699960744
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 559
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 556
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 557
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 546
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  547
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              635676196970556,
              "randomize",
              4,
              2.2,
              "res_2s",
              "simple",
              0.15
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 85,
            "type": "ImageFromBatch",
            "pos": [
              676.9637612990771,
              1694.039313555197
            ],
            "size": [
              270,
              82
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 553
              },
              {
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                },
                "link": 212
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  445,
                  560
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0,
              4096
            ]
          },
          {
            "id": 88,
            "type": "CreateVideo",
            "pos": [
              1219.9694124507673,
              951.6197149291223
            ],
            "size": [
              210,
              78
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 560
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 466
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                },
                "link": 531
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  524
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              16
            ]
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 218,
            "origin_id": 90,
            "origin_slot": 3,
            "target_id": 92,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 445,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 86,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 212,
            "origin_id": 90,
            "origin_slot": 4,
            "target_id": 85,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 465,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 87,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 472,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 90,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 466,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 88,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 491,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 86,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 492,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 90,
            "target_slot": 9,
            "type": "IMAGE"
          },
          {
            "id": 468,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 90,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 469,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 90,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 473,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 90,
            "target_slot": 3,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 476,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 90,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 460,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 90,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 462,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 90,
            "target_slot": 6,
            "type": "IMAGE"
          },
          {
            "id": 420,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 90,
            "target_slot": 7,
            "type": "IMAGE"
          },
          {
            "id": 421,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 90,
            "target_slot": 8,
            "type": "MASK"
          },
          {
            "id": 452,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 90,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 493,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 90,
            "target_slot": 12,
            "type": "INT"
          },
          {
            "id": 523,
            "origin_id": 90,
            "origin_slot": 5,
            "target_id": -20,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 524,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "VIDEO"
          },
          {
            "id": 527,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 91,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 529,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 91,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 530,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 91,
            "target_slot": 6,
            "type": "COMBO"
          },
          {
            "id": 531,
            "origin_id": -10,
            "origin_slot": 19,
            "target_id": 88,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 532,
            "origin_id": 86,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 533,
            "origin_id": -10,
            "origin_slot": 20,
            "target_id": 90,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 534,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 535,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 536,
            "origin_id": 90,
            "origin_slot": 1,
            "target_id": 242,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 537,
            "origin_id": 90,
            "origin_slot": 2,
            "target_id": 242,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 538,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 242,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 539,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 242,
            "target_slot": 10,
            "type": "FLOAT"
          },
          {
            "id": 540,
            "origin_id": 242,
            "origin_slot": 1,
            "target_id": 92,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 541,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 242,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 542,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 242,
            "target_slot": 7,
            "type": "COMBO"
          },
          {
            "id": 543,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 242,
            "target_slot": 8,
            "type": "COMBO"
          },
          {
            "id": 544,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 243,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 545,
            "origin_id": 246,
            "origin_slot": 0,
            "target_id": 245,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 546,
            "origin_id": 245,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 547,
            "origin_id": 247,
            "origin_slot": 0,
            "target_id": 248,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 548,
            "origin_id": 92,
            "origin_slot": 0,
            "target_id": 243,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 549,
            "origin_id": 243,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 550,
            "origin_id": 244,
            "origin_slot": 0,
            "target_id": 87,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 551,
            "origin_id": 87,
            "origin_slot": 0,
            "target_id": 246,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 552,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 245,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 553,
            "origin_id": 248,
            "origin_slot": 0,
            "target_id": 85,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 554,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 244,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 555,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 244,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 556,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 247,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 557,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 247,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 558,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 559,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 560,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 88,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 561,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 246,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 562,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 248,
            "target_slot": 1,
            "type": "VAE"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      },
      {
        "id": "ed4e62d4-a0ae-4dc5-9915-ddddfe90534a",
        "version": 1,
        "state": {
          "lastGroupId": 16,
          "lastNodeId": 248,
          "lastLinkId": 560,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Video Extend(Subgraph)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -651.841796875,
            735,
            147.9749984741211,
            480
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1500,
            855,
            147.9749984741211,
            100
          ]
        },
        "inputs": [
          {
            "id": "03e04825-a16a-49e3-a221-d5fdf1d789e5",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              534,
              558,
              559
            ],
            "localized_name": "model",
            "pos": [
              -523.8667984008789,
              755
            ]
          },
          {
            "id": "2dbbbe45-a5c2-4de3-a04e-7d2735b98b28",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              465,
              472
            ],
            "localized_name": "vae",
            "pos": [
              -523.8667984008789,
              775
            ]
          },
          {
            "id": "054fc2d8-105a-4174-9931-a31c4d6e359f",
            "name": "audio",
            "type": "AUDIO",
            "linkIds": [
              466
            ],
            "localized_name": "audio",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              795
            ]
          },
          {
            "id": "cdef9f72-f783-4185-9830-fa3a809a1956",
            "name": "image1",
            "type": "IMAGE",
            "linkIds": [
              491,
              492
            ],
            "localized_name": "image1",
            "label": "last_batch_images",
            "pos": [
              -523.8667984008789,
              815
            ]
          },
          {
            "id": "a1344d9e-b216-4854-98b0-974ed4a6f209",
            "name": "positive",
            "type": "CONDITIONING",
            "linkIds": [
              468,
              554,
              556
            ],
            "localized_name": "positive",
            "pos": [
              -523.8667984008789,
              835
            ]
          },
          {
            "id": "52c93856-9e6c-495c-ac56-d1ae2c5d4bc6",
            "name": "negative",
            "type": "CONDITIONING",
            "linkIds": [
              469,
              555,
              557
            ],
            "localized_name": "negative",
            "pos": [
              -523.8667984008789,
              855
            ]
          },
          {
            "id": "d795f564-a054-484e-ac38-d633ad688212",
            "name": "clip_vision_output",
            "type": "CLIP_VISION_OUTPUT",
            "linkIds": [
              473
            ],
            "localized_name": "clip_vision_output",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              875
            ]
          },
          {
            "id": "049d8ac0-c7d0-4f3e-80ea-b60e00289f9d",
            "name": "reference_image",
            "type": "IMAGE",
            "linkIds": [
              476
            ],
            "localized_name": "reference_image",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              895
            ]
          },
          {
            "id": "7a51a6a4-870b-41fa-9251-97ad64c7c43f",
            "name": "face_video",
            "type": "IMAGE",
            "linkIds": [
              460
            ],
            "localized_name": "face_video",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              915
            ]
          },
          {
            "id": "42ec4e45-9e9e-4b2c-b13f-28def3a7ade6",
            "name": "pose_video",
            "type": "IMAGE",
            "linkIds": [
              462
            ],
            "localized_name": "pose_video",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              935
            ]
          },
          {
            "id": "00095787-d8f1-4f37-a2d5-a7760f559dae",
            "name": "background_video",
            "type": "IMAGE",
            "linkIds": [
              420
            ],
            "localized_name": "background_video",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              955
            ]
          },
          {
            "id": "d96de1c8-0a3b-45bd-a5cf-eb2b46f91c67",
            "name": "character_mask",
            "type": "MASK",
            "linkIds": [
              421
            ],
            "localized_name": "character_mask",
            "shape": 7,
            "pos": [
              -523.8667984008789,
              975
            ]
          },
          {
            "id": "972c7951-4edc-4acf-a1d8-9836f2c7070b",
            "name": "width",
            "type": "INT",
            "linkIds": [
              452
            ],
            "localized_name": "width",
            "pos": [
              -523.8667984008789,
              995
            ]
          },
          {
            "id": "f4dccdf8-27bc-43ee-8795-86d2868f31c9",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              493
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              -523.8667984008789,
              1015
            ]
          },
          {
            "id": "6b9cd8d4-b128-4217-99b7-eaee92b62047",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              538
            ],
            "pos": [
              -523.8667984008789,
              1035
            ]
          },
          {
            "id": "a81a7a57-c040-4b6a-9bee-8763f60e42a1",
            "name": "steps",
            "type": "INT",
            "linkIds": [
              527,
              541
            ],
            "pos": [
              -523.8667984008789,
              1055
            ]
          },
          {
            "id": "af1f93e3-2c56-403c-90ef-5466a2273ee6",
            "name": "cfg",
            "type": "FLOAT",
            "linkIds": [
              539
            ],
            "pos": [
              -523.8667984008789,
              1075
            ]
          },
          {
            "id": "c5dc7502-4f9a-49a1-8e4c-adca0809dbf1",
            "name": "sampler_name",
            "type": "COMBO",
            "linkIds": [
              529,
              542
            ],
            "pos": [
              -523.8667984008789,
              1095
            ]
          },
          {
            "id": "cd71c877-d6a5-41f1-b3f2-6a115ae4df96",
            "name": "scheduler",
            "type": "COMBO",
            "linkIds": [
              530,
              543
            ],
            "pos": [
              -523.8667984008789,
              1115
            ]
          },
          {
            "id": "ef516bbf-aac9-48df-acbb-13a767cadaed",
            "name": "fps",
            "type": "FLOAT",
            "linkIds": [
              531
            ],
            "pos": [
              -523.8667984008789,
              1135
            ]
          },
          {
            "id": "5fa6b150-e938-4561-afbd-5cd9b73bff73",
            "name": "height",
            "type": "INT",
            "linkIds": [
              533
            ],
            "pos": [
              -523.8667984008789,
              1155
            ]
          },
          {
            "id": "8c190e91-e671-404b-85a1-449c361bce87",
            "name": "mask",
            "type": "MASK",
            "linkIds": [
              544,
              552
            ],
            "pos": [
              -523.8667984008789,
              1175
            ]
          }
        ],
        "outputs": [
          {
            "id": "64b8d4c3-be0f-473b-aae4-0f56167c1bad",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              532
            ],
            "localized_name": "IMAGE",
            "label": "batch_images",
            "pos": [
              1520,
              875
            ]
          },
          {
            "id": "f33e2c31-73c7-4e9f-8d43-cd7d4b39f9de",
            "name": "video_frame_offset",
            "type": "INT",
            "linkIds": [
              523
            ],
            "localized_name": "video_frame_offset",
            "pos": [
              1520,
              895
            ]
          },
          {
            "id": "aefce3c5-5b36-47c8-a922-aa488ff30d26",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              524
            ],
            "pos": [
              1520,
              915
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 91,
            "type": "KSampler",
            "pos": [
              398.4429582837876,
              615.649728964237
            ],
            "size": [
              270,
              720.4444444444445
            ],
            "flags": {
              "collapsed": true
            },
            "order": 5,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": null
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": null
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": null
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 527
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 529
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 530
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              387378783691198,
              "fixed",
              12,
              1,
              "euler",
              "beta",
              1
            ]
          },
          {
            "id": 242,
            "type": "ClownsharKSampler_Beta",
            "pos": [
              -30.718620486907767,
              1245.627645521067
            ],
            "size": [
              270,
              876.4444444444445
            ],
            "flags": {},
            "order": 7,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "shape": 7,
                "type": "MODEL",
                "link": 534
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 535
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 536
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "shape": 7,
                "type": "LATENT",
                "link": 537
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "shape": 7,
                "type": "SIGMAS",
                "link": null
              },
              {
                "localized_name": "guides",
                "name": "guides",
                "shape": 7,
                "type": "GUIDES",
                "link": null
              },
              {
                "localized_name": "options",
                "name": "options",
                "shape": 7,
                "type": "OPTIONS",
                "link": null
              },
              {
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                },
                "link": 542
              },
              {
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                },
                "link": 543
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 541
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 539
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 538
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": null
              },
              {
                "localized_name": "denoised",
                "name": "denoised",
                "type": "LATENT",
                "links": [
                  540
                ]
              },
              {
                "localized_name": "options",
                "name": "options",
                "type": "OPTIONS",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "ClownsharKSampler_Beta"
            },
            "widgets_values": [
              0.35,
              "euler",
              "beta",
              12,
              -1,
              1,
              1,
              387378783691198,
              "randomize",
              "standard",
              true
            ]
          },
          {
            "id": 246,
            "type": "VAEEncode",
            "pos": [
              2099.801810014662,
              1121.7155309166399
            ],
            "size": [
              140,
              46
            ],
            "flags": {},
            "order": 11,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 551
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  545
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEEncode"
            }
          },
          {
            "id": 90,
            "type": "WanAnimateToVideo",
            "pos": [
              -24.88104283779331,
              708.3803189758091
            ],
            "size": [
              324.751953125,
              358
            ],
            "flags": {},
            "order": 4,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 468
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 469
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 472
              },
              {
                "localized_name": "clip_vision_output",
                "name": "clip_vision_output",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT",
                "link": 473
              },
              {
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE",
                "link": 476
              },
              {
                "localized_name": "face_video",
                "name": "face_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 460
              },
              {
                "localized_name": "pose_video",
                "name": "pose_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 462
              },
              {
                "localized_name": "background_video",
                "name": "background_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 420
              },
              {
                "localized_name": "character_mask",
                "name": "character_mask",
                "shape": 7,
                "type": "MASK",
                "link": 421
              },
              {
                "localized_name": "continue_motion",
                "name": "continue_motion",
                "shape": 7,
                "type": "IMAGE",
                "link": 492
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 452
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 533
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "widget": {
                  "name": "video_frame_offset"
                },
                "link": 493
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  535
                ]
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "links": [
                  536
                ]
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT",
                "links": [
                  537
                ]
              },
              {
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT",
                "links": [
                  218
                ]
              },
              {
                "localized_name": "trim_image",
                "name": "trim_image",
                "type": "INT",
                "links": [
                  212
                ]
              },
              {
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "links": [
                  523
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "WanAnimateToVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              1280,
              1280,
              77,
              1,
              5,
              0
            ]
          },
          {
            "id": 92,
            "type": "TrimVideoLatent",
            "pos": [
              385.59857163085934,
              978.0103553192141
            ],
            "size": [
              270,
              58
            ],
            "flags": {},
            "order": 6,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 540
              },
              {
                "localized_name": "trim_amount",
                "name": "trim_amount",
                "type": "INT",
                "widget": {
                  "name": "trim_amount"
                },
                "link": 218
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  548
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "TrimVideoLatent",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0
            ]
          },
          {
            "id": 243,
            "type": "SetLatentNoiseMask",
            "pos": [
              915.8420613634588,
              1201.476367336385
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 8,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 548
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 544
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  549
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            }
          },
          {
            "id": 244,
            "type": "KSampler",
            "pos": [
              1386.0526272051059,
              1324.4961550311448
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 9,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 558
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 554
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 555
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 549
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  550
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              1033194537656373,
              "randomize",
              4,
              1,
              "euler",
              "simple",
              0.13
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 87,
            "type": "VAEDecode",
            "pos": [
              1761.8523929077135,
              1172.6888964538575
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 2,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 550
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 465
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  551
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            }
          },
          {
            "id": 245,
            "type": "SetLatentNoiseMask",
            "pos": [
              1802.4338739795737,
              1376.4314846713212
            ],
            "size": [
              188.87500610351563,
              46
            ],
            "flags": {},
            "order": 10,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 545
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 552
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  546
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SetLatentNoiseMask"
            }
          },
          {
            "id": 248,
            "type": "VAEDecode",
            "pos": [
              2648.0911373849567,
              1270.5306839028633
            ],
            "size": [
              210,
              46
            ],
            "flags": {},
            "order": 13,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 547
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  553
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            }
          },
          {
            "id": 86,
            "type": "ImageBatch",
            "pos": [
              904.347357552292,
              662.6216703663418
            ],
            "size": [
              220,
              46
            ],
            "flags": {},
            "order": 1,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE",
                "link": 491
              },
              {
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE",
                "link": 445
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  532
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            }
          },
          {
            "id": 247,
            "type": "KSampler",
            "pos": [
              2100.8144505888267,
              1335.7548699960744
            ],
            "size": [
              270,
              720.4444580078125
            ],
            "flags": {},
            "order": 12,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 559
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 556
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 557
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 546
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  547
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.3.60",
              "ue_properties": {
                "version": "7.1",
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              333331925093979,
              "randomize",
              4,
              2.2,
              "res_2s",
              "simple",
              0.15
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 85,
            "type": "ImageFromBatch",
            "pos": [
              676.9637612990771,
              1694.039313555197
            ],
            "size": [
              270,
              82
            ],
            "flags": {},
            "order": 0,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 553
              },
              {
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                },
                "link": 212
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  445,
                  560
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              0,
              4096
            ]
          },
          {
            "id": 88,
            "type": "CreateVideo",
            "pos": [
              1219.9694124507673,
              951.6197149291223
            ],
            "size": [
              210,
              78
            ],
            "flags": {},
            "order": 3,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 560
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 466
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                },
                "link": 531
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  524
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "cnr_id": "comfy-core",
              "ver": "0.3.59"
            },
            "widgets_values": [
              16
            ]
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 218,
            "origin_id": 90,
            "origin_slot": 3,
            "target_id": 92,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 445,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 86,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 212,
            "origin_id": 90,
            "origin_slot": 4,
            "target_id": 85,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 465,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 87,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 472,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 90,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 466,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 88,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 491,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 86,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 492,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 90,
            "target_slot": 9,
            "type": "IMAGE"
          },
          {
            "id": 468,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 90,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 469,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 90,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 473,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 90,
            "target_slot": 3,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 476,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 90,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 460,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 90,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 462,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 90,
            "target_slot": 6,
            "type": "IMAGE"
          },
          {
            "id": 420,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 90,
            "target_slot": 7,
            "type": "IMAGE"
          },
          {
            "id": 421,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 90,
            "target_slot": 8,
            "type": "MASK"
          },
          {
            "id": 452,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 90,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 493,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 90,
            "target_slot": 12,
            "type": "INT"
          },
          {
            "id": 523,
            "origin_id": 90,
            "origin_slot": 5,
            "target_id": -20,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 524,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "VIDEO"
          },
          {
            "id": 527,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 91,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 529,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 91,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 530,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 91,
            "target_slot": 6,
            "type": "COMBO"
          },
          {
            "id": 531,
            "origin_id": -10,
            "origin_slot": 19,
            "target_id": 88,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 532,
            "origin_id": 86,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 533,
            "origin_id": -10,
            "origin_slot": 20,
            "target_id": 90,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 534,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 535,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 536,
            "origin_id": 90,
            "origin_slot": 1,
            "target_id": 242,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 537,
            "origin_id": 90,
            "origin_slot": 2,
            "target_id": 242,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 538,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 242,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 539,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 242,
            "target_slot": 10,
            "type": "FLOAT"
          },
          {
            "id": 540,
            "origin_id": 242,
            "origin_slot": 1,
            "target_id": 92,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 541,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 242,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 542,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 242,
            "target_slot": 7,
            "type": "COMBO"
          },
          {
            "id": 543,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 242,
            "target_slot": 8,
            "type": "COMBO"
          },
          {
            "id": 544,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 243,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 545,
            "origin_id": 246,
            "origin_slot": 0,
            "target_id": 245,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 546,
            "origin_id": 245,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 547,
            "origin_id": 247,
            "origin_slot": 0,
            "target_id": 248,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 548,
            "origin_id": 92,
            "origin_slot": 0,
            "target_id": 243,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 549,
            "origin_id": 243,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 550,
            "origin_id": 244,
            "origin_slot": 0,
            "target_id": 87,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 551,
            "origin_id": 87,
            "origin_slot": 0,
            "target_id": 246,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 552,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 245,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 553,
            "origin_id": 248,
            "origin_slot": 0,
            "target_id": 85,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 554,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 244,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 555,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 244,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 556,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 247,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 557,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 247,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 558,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 559,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 560,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": 88,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.3855432894295317,
      "offset": [
        2684.4118146551623,
        892.0063381484786
      ]
    },
    "frontendVersion": "1.35.9",
    "workflowRendererVersion": "LG",
    "VHS_latentpreview": true,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "node_versions": {
      "comfy-core": "0.12.3",
      "comfyui_essentials": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9"
    }
  },
  "version": 0.4
}