{
  "id": "34609543-af84-441c-b28f-cee8c1455b8d",
  "revision": 0,
  "last_node_id": 255,
  "last_link_id": 362,
  "nodes": [
    {
      "id": 125,
      "type": "GetNode",
      "pos": [
        232.95791625976562,
        -1057.744140625
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            238
          ]
        }
      ],
      "title": "Get_mid_image",
      "properties": {},
      "widgets_values": [
        "mid_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 161,
      "type": "MiDaS-DepthMapPreprocessor",
      "pos": [
        -599.2680053710938,
        2118.65869140625
      ],
      "size": [
        315,
        106
      ],
      "flags": {
        "collapsed": true
      },
      "order": 56,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 335
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            294
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "5a049bde9cc117dafc327cded156459289097ea1",
        "Node name for S&R": "MiDaS-DepthMapPreprocessor"
      },
      "widgets_values": [
        6.283185307179586,
        0.1,
        512
      ]
    },
    {
      "id": 162,
      "type": "Scribble_XDoG_Preprocessor",
      "pos": [
        -619.2680053710938,
        2208.658203125
      ],
      "size": [
        315,
        82
      ],
      "flags": {
        "collapsed": true
      },
      "order": 57,
      "mode": 2,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 336
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            296
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "5a049bde9cc117dafc327cded156459289097ea1",
        "Node name for S&R": "Scribble_XDoG_Preprocessor"
      },
      "widgets_values": [
        32,
        512
      ]
    },
    {
      "id": 146,
      "type": "ImageBlend",
      "pos": [
        -579.2673950195312,
        2018.65966796875
      ],
      "size": [
        315,
        102
      ],
      "flags": {
        "collapsed": true
      },
      "order": 76,
      "mode": 2,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 261
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": 288
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            292
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "ImageBlend"
      },
      "widgets_values": [
        0.5000000000000001,
        "normal"
      ]
    },
    {
      "id": 154,
      "type": "DWPreprocessor",
      "pos": [
        -589.2677612304688,
        1998.6597900390625
      ],
      "size": [
        315,
        222
      ],
      "flags": {
        "collapsed": true
      },
      "order": 59,
      "mode": 2,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 338
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            288
          ]
        },
        {
          "name": "POSE_KEYPOINT",
          "type": "POSE_KEYPOINT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "5a049bde9cc117dafc327cded156459289097ea1",
        "Node name for S&R": "DWPreprocessor"
      },
      "widgets_values": [
        "enable",
        "enable",
        "enable",
        512,
        "yolox_l.onnx",
        "dw-ll_ucoco_384_bs5.torchscript.pt",
        "disable"
      ]
    },
    {
      "id": 124,
      "type": "SetNode",
      "pos": [
        -2110,
        -1230
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 65,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 237
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "title": "Set_mid_image",
      "properties": {
        "previousName": "mid_image"
      },
      "widgets_values": [
        "mid_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 200,
      "type": "SetNode",
      "pos": [
        -2090,
        -1230
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 66,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 334
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_input_video",
      "properties": {
        "previousName": "input_video"
      },
      "widgets_values": [
        "input_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 198,
      "type": "SetNode",
      "pos": [
        -2190,
        -1210
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 68,
      "mode": 0,
      "inputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "link": 331
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_audio",
      "properties": {
        "previousName": "audio"
      },
      "widgets_values": [
        "audio"
      ]
    },
    {
      "id": 204,
      "type": "GetNode",
      "pos": [
        122.95770263671875,
        -867.743896484375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            341
          ]
        }
      ],
      "title": "Get_source_fps",
      "properties": {},
      "widgets_values": [
        "source_fps"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 141,
      "type": "VHS_VideoInfo",
      "pos": [
        -2150,
        -1130
      ],
      "size": [
        262,
        206
      ],
      "flags": {
        "collapsed": true
      },
      "order": 69,
      "mode": 0,
      "inputs": [
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "link": 251
        }
      ],
      "outputs": [
        {
          "name": "source_fps🟨",
          "type": "FLOAT",
          "links": [
            333
          ]
        },
        {
          "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": []
        },
        {
          "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": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "3bfbd99ffcaeecffe3660a024fdf0cac509f6781",
        "Node name for S&R": "VHS_VideoInfo"
      },
      "widgets_values": {}
    },
    {
      "id": 199,
      "type": "SetNode",
      "pos": [
        -2150,
        -1170
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 79,
      "mode": 0,
      "inputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "link": 333
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_source_fps",
      "properties": {
        "previousName": "source_fps"
      },
      "widgets_values": [
        "source_fps"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 207,
      "type": "SetNode",
      "pos": [
        -2140,
        -1100
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 67,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 343
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_frame_count",
      "properties": {
        "previousName": "frame_count"
      },
      "widgets_values": [
        "frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 126,
      "type": "SetNode",
      "pos": [
        -897.04150390625,
        -587.7437744140625
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 63,
      "mode": 0,
      "inputs": [
        {
          "name": "WANVAE",
          "type": "WANVAE",
          "link": 239
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "title": "Set_Vae",
      "properties": {
        "previousName": "Vae"
      },
      "widgets_values": [
        "Vae"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 91,
      "type": "SetNode",
      "pos": [
        -1427.0413818359375,
        -1077.744140625
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 85,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 140
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            141
          ]
        }
      ],
      "title": "Set_start_image",
      "properties": {
        "previousName": "start_image"
      },
      "widgets_values": [
        "start_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 209,
      "type": "GetNode",
      "pos": [
        -697.0418090820312,
        -1147.7435302734375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": [
            346
          ]
        }
      ],
      "title": "Get_Control",
      "properties": {},
      "widgets_values": [
        "Control"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 128,
      "type": "GetNode",
      "pos": [
        -537.041748046875,
        -1057.744140625
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "WANVAE",
          "type": "WANVAE",
          "links": [
            241
          ]
        }
      ],
      "title": "Get_Vae",
      "properties": {},
      "widgets_values": [
        "Vae"
      ]
    },
    {
      "id": 206,
      "type": "GetNode",
      "pos": [
        -687.0418090820312,
        -1027.744384765625
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            344
          ]
        }
      ],
      "title": "Get_frame_count",
      "properties": {},
      "widgets_values": [
        "frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 108,
      "type": "WanVideoControlEmbeds",
      "pos": [
        -687.0418090820312,
        -997.7445068359375
      ],
      "size": [
        315,
        82
      ],
      "flags": {
        "collapsed": true
      },
      "order": 84,
      "mode": 0,
      "inputs": [
        {
          "name": "latents",
          "type": "LATENT",
          "link": 176
        }
      ],
      "outputs": [
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "links": [
            187
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoControlEmbeds"
      },
      "widgets_values": [
        0,
        0.7500000000000001
      ]
    },
    {
      "id": 129,
      "type": "GetNode",
      "pos": [
        -477.041748046875,
        -1027.744384765625
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "WANVAE",
          "type": "WANVAE",
          "links": [
            242
          ]
        }
      ],
      "title": "Get_Vae",
      "properties": {},
      "widgets_values": [
        "Vae"
      ]
    },
    {
      "id": 52,
      "type": "WanVideoTeaCache",
      "pos": [
        -247.04193115234375,
        -1087.744140625
      ],
      "size": [
        315,
        178
      ],
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "teacache_args",
          "type": "TEACACHEARGS",
          "links": [
            106
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoTeaCache"
      },
      "widgets_values": [
        0.22000000000000006,
        1,
        -1,
        "offload_device",
        "true",
        "e"
      ]
    },
    {
      "id": 72,
      "type": "WanVideoSLG",
      "pos": [
        -237.04193115234375,
        -1057.744140625
      ],
      "size": [
        315,
        106
      ],
      "flags": {
        "collapsed": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "slg_args",
          "type": "SLGARGS",
          "links": [
            137
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoSLG"
      },
      "widgets_values": [
        "9",
        0.20000000000000004,
        0.8000000000000002
      ]
    },
    {
      "id": 93,
      "type": "GetNode",
      "pos": [
        92.95773315429688,
        -1137.7435302734375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            147
          ]
        }
      ],
      "title": "Get_start_image",
      "properties": {},
      "widgets_values": [
        "start_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 95,
      "type": "AddLabel",
      "pos": [
        92.95773315429688,
        -1107.743896484375
      ],
      "size": [
        315,
        294
      ],
      "flags": {
        "collapsed": true
      },
      "order": 54,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 147
        },
        {
          "name": "caption",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "caption"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            230
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
        "Node name for S&R": "AddLabel"
      },
      "widgets_values": [
        10,
        2,
        48,
        32,
        "white",
        "black",
        "FreeMono.ttf",
        "start_frame",
        "up",
        ""
      ]
    },
    {
      "id": 133,
      "type": "GetNode",
      "pos": [
        102.957763671875,
        -1047.7442626953125
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "WANVAE",
          "type": "WANVAE",
          "links": [
            245
          ]
        }
      ],
      "title": "Get_Vae",
      "properties": {},
      "widgets_values": [
        "Vae"
      ]
    },
    {
      "id": 101,
      "type": "WanVideoDecode",
      "pos": [
        92.95773315429688,
        -997.7445068359375
      ],
      "size": [
        315,
        198
      ],
      "flags": {
        "collapsed": true
      },
      "order": 93,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 245
        },
        {
          "name": "samples",
          "type": "LATENT",
          "link": 166
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            231,
            249,
            322,
            349
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoDecode"
      },
      "widgets_values": [
        false,
        272,
        272,
        144,
        128
      ]
    },
    {
      "id": 139,
      "type": "RIFE VFI",
      "pos": [
        92.95773315429688,
        -967.744140625
      ],
      "size": [
        478.8000183105469,
        198
      ],
      "flags": {
        "collapsed": true
      },
      "order": 95,
      "mode": 0,
      "inputs": [
        {
          "name": "frames",
          "type": "IMAGE",
          "link": 249
        },
        {
          "name": "optional_interpolation_states",
          "shape": 7,
          "type": "INTERPOLATION_STATES",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            250
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-frame-interpolation",
        "ver": "c336f7184cb1ac1243381e725fea1ad2c0a10c09",
        "Node name for S&R": "RIFE VFI"
      },
      "widgets_values": [
        "rife47.pth",
        10,
        2,
        true,
        true,
        1
      ]
    },
    {
      "id": 205,
      "type": "GetNode",
      "pos": [
        122.95770263671875,
        -927.7440185546875
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            342
          ]
        }
      ],
      "title": "Get_audio",
      "properties": {},
      "widgets_values": [
        "audio"
      ]
    },
    {
      "id": 211,
      "type": "FinalFrameSelector",
      "pos": [
        112.95773315429688,
        -827.7439575195312
      ],
      "size": [
        252,
        26
      ],
      "flags": {
        "collapsed": true
      },
      "order": 96,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 349
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            350
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-MediaMixer",
        "ver": "2bae7b5ea8fc52d8a4d668d62fed76265f4eec2c",
        "Node name for S&R": "FinalFrameSelector"
      },
      "widgets_values": []
    },
    {
      "id": 181,
      "type": "VHS_SelectImages",
      "pos": [
        -1327.111328125,
        -1957.3330078125
      ],
      "size": [
        210,
        106
      ],
      "flags": {
        "collapsed": true
      },
      "order": 55,
      "mode": 4,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 339
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            319,
            320,
            321
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "3bfbd99ffcaeecffe3660a024fdf0cac509f6781",
        "Node name for S&R": "VHS_SelectImages"
      },
      "widgets_values": {
        "indexes": "0",
        "err_if_missing": true,
        "err_if_empty": true
      }
    },
    {
      "id": 202,
      "type": "GetNode",
      "pos": [
        -1327.111328125,
        -1917.3328857421875
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 11,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            339
          ]
        }
      ],
      "title": "Get_input_video",
      "properties": {},
      "widgets_values": [
        "input_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 165,
      "type": "EmptyLatentImage",
      "pos": [
        -1317.111328125,
        -1817.3328857421875
      ],
      "size": [
        315,
        106
      ],
      "flags": {
        "collapsed": true
      },
      "order": 80,
      "mode": 4,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 316
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 317
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "shape": 3,
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            302
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1024,
        768,
        1
      ]
    },
    {
      "id": 180,
      "type": "CM_NearestSDXLResolution",
      "pos": [
        -1317.111328125,
        -1867.3328857421875
      ],
      "size": [
        264.5999755859375,
        46
      ],
      "flags": {
        "collapsed": true
      },
      "order": 73,
      "mode": 4,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 319
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            316
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            317
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyMath",
        "ver": "939bb813f1c0ace959b62f20bb2da47190c4e211",
        "Node name for S&R": "CM_NearestSDXLResolution"
      },
      "widgets_values": []
    },
    {
      "id": 177,
      "type": "CLIPTextEncodeFlux",
      "pos": [
        212.888916015625,
        -1987.3338623046875
      ],
      "size": [
        210,
        108
      ],
      "flags": {
        "collapsed": true
      },
      "order": 70,
      "mode": 4,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 309
        },
        {
          "name": "clip_l",
          "type": "STRING",
          "widget": {
            "name": "clip_l"
          },
          "link": 310
        },
        {
          "name": "t5xxl",
          "type": "STRING",
          "widget": {
            "name": "t5xxl"
          },
          "link": 311
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "shape": 3,
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            300
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncodeFlux"
      },
      "widgets_values": [
        "handsome man in balenciaga style, fashion, vogue image",
        "handsome man in balenciaga style, fashion, vogue image",
        3.5,
        [
          false,
          true
        ],
        [
          false,
          true
        ]
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 167,
      "type": "CLIPTextEncodeFlux",
      "pos": [
        202.888916015625,
        -1947.3328857421875
      ],
      "size": [
        210,
        166
      ],
      "flags": {
        "collapsed": true
      },
      "order": 64,
      "mode": 4,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 298
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "shape": 3,
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            301
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncodeFlux"
      },
      "widgets_values": [
        "bad photo",
        "bad photo",
        4,
        [
          false,
          true
        ],
        [
          false,
          true
        ]
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 178,
      "type": "VAEDecode",
      "pos": [
        332.8887634277344,
        -1907.3328857421875
      ],
      "size": [
        210,
        46
      ],
      "flags": {
        "collapsed": true
      },
      "order": 89,
      "mode": 4,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 312
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 313
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "shape": 3,
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            314
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 142,
      "type": "MiDaS-DepthMapPreprocessor",
      "pos": [
        -589.2677612304688,
        1948.659912109375
      ],
      "size": [
        315,
        106
      ],
      "flags": {
        "collapsed": true
      },
      "order": 58,
      "mode": 2,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 337
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            261
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "5a049bde9cc117dafc327cded156459289097ea1",
        "Node name for S&R": "MiDaS-DepthMapPreprocessor"
      },
      "widgets_values": [
        6.283185307179586,
        0.1,
        512
      ]
    },
    {
      "id": 208,
      "type": "SetNode",
      "pos": [
        -309.55694580078125,
        2184.13818359375
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 87,
      "mode": 0,
      "inputs": [
        {
          "name": "*",
          "type": "*",
          "link": 345
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_Control",
      "properties": {
        "previousName": "Control"
      },
      "widgets_values": [
        "Control"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 201,
      "type": "GetNode",
      "pos": [
        -858.4462280273438,
        1955.69970703125
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            335,
            336,
            337,
            338
          ]
        }
      ],
      "title": "Get_input_video",
      "properties": {},
      "widgets_values": [
        "input_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 210,
      "type": "GetNode",
      "pos": [
        -2190,
        -690
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": [
            348
          ]
        }
      ],
      "title": "Get_Control",
      "properties": {},
      "widgets_values": [
        "Control"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 159,
      "type": "Any Switch (rgthree)",
      "pos": [
        -379.26641845703125,
        2108.658935546875
      ],
      "size": [
        252,
        106
      ],
      "flags": {},
      "order": 83,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "any_01",
          "type": "IMAGE",
          "link": 292
        },
        {
          "dir": 3,
          "name": "any_02",
          "type": "IMAGE",
          "link": 294
        },
        {
          "dir": 3,
          "name": "any_03",
          "type": "IMAGE",
          "link": 296
        },
        {
          "name": "any_04",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "any_05",
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "dir": 4,
          "label": "IMAGE",
          "name": "*",
          "shape": 3,
          "type": "IMAGE",
          "links": [
            345
          ]
        }
      ],
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "5d771b8b56a343c24a26e8cea1f0c87c3d58102f"
      },
      "widgets_values": []
    },
    {
      "id": 215,
      "type": "Label (rgthree)",
      "pos": [
        -1870,
        -810
      ],
      "size": [
        286.81640625,
        30
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Choose preprocessor",
      "properties": {
        "fontSize": 30,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 77,
      "type": "ImageResize+",
      "pos": [
        -1417.0413818359375,
        -1047.7442626953125
      ],
      "size": [
        315,
        218
      ],
      "flags": {
        "collapsed": true
      },
      "order": 78,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 94
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 236
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 235
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            140,
            244
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui_essentials",
        "ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
        "Node name for S&R": "ImageResize+"
      },
      "widgets_values": [
        480,
        832,
        "lanczos",
        "fill / crop",
        "always",
        16
      ]
    },
    {
      "id": 107,
      "type": "WanVideoEncode",
      "pos": [
        -517.0418701171875,
        -1027.744384765625
      ],
      "size": [
        315,
        242
      ],
      "flags": {
        "collapsed": true
      },
      "order": 77,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 242
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 174
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            176
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoEncode"
      },
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        0,
        1
      ]
    },
    {
      "id": 111,
      "type": "WanVideoImageToVideoEncode",
      "pos": [
        -687.0418090820312,
        -1087.744140625
      ],
      "size": [
        352.79998779296875,
        398
      ],
      "flags": {
        "collapsed": true
      },
      "order": 90,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 241
        },
        {
          "name": "clip_embeds",
          "type": "WANVIDIMAGE_CLIPEMBEDS",
          "link": 243
        },
        {
          "name": "start_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 244
        },
        {
          "name": "end_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "control_embeds",
          "shape": 7,
          "type": "WANVIDIMAGE_EMBEDS",
          "link": 187
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 191
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 192
        },
        {
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          },
          "link": 344
        },
        {
          "name": "extra_latents",
          "shape": 7,
          "type": "LATENT",
          "link": null
        },
        {
          "name": "temporal_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "links": [
            197,
            211
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoImageToVideoEncode"
      },
      "widgets_values": [
        832,
        480,
        81,
        0,
        1,
        1,
        true,
        true
      ]
    },
    {
      "id": 88,
      "type": "WanVideoClipVisionEncode",
      "pos": [
        -637.041748046875,
        -1117.743896484375
      ],
      "size": [
        327.5999755859375,
        262
      ],
      "flags": {
        "collapsed": true
      },
      "order": 88,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 123
        },
        {
          "name": "image_1",
          "type": "IMAGE",
          "link": 141
        },
        {
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "negative_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_CLIPEMBEDS",
          "links": [
            243
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoClipVisionEncode"
      },
      "widgets_values": [
        1,
        1,
        "center",
        "average",
        true,
        0,
        0.5
      ]
    },
    {
      "id": 231,
      "type": "SetNode",
      "pos": [
        -1800,
        -930
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 61,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 359
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_height",
      "properties": {
        "previousName": "height"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 230,
      "type": "SetNode",
      "pos": [
        -1800,
        -1050
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 71,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 358
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_width",
      "properties": {
        "previousName": "width"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 226,
      "type": "PrimitiveInt",
      "pos": [
        -1890,
        -940
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            359
          ]
        }
      ],
      "title": "width",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        720,
        "fixed"
      ]
    },
    {
      "id": 232,
      "type": "GetNode",
      "pos": [
        -677.0418090820312,
        -987.7442626953125
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            360
          ]
        }
      ],
      "title": "Get_width",
      "properties": {},
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 233,
      "type": "GetNode",
      "pos": [
        -537.041748046875,
        -957.7440795898438
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            361
          ]
        }
      ],
      "title": "Get_height",
      "properties": {},
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 106,
      "type": "ImageResizeKJ",
      "pos": [
        -677.0418090820312,
        -1057.744140625
      ],
      "size": [
        315,
        286
      ],
      "flags": {
        "collapsed": true
      },
      "order": 62,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 346
        },
        {
          "name": "get_image_size",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width_input",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "width_input"
          },
          "link": null
        },
        {
          "name": "height_input",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "height_input"
          },
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 360
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 361
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            174
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            191,
            235
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            192,
            236
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        832,
        480,
        "nearest-exact",
        false,
        2,
        0,
        0,
        "disabled"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 234,
      "type": "Label (rgthree)",
      "pos": [
        -1830,
        -1140
      ],
      "size": [
        183.4423828125,
        30
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Set resolution",
      "properties": {
        "fontSize": 30,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 213,
      "type": "Label (rgthree)",
      "pos": [
        -2250,
        -1350
      ],
      "size": [
        298.0078125,
        30
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Load Reference Video",
      "properties": {
        "fontSize": 30,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 174,
      "type": "AIO_Preprocessor",
      "pos": [
        -187.111083984375,
        -1757.3328857421875
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 74,
      "mode": 4,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 320
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "shape": 3,
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            307,
            308
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "5a049bde9cc117dafc327cded156459289097ea1",
        "Node name for S&R": "AIO_Preprocessor"
      },
      "widgets_values": [
        "DepthAnythingV2Preprocessor",
        512
      ]
    },
    {
      "id": 71,
      "type": "ImageConcatMulti",
      "pos": [
        762.958251953125,
        -1057.744140625
      ],
      "size": [
        315,
        190
      ],
      "flags": {
        "collapsed": false
      },
      "order": 94,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE",
          "link": 230
        },
        {
          "name": "image_2",
          "type": "IMAGE",
          "link": 238
        },
        {
          "name": "image_3",
          "type": "IMAGE",
          "link": 231
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            226
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f"
      },
      "widgets_values": [
        3,
        "right",
        true,
        null
      ]
    },
    {
      "id": 241,
      "type": "Note",
      "pos": [
        -597.041748046875,
        -737.7437744140625
      ],
      "size": [
        210,
        88
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Do not edit the 2nd text box because it is the fixed negative prompt"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 243,
      "type": "Label (rgthree)",
      "pos": [
        -1393.5450439453125,
        -1246.85791015625
      ],
      "size": [
        111.2060546875,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 21,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Input",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 22,
      "type": "WanVideoModelLoader",
      "pos": [
        -1127.0413818359375,
        -996.92724609375
      ],
      "size": [
        398.23052978515625,
        234
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS",
          "link": null
        },
        {
          "name": "block_swap_args",
          "shape": 7,
          "type": "BLOCKSWAPARGS",
          "link": null
        },
        {
          "name": "lora",
          "shape": 7,
          "type": "WANVIDLORA",
          "link": null
        },
        {
          "name": "vram_management_args",
          "shape": 7,
          "type": "VRAM_MANAGEMENTARGS",
          "link": null
        },
        {
          "name": "vace_model",
          "shape": 7,
          "type": "VACEPATH",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "slot_index": 0,
          "links": [
            29,
            103
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoModelLoader"
      },
      "widgets_values": [
        "Wan2.1-Fun-Control-14B_fp8_e4m3fn.safetensors",
        "fp16",
        "fp8_e4m3fn",
        "offload_device",
        "sdpa"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 38,
      "type": "WanVideoVAELoader",
      "pos": [
        -1058.8778076171875,
        -715.0900268554688
      ],
      "size": [
        290,
        82
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "slot_index": 0,
          "links": [
            239
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoVAELoader"
      },
      "widgets_values": [
        "Wan2_1_VAE_bf16.safetensors",
        "bf16"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 245,
      "type": "Label (rgthree)",
      "pos": [
        -252.39697265625,
        -1248.541748046875
      ],
      "size": [
        208.447265625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 24,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Sampling",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 246,
      "type": "Label (rgthree)",
      "pos": [
        492.312255859375,
        -1248.743896484375
      ],
      "size": [
        150.09765625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 25,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Output",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 30,
      "type": "VHS_VideoCombine",
      "pos": [
        688.29150390625,
        -1137.9656982421875
      ],
      "size": [
        647.6705322265625,
        468.21221923828125
      ],
      "flags": {},
      "order": 97,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 226
        },
        {
          "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": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "Video2Video_Restyle_Wan/Compare",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 18,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "Compare_00013.mp4",
            "subfolder": "Video2Video_Restyle_Wan",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "Compare_00013.png",
            "fullpath": "/home/ubuntu/user_data/comfyui/outputs/Video2Video_Restyle_Wan/Compare_00013.mp4"
          }
        }
      }
    },
    {
      "id": 185,
      "type": "PreviewImage",
      "pos": [
        22.9578857421875,
        -387.7440185546875
      ],
      "size": [
        640,
        420
      ],
      "flags": {
        "collapsed": true
      },
      "order": 99,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 350
        }
      ],
      "outputs": [],
      "title": "Last Frame",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 140,
      "type": "VHS_VideoCombine",
      "pos": [
        24.33772087097168,
        -1155.681640625
      ],
      "size": [
        647.6705322265625,
        701.064697265625
      ],
      "flags": {
        "collapsed": false
      },
      "order": 98,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 250
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 342
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT,INT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 341
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "title": "Output",
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 30,
        "loop_count": 0,
        "filename_prefix": "Video2Video_Restyle_Wan/Output",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "Output_00012-audio.mp4",
            "subfolder": "Video2Video_Restyle_Wan",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 23.976023976023978,
            "workflow": "Output_00012.png",
            "fullpath": "/home/ubuntu/user_data/comfyui/outputs/Video2Video_Restyle_Wan/Output_00012-audio.mp4"
          }
        }
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 27,
      "type": "WanVideoSampler",
      "pos": [
        -277.0419006347656,
        -1147.7435302734375
      ],
      "size": [
        274.4388122558594,
        521.3731689453125
      ],
      "flags": {},
      "order": 92,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "link": 29
        },
        {
          "name": "text_embeds",
          "type": "WANVIDEOTEXTEMBEDS",
          "link": 204
        },
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "link": 211
        },
        {
          "name": "samples",
          "shape": 7,
          "type": "LATENT",
          "link": null
        },
        {
          "name": "feta_args",
          "shape": 7,
          "type": "FETAARGS",
          "link": null
        },
        {
          "name": "context_options",
          "shape": 7,
          "type": "WANVIDCONTEXT",
          "link": null
        },
        {
          "name": "teacache_args",
          "shape": 7,
          "type": "TEACACHEARGS",
          "link": 106
        },
        {
          "name": "flowedit_args",
          "shape": 7,
          "type": "FLOWEDITARGS",
          "link": null
        },
        {
          "name": "slg_args",
          "shape": 7,
          "type": "SLGARGS",
          "link": 137
        },
        {
          "name": "loop_args",
          "shape": 7,
          "type": "LOOPARGS",
          "link": null
        },
        {
          "name": "experimental_args",
          "shape": 7,
          "type": "EXPERIMENTALARGS",
          "link": null
        },
        {
          "name": "sigmas",
          "shape": 7,
          "type": "SIGMAS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            166
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoSampler"
      },
      "widgets_values": [
        25,
        4.000000000000001,
        7.000000000000002,
        840170834761108,
        "randomize",
        true,
        "unipc",
        0,
        1,
        "",
        "comfy"
      ]
    },
    {
      "id": 171,
      "type": "DualCLIPLoader",
      "pos": [
        -967.1112670898438,
        -1917.3328857421875
      ],
      "size": [
        310,
        122
      ],
      "flags": {},
      "order": 26,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "shape": 3,
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            298,
            309
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "DualCLIPLoader"
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp8_e4m3fn.safetensors",
        "flux",
        "default"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 163,
      "type": "VAELoader",
      "pos": [
        -967.1112670898438,
        -1757.3328857421875
      ],
      "size": [
        296.2017517089844,
        62.13947677612305
      ],
      "flags": {},
      "order": 27,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "shape": 3,
          "type": "VAE",
          "slot_index": 0,
          "links": [
            313
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "ae.sft"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 242,
      "type": "Label (rgthree)",
      "pos": [
        -1007.0413818359375,
        -1246.9263916015625
      ],
      "size": [
        161.181640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 28,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Models",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 244,
      "type": "Label (rgthree)",
      "pos": [
        -592.1385498046875,
        -1246.911865234375
      ],
      "size": [
        161.1572265625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 29,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Prompt",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 169,
      "type": "LoadFluxControlNet",
      "pos": [
        -187.111083984375,
        -1877.3328857421875
      ],
      "size": [
        316.83343505859375,
        86.47058868408203
      ],
      "flags": {},
      "order": 30,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "ControlNet",
          "shape": 3,
          "type": "FluxControlNet",
          "slot_index": 0,
          "links": [
            306
          ]
        }
      ],
      "properties": {
        "cnr_id": "x-flux-comfyui",
        "ver": "00328556efc9472410d903639dc9e68a8471f7ac",
        "Node name for S&R": "LoadFluxControlNet"
      },
      "widgets_values": [
        "flux-dev",
        "flux-depth-controlnet-v3.safetensors"
      ]
    },
    {
      "id": 176,
      "type": "PreviewImage",
      "pos": [
        -257.111083984375,
        -1637.3328857421875
      ],
      "size": [
        210,
        261.21929931640625
      ],
      "flags": {
        "collapsed": false
      },
      "order": 82,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 308
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 166,
      "type": "Note",
      "pos": [
        -27.111112594604492,
        -1627.3328857421875
      ],
      "size": [
        210,
        137.20985412597656
      ],
      "flags": {},
      "order": 31,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "IMPORTANT!\n\nCorrect controlnet type to set for each XLABS controlnet model (in the node above the loader):\n\ncanny\ndepth\nhed"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 247,
      "type": "Label (rgthree)",
      "pos": [
        -897.1112670898438,
        -2127.3369140625
      ],
      "size": [
        161.181640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 32,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Models",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 249,
      "type": "Label (rgthree)",
      "pos": [
        -1499.759765625,
        -2130.8828125
      ],
      "size": [
        497.3876953125,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 33,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Auto Input First Frame",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 164,
      "type": "UNETLoader",
      "pos": [
        -967.1112670898438,
        -2037.3363037109375
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 34,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "shape": 3,
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            299
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "flux1-dev-fp8.safetensors",
        "default"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 175,
      "type": "ApplyFluxControlNet",
      "pos": [
        -207.111083984375,
        -2017.3353271484375
      ],
      "size": [
        350,
        100
      ],
      "flags": {},
      "order": 81,
      "mode": 4,
      "inputs": [
        {
          "name": "controlnet",
          "type": "FluxControlNet",
          "link": 306
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 307
        },
        {
          "name": "controlnet_condition",
          "shape": 7,
          "type": "ControlNetCondition",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "controlnet_condition",
          "shape": 3,
          "type": "ControlNetCondition",
          "slot_index": 0,
          "links": [
            303
          ]
        }
      ],
      "properties": {
        "cnr_id": "x-flux-comfyui",
        "ver": "00328556efc9472410d903639dc9e68a8471f7ac",
        "Node name for S&R": "ApplyFluxControlNet"
      },
      "widgets_values": [
        0.8000000000000002
      ]
    },
    {
      "id": 248,
      "type": "Label (rgthree)",
      "pos": [
        -537.1112670898438,
        -2127.3369140625
      ],
      "size": [
        161.1572265625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 35,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Prompt",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 173,
      "type": "XlabsSampler",
      "pos": [
        182.888916015625,
        -2017.3353271484375
      ],
      "size": [
        350,
        260
      ],
      "flags": {},
      "order": 86,
      "mode": 4,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 299
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 300
        },
        {
          "name": "neg_conditioning",
          "type": "CONDITIONING",
          "link": 301
        },
        {
          "name": "latent_image",
          "shape": 7,
          "type": "LATENT",
          "link": 302
        },
        {
          "name": "controlnet_condition",
          "shape": 7,
          "type": "ControlNetCondition",
          "link": 303
        },
        {
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          },
          "link": 304
        }
      ],
      "outputs": [
        {
          "name": "latent",
          "shape": 3,
          "type": "LATENT",
          "links": [
            312
          ]
        }
      ],
      "properties": {
        "cnr_id": "x-flux-comfyui",
        "ver": "00328556efc9472410d903639dc9e68a8471f7ac",
        "Node name for S&R": "XlabsSampler"
      },
      "widgets_values": [
        324242532548,
        "fixed",
        20,
        1,
        3.5,
        0,
        1
      ]
    },
    {
      "id": 250,
      "type": "Label (rgthree)",
      "pos": [
        -151.3929443359375,
        -2119.694580078125
      ],
      "size": [
        230.6884765625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 36,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Controlnet",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 179,
      "type": "SaveImage",
      "pos": [
        572.8887329101562,
        -2017.3353271484375
      ],
      "size": [
        457.1219787597656,
        495.4045715332031
      ],
      "flags": {},
      "order": 91,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 314
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "Video2Video_Restyle_Wan/t2i",
        ""
      ]
    },
    {
      "id": 168,
      "type": "Seed Everywhere",
      "pos": [
        217.17724609375,
        -1711.8232421875
      ],
      "size": [
        294.197265625,
        82
      ],
      "flags": {},
      "order": 37,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "shape": 3,
          "type": "INT",
          "links": [
            304
          ]
        }
      ],
      "properties": {
        "cnr_id": "cg-use-everywhere",
        "ver": "ce510b97d10e69d5fd0042e115ecd946890d2079",
        "Node name for S&R": "Seed Everywhere",
        "group_restricted": 0,
        "color_restricted": 0
      },
      "widgets_values": [
        95374490589549,
        "randomize"
      ]
    },
    {
      "id": 251,
      "type": "Label (rgthree)",
      "pos": [
        242.88885498046875,
        -2117.3369140625
      ],
      "size": [
        208.447265625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 38,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Sampling",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 252,
      "type": "Label (rgthree)",
      "pos": [
        681.5545043945312,
        -2122.468017578125
      ],
      "size": [
        150.09765625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 39,
      "mode": 4,
      "inputs": [],
      "outputs": [],
      "title": "Output",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 183,
      "type": "PreviewImage",
      "pos": [
        -1481.8826904296875,
        -2031.5799560546875
      ],
      "size": [
        470,
        320
      ],
      "flags": {},
      "order": 75,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 321
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 104,
      "type": "VHS_LoadVideo",
      "pos": [
        -2280,
        -1270
      ],
      "size": [
        352.85693359375,
        511.20074462890625
      ],
      "flags": {},
      "order": 40,
      "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": [
            170,
            215,
            216,
            217,
            218,
            221,
            227,
            237,
            278,
            334
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": [
            343
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            331
          ]
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": [
            251
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "179212-861403629_medium.mp4",
        "force_rate": 0,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 73,
        "skip_first_frames": 0,
        "select_every_nth": 2,
        "format": "Wan",
        "choose video to upload": "image",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "179212-861403629_medium.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 0,
            "custom_width": 0,
            "custom_height": 512,
            "frame_load_cap": 73,
            "skip_first_frames": 0,
            "select_every_nth": 2
          }
        }
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 170,
      "type": "easy positive",
      "pos": [
        -617.1112670898438,
        -2027.3358154296875
      ],
      "size": [
        326.68951416015625,
        176.8261260986328
      ],
      "flags": {},
      "order": 41,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "positive",
          "shape": 3,
          "type": "STRING",
          "slot_index": 0,
          "links": [
            310,
            311
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-easy-use",
        "ver": "94882b7da7e0caa2a6aa0fa804f650a7fdc27464",
        "Node name for S&R": "easy positive"
      },
      "widgets_values": [
        "A playful dog walks along a grassy field, depicted in a lively black and white doodle art style. The grass is illustrated with whimsical, hand-drawn patterns and quirky linework, while the dog is outlined with bold, expressive strokes. The entire scene is filled with imaginative doodles—swirls, dots, and playful shapes—creating a fun and energetic black-and-white composition.",
        [
          false,
          true
        ]
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 63,
      "type": "LoadImage",
      "pos": [
        -1498.0606689453125,
        -1153.4552001953125
      ],
      "size": [
        350,
        350
      ],
      "flags": {
        "collapsed": false
      },
      "order": 42,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            94
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Image: Start image",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "t2i_00018_.png",
        "image",
        ""
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 16,
      "type": "WanVideoTextEncode",
      "pos": [
        -707.0418090820312,
        -1157.7437744140625
      ],
      "size": [
        417.1896057128906,
        384.08966064453125
      ],
      "flags": {
        "collapsed": false
      },
      "order": 72,
      "mode": 0,
      "inputs": [
        {
          "name": "t5",
          "type": "WANTEXTENCODER",
          "link": 15
        },
        {
          "name": "model_to_offload",
          "shape": 7,
          "type": "WANVIDEOMODEL",
          "link": 103
        }
      ],
      "outputs": [
        {
          "name": "text_embeds",
          "type": "WANVIDEOTEXTEMBEDS",
          "slot_index": 0,
          "links": [
            204
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "WanVideoTextEncode"
      },
      "widgets_values": [
        "A playful dog walks along a grassy field, depicted in a lively black and white doodle art style. The grass is illustrated with whimsical, hand-drawn patterns and quirky linework, while the dog is outlined with bold, expressive strokes. The entire scene is filled with imaginative doodles—swirls, dots, and playful shapes—creating a fun and energetic black-and-white composition.",
        "Brilliant tones, overexposed, static, blurred details, subtitles, style, work, painting, picture, still, gray overall, worst quality, low quality, JPEG compression residue, ugly, mutilated, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, morphically deformed limbs, finger fusion, still picture, messy background, three legs, lots of people in the background, walking backwards",
        true,
        [
          false,
          true
        ],
        [
          false,
          true
        ]
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 253,
      "type": "Label (rgthree)",
      "pos": [
        1450,
        -1340
      ],
      "size": [
        234.5361328125,
        30
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 43,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Choose Workflow",
      "properties": {
        "fontSize": 30,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 254,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        1420,
        -1260
      ],
      "size": [
        357.05181884765625,
        106
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "green",
        "matchTitle": "",
        "showNav": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "always one"
      }
    },
    {
      "id": 225,
      "type": "PrimitiveInt",
      "pos": [
        -1890,
        -1060
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            358
          ]
        }
      ],
      "title": "width",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        1280,
        "fixed"
      ]
    },
    {
      "id": 187,
      "type": "PreviewImage",
      "pos": [
        -2268.529541015625,
        -693.1458740234375
      ],
      "size": [
        331.1004943847656,
        291.67608642578125
      ],
      "flags": {
        "collapsed": false
      },
      "order": 60,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 348
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 235,
      "type": "Note",
      "pos": [
        -2722.663330078125,
        -1264.2215576171875
      ],
      "size": [
        403.1014404296875,
        366.8648376464844
      ],
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Instructions",
      "properties": {},
      "widgets_values": [
        "-- Wan Restyle --\n\nStep 1: Load the reference video you want to use, the best results come from videos where the subject is clear for as much of the video as possible.\n\nStep 2: Activate Image2Image workflow, add your prompt to that workflow and generate a starting image, once complete and you are happy with the output, right click and select \"Copy (Clipspace)\". This part is optional if you already have an image you want to start with, but for the best results try to have an image that matches the start frame of the reference video as much as possible, otherwise there will be a morph to get it to match the video.\n\nStep 3: Activate Video2Video + Style workflow, right click on \"Load Image: Start Image\" and select \"Paste (Clipspace) if you generated from Text2Image, otherwise upload your desired start image. Choose your desired resolution, if generating at 480p on an Ultra machine (48gb VRAM), you can generate up to 81 frames, for 720p the max is 51 frames, you set this in the \"frame_load_cap\" on the reference video. Set your prompt, if you generated from Image2Image it can be similar to that prompt but make sure to add anything you feel it might need to describe a video instead of just an image. Hit Generate!\n\n*If copy (clipspace) does not work just do manual save image and load image."
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 237,
      "type": "Note",
      "pos": [
        -1860,
        -580
      ],
      "size": [
        266.17364501953125,
        220.9931640625
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Preprocessor Guide",
      "properties": {},
      "widgets_values": [
        "Choose the best preprocessor for what you are trying to generate.\n\nIf the reference video is focused on a human subject, it is best to use Depth+OpenPose (default).\n\nIf it is a non-human subject, use Depth only.\n\nIf it is any type of subject but your goal is to only transfer a style while keeping the output as close to the original video as possible (for example, turning the reference video into a cartoon style video), try using Scribble."
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 214,
      "type": "Label (rgthree)",
      "pos": [
        -1868.201416015625,
        -1350
      ],
      "size": [
        234.5361328125,
        30
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 48,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Choose Workflow",
      "properties": {
        "fontSize": 30,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 255,
      "type": "Label (rgthree)",
      "pos": [
        -2057.3125,
        -1437.5533447265625
      ],
      "size": [
        225.1220703125,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 49,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Pre-Stage",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 212,
      "type": "Fast Groups Muter (rgthree)",
      "pos": [
        -1880,
        -730
      ],
      "size": [
        300,
        106
      ],
      "flags": {},
      "order": 50,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "purple",
        "matchTitle": "",
        "showNav": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "max one"
      }
    },
    {
      "id": 182,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        -1905.9688720703125,
        -1272.225341796875
      ],
      "size": [
        357.05181884765625,
        106
      ],
      "flags": {},
      "order": 51,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "green",
        "matchTitle": "",
        "showNav": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "always one"
      }
    },
    {
      "id": 56,
      "type": "LoadWanVideoClipTextEncoder",
      "pos": [
        -1140.60205078125,
        -1155.8590087890625
      ],
      "size": [
        413.79754638671875,
        120.82200622558594
      ],
      "flags": {},
      "order": 52,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "wan_clip_vision",
          "type": "CLIP_VISION",
          "slot_index": 0,
          "links": [
            123
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "LoadWanVideoClipTextEncoder"
      },
      "widgets_values": [
        "open-clip-xlm-roberta-large-vit-huge-14_fp16.safetensors",
        "fp16",
        "offload_device"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 11,
      "type": "LoadWanVideoT5TextEncoder",
      "pos": [
        -1063.5897216796875,
        -586.926513671875
      ],
      "size": [
        316.3883056640625,
        130
      ],
      "flags": {},
      "order": 53,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "wan_t5_model",
          "type": "WANTEXTENCODER",
          "slot_index": 0,
          "links": [
            15
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d20baf00247fd06553fdc9253e18732244e54172",
        "Node name for S&R": "LoadWanVideoT5TextEncoder"
      },
      "widgets_values": [
        "umt5-xxl-enc-bf16.safetensors",
        "bf16",
        "offload_device",
        "disabled"
      ],
      "color": "#323",
      "bgcolor": "#535"
    }
  ],
  "links": [
    [
      15,
      11,
      0,
      16,
      0,
      "WANTEXTENCODER"
    ],
    [
      29,
      22,
      0,
      27,
      0,
      "WANVIDEOMODEL"
    ],
    [
      94,
      63,
      0,
      77,
      0,
      "IMAGE"
    ],
    [
      103,
      22,
      0,
      16,
      1,
      "WANVIDEOMODEL"
    ],
    [
      106,
      52,
      0,
      27,
      6,
      "TEACACHEARGS"
    ],
    [
      123,
      56,
      0,
      88,
      0,
      "CLIP_VISION"
    ],
    [
      137,
      72,
      0,
      27,
      8,
      "SLGARGS"
    ],
    [
      140,
      77,
      0,
      91,
      0,
      "*"
    ],
    [
      141,
      91,
      0,
      88,
      1,
      "IMAGE"
    ],
    [
      147,
      93,
      0,
      95,
      0,
      "IMAGE"
    ],
    [
      166,
      27,
      0,
      101,
      1,
      "LATENT"
    ],
    [
      174,
      106,
      0,
      107,
      1,
      "IMAGE"
    ],
    [
      176,
      107,
      0,
      108,
      0,
      "LATENT"
    ],
    [
      187,
      108,
      0,
      111,
      4,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      191,
      106,
      1,
      111,
      5,
      "INT"
    ],
    [
      192,
      106,
      2,
      111,
      6,
      "INT"
    ],
    [
      204,
      16,
      0,
      27,
      1,
      "WANVIDEOTEXTEMBEDS"
    ],
    [
      211,
      111,
      0,
      27,
      2,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      226,
      71,
      0,
      30,
      0,
      "IMAGE"
    ],
    [
      230,
      95,
      0,
      71,
      0,
      "IMAGE"
    ],
    [
      231,
      101,
      0,
      71,
      2,
      "IMAGE"
    ],
    [
      235,
      106,
      1,
      77,
      2,
      "INT"
    ],
    [
      236,
      106,
      2,
      77,
      1,
      "INT"
    ],
    [
      237,
      104,
      0,
      124,
      0,
      "*"
    ],
    [
      238,
      125,
      0,
      71,
      1,
      "IMAGE"
    ],
    [
      239,
      38,
      0,
      126,
      0,
      "*"
    ],
    [
      241,
      128,
      0,
      111,
      0,
      "WANVAE"
    ],
    [
      242,
      129,
      0,
      107,
      0,
      "WANVAE"
    ],
    [
      243,
      88,
      0,
      111,
      1,
      "WANVIDIMAGE_CLIPEMBEDS"
    ],
    [
      244,
      77,
      0,
      111,
      2,
      "IMAGE"
    ],
    [
      245,
      133,
      0,
      101,
      0,
      "WANVAE"
    ],
    [
      249,
      101,
      0,
      139,
      0,
      "IMAGE"
    ],
    [
      250,
      139,
      0,
      140,
      0,
      "IMAGE"
    ],
    [
      251,
      104,
      3,
      141,
      0,
      "VHS_VIDEOINFO"
    ],
    [
      261,
      142,
      0,
      146,
      0,
      "IMAGE"
    ],
    [
      288,
      154,
      0,
      146,
      1,
      "IMAGE"
    ],
    [
      292,
      146,
      0,
      159,
      0,
      "*"
    ],
    [
      294,
      161,
      0,
      159,
      1,
      "IMAGE"
    ],
    [
      296,
      162,
      0,
      159,
      2,
      "IMAGE"
    ],
    [
      298,
      171,
      0,
      167,
      0,
      "CLIP"
    ],
    [
      299,
      164,
      0,
      173,
      0,
      "MODEL"
    ],
    [
      300,
      177,
      0,
      173,
      1,
      "CONDITIONING"
    ],
    [
      301,
      167,
      0,
      173,
      2,
      "CONDITIONING"
    ],
    [
      302,
      165,
      0,
      173,
      3,
      "LATENT"
    ],
    [
      303,
      175,
      0,
      173,
      4,
      "ControlNetCondition"
    ],
    [
      304,
      168,
      0,
      173,
      5,
      "INT"
    ],
    [
      306,
      169,
      0,
      175,
      0,
      "FluxControlNet"
    ],
    [
      307,
      174,
      0,
      175,
      1,
      "IMAGE"
    ],
    [
      308,
      174,
      0,
      176,
      0,
      "IMAGE"
    ],
    [
      309,
      171,
      0,
      177,
      0,
      "CLIP"
    ],
    [
      310,
      170,
      0,
      177,
      1,
      "STRING"
    ],
    [
      311,
      170,
      0,
      177,
      2,
      "STRING"
    ],
    [
      312,
      173,
      0,
      178,
      0,
      "LATENT"
    ],
    [
      313,
      163,
      0,
      178,
      1,
      "VAE"
    ],
    [
      314,
      178,
      0,
      179,
      0,
      "IMAGE"
    ],
    [
      316,
      180,
      0,
      165,
      0,
      "INT"
    ],
    [
      317,
      180,
      1,
      165,
      1,
      "INT"
    ],
    [
      319,
      181,
      0,
      180,
      0,
      "IMAGE"
    ],
    [
      320,
      181,
      0,
      174,
      0,
      "IMAGE"
    ],
    [
      321,
      181,
      0,
      183,
      0,
      "IMAGE"
    ],
    [
      331,
      104,
      2,
      198,
      0,
      "*"
    ],
    [
      333,
      141,
      0,
      199,
      0,
      "*"
    ],
    [
      334,
      104,
      0,
      200,
      0,
      "*"
    ],
    [
      335,
      201,
      0,
      161,
      0,
      "IMAGE"
    ],
    [
      336,
      201,
      0,
      162,
      0,
      "IMAGE"
    ],
    [
      337,
      201,
      0,
      142,
      0,
      "IMAGE"
    ],
    [
      338,
      201,
      0,
      154,
      0,
      "IMAGE"
    ],
    [
      339,
      202,
      0,
      181,
      0,
      "IMAGE"
    ],
    [
      341,
      204,
      0,
      140,
      4,
      "FLOAT,INT"
    ],
    [
      342,
      205,
      0,
      140,
      1,
      "AUDIO"
    ],
    [
      343,
      104,
      1,
      207,
      0,
      "*"
    ],
    [
      344,
      206,
      0,
      111,
      7,
      "INT"
    ],
    [
      345,
      159,
      0,
      208,
      0,
      "*"
    ],
    [
      346,
      209,
      0,
      106,
      0,
      "IMAGE"
    ],
    [
      348,
      210,
      0,
      187,
      0,
      "IMAGE"
    ],
    [
      349,
      101,
      0,
      211,
      0,
      "IMAGE"
    ],
    [
      350,
      211,
      0,
      185,
      0,
      "IMAGE"
    ],
    [
      358,
      225,
      0,
      230,
      0,
      "*"
    ],
    [
      359,
      226,
      0,
      231,
      0,
      "*"
    ],
    [
      360,
      232,
      0,
      106,
      4,
      "INT"
    ],
    [
      361,
      233,
      0,
      106,
      5,
      "INT"
    ]
  ],
  "groups": [
    {
      "id": 2,
      "title": "Scribble",
      "bounding": [
        -619.2680053710938,
        2148.658447265625,
        189.77940368652344,
        80
      ],
      "color": "#a1309b",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Depth",
      "bounding": [
        -609.2680053710938,
        2058.659423828125,
        179.60000610351562,
        80
      ],
      "color": "#a1309b",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 4,
      "title": "Depth+OpenPose",
      "bounding": [
        -619.2680053710938,
        1878.65966796875,
        212.27000427246094,
        154.25001525878906
      ],
      "color": "#a1309b",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 6,
      "title": "Stage 1 - Image2Image",
      "bounding": [
        -1509.759765625,
        -2174.48291015625,
        2549.7705078125,
        808.3651123046875
      ],
      "color": "#8A8",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 9,
      "title": "Stage 2 - Vid2Vid + Style Transfer",
      "bounding": [
        -1508.0606689453125,
        -1292.3438720703125,
        2854.02294921875,
        1334.6002197265625
      ],
      "color": "#8A8",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.37190082644628614,
      "offset": [
        3116.137267788965,
        2083.294083781387
      ]
    },
    "node_versions": {
      "ComfyUI-WanVideoWrapper": "9100eecccf8437e3a0e4be5fc7004c809db18ee6",
      "comfyui-kjnodes": "1.0.5",
      "comfyui-videohelpersuite": "1.5.1",
      "comfyui_controlnet_aux": "1.0.5",
      "comfy-core": "0.3.26",
      "comfyui_essentials": "1.1.0"
    },
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": [],
    "workspace_info": {
      "id": "IojRCFVZCZiWWnzUnkZZA"
    }
  },
  "version": 0.4
}