{
  "id": "7e15abcf-0250-4f61-90f1-09666cc893ab",
  "revision": 0,
  "last_node_id": 69,
  "last_link_id": 70,
  "nodes": [
    {
      "id": 15,
      "type": "VHS_LoadVideo",
      "pos": [
        -553.7956236686408,
        -158.28696361305776
      ],
      "size": [
        380.22120666503906,
        594.1659049987793
      ],
      "flags": {},
      "order": 0,
      "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": [
            65
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": [
            59
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "10fps.mp4",
        "force_rate": 0,
        "custom_width": 800,
        "custom_height": 600,
        "frame_load_cap": 81,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "Wan",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "10fps.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 0,
            "custom_width": 800,
            "custom_height": 600,
            "frame_load_cap": 81,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      }
    },
    {
      "id": 29,
      "type": "VAELoader",
      "pos": [
        761.1725065023858,
        281.5735945001165
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            57
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "Wan2.1_VAE.pth"
      ]
    },
    {
      "id": 47,
      "type": "WanVideoVAELoader",
      "pos": [
        756.3146018062115,
        -703.9527517175799
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "links": [
            55
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoVAELoader"
      },
      "widgets_values": [
        "Wan2.1_VAE.pth",
        "fp32",
        false,
        false
      ]
    },
    {
      "id": 40,
      "type": "WanVideoModelLoader",
      "pos": [
        324.4203830477281,
        -680.4542006172534
      ],
      "size": [
        278.5636405944824,
        318
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS",
          "link": null
        },
        {
          "name": "block_swap_args",
          "shape": 7,
          "type": "BLOCKSWAPARGS",
          "link": null
        },
        {
          "name": "lora",
          "shape": 7,
          "type": "WANVIDLORA",
          "link": 66
        },
        {
          "name": "vram_management_args",
          "shape": 7,
          "type": "VRAM_MANAGEMENTARGS",
          "link": null
        },
        {
          "name": "extra_model",
          "shape": 7,
          "type": "VACEPATH",
          "link": 67
        },
        {
          "name": "fantasytalking_model",
          "shape": 7,
          "type": "FANTASYTALKINGMODEL",
          "link": null
        },
        {
          "name": "multitalk_model",
          "shape": 7,
          "type": "MULTITALKMODEL",
          "link": null
        },
        {
          "name": "fantasyportrait_model",
          "shape": 7,
          "type": "FANTASYPORTRAITMODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "links": [
            42
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoModelLoader"
      },
      "widgets_values": [
        "wan21t2v13b.safetensors",
        "fp32",
        "disabled",
        "offload_device",
        "sdpa",
        "default"
      ]
    },
    {
      "id": 46,
      "type": "WanVideoEmptyEmbeds",
      "pos": [
        297.65777584795944,
        -290.58848521214685
      ],
      "size": [
        281.03636932373047,
        126
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "control_embeds",
          "shape": 7,
          "type": "WANVIDIMAGE_EMBEDS",
          "link": null
        },
        {
          "name": "extra_latents",
          "shape": 7,
          "type": "LATENT",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 61
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 62
        },
        {
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          },
          "link": 59
        }
      ],
      "outputs": [
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "links": [
            53
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoEmptyEmbeds"
      },
      "widgets_values": [
        800,
        600,
        21
      ]
    },
    {
      "id": 43,
      "type": "WanVideoEncode",
      "pos": [
        313.2692115657331,
        -94.15510171757849
      ],
      "size": [
        273.7272720336914,
        242
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 52
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 60
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            51
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoEncode"
      },
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        0,
        1
      ]
    },
    {
      "id": 50,
      "type": "ImageResizeKJv2",
      "pos": [
        -75.6269533634655,
        -424.67562797490467
      ],
      "size": [
        270,
        336
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 65
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            60
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            61
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            62
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        832,
        480,
        "nearest-exact",
        "stretch",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 27,
      "type": "WanVideoVAELoader",
      "pos": [
        -97.75981265044462,
        -11.501580893559916
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "links": [
            52
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoVAELoader"
      },
      "widgets_values": [
        "Wan2.1_VAE.pth",
        "fp32",
        false,
        false
      ]
    },
    {
      "id": 26,
      "type": "LoadWanVideoT5TextEncoder",
      "pos": [
        -145.75125511780277,
        199.64560672083326
      ],
      "size": [
        330.0636352539062,
        130
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "wan_t5_model",
          "type": "WANTEXTENCODER",
          "links": [
            21
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoadWanVideoT5TextEncoder"
      },
      "widgets_values": [
        "models_t5_umt5-xxl-enc-bf16.pth",
        "fp32",
        "offload_device",
        "disabled"
      ]
    },
    {
      "id": 58,
      "type": "WanVideoVACEModelSelect",
      "pos": [
        -119.13428581172877,
        -533.4159590903434
      ],
      "size": [
        306.2636322021484,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "extra_model",
          "type": "VACEPATH",
          "links": [
            67
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoVACEModelSelect"
      },
      "widgets_values": [
        "WAN21VACE13B.safetensors"
      ]
    },
    {
      "id": 45,
      "type": "WanVideoDecode",
      "pos": [
        1111.7251936336045,
        -440.04862110844755
      ],
      "size": [
        270,
        198
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 55
        },
        {
          "name": "samples",
          "type": "LATENT",
          "link": 54
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            56
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoDecode"
      },
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        "default"
      ]
    },
    {
      "id": 48,
      "type": "VHS_VideoCombine",
      "pos": [
        1125.018326305724,
        -181.57961899968456
      ],
      "size": [
        515.4551464843753,
        537.8395075871396
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "LATENT",
          "link": 56
        },
        {
          "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": 57
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 10,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "format": "image/gif",
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "AnimateDiff_00135.gif",
            "subfolder": "",
            "type": "output",
            "format": "image/gif",
            "frame_rate": 10,
            "workflow": "AnimateDiff_00135.png",
            "fullpath": "/home/konrad/ComfyUI/output/AnimateDiff_00135.gif"
          }
        }
      }
    },
    {
      "id": 56,
      "type": "WanVideoLoraSelect",
      "pos": [
        -522.4124810074079,
        -644.9252656655982
      ],
      "size": [
        377.3673604125976,
        150
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "prev_lora",
          "shape": 7,
          "type": "WANVIDLORA",
          "link": null
        },
        {
          "name": "blocks",
          "shape": 7,
          "type": "SELECTEDBLOCKS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "lora",
          "type": "WANVIDLORA",
          "links": [
            66
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoLoraSelect"
      },
      "widgets_values": [
        "wan2.1-1.3b-control-lora-depth-v0.1_comfy.safetensors",
        0.6,
        false,
        true
      ]
    },
    {
      "id": 41,
      "type": "WanVideoSampler",
      "pos": [
        724.8934116622308,
        -508.08078304317195
      ],
      "size": [
        340.5090866088867,
        690
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "link": 42
        },
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "link": 53
        },
        {
          "name": "text_embeds",
          "shape": 7,
          "type": "WANVIDEOTEXTEMBEDS",
          "link": 44
        },
        {
          "name": "samples",
          "shape": 7,
          "type": "LATENT",
          "link": 51
        },
        {
          "name": "feta_args",
          "shape": 7,
          "type": "FETAARGS",
          "link": null
        },
        {
          "name": "context_options",
          "shape": 7,
          "type": "WANVIDCONTEXT",
          "link": null
        },
        {
          "name": "cache_args",
          "shape": 7,
          "type": "CACHEARGS",
          "link": null
        },
        {
          "name": "flowedit_args",
          "shape": 7,
          "type": "FLOWEDITARGS",
          "link": null
        },
        {
          "name": "slg_args",
          "shape": 7,
          "type": "SLGARGS",
          "link": null
        },
        {
          "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
        },
        {
          "name": "unianimate_poses",
          "shape": 7,
          "type": "UNIANIMATE_POSE",
          "link": null
        },
        {
          "name": "fantasytalking_embeds",
          "shape": 7,
          "type": "FANTASYTALKING_EMBEDS",
          "link": null
        },
        {
          "name": "uni3c_embeds",
          "shape": 7,
          "type": "UNI3C_EMBEDS",
          "link": null
        },
        {
          "name": "multitalk_embeds",
          "shape": 7,
          "type": "MULTITALK_EMBEDS",
          "link": null
        },
        {
          "name": "freeinit_args",
          "shape": 7,
          "type": "FREEINITARGS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            54
          ]
        },
        {
          "name": "denoised_samples",
          "type": "LATENT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoSampler"
      },
      "widgets_values": [
        20,
        4,
        4,
        497896108192723,
        "fixed",
        true,
        "unipc",
        0,
        0.7,
        false,
        "comfy",
        0,
        -1,
        false
      ]
    },
    {
      "id": 21,
      "type": "WanVideoTextEncode",
      "pos": [
        231.59091986388646,
        196.1185837472014
      ],
      "size": [
        449.9124999999999,
        464.7066912841798
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "t5",
          "shape": 7,
          "type": "WANTEXTENCODER",
          "link": 21
        },
        {
          "name": "model_to_offload",
          "shape": 7,
          "type": "WANVIDEOMODEL",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "text_embeds",
          "type": "WANVIDEOTEXTEMBEDS",
          "links": [
            44
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanVideoTextEncode"
      },
      "widgets_values": [
        "photorealistic sandstone canyon,\namerican southwest,\nnatural rock erosion,\ncinematic drone footage,\nrealistic lighting,\nhighly detailed geology,\nultra realistic,\nblue sky with clouds,\nred rocks",
        "cartoon,\ncgi,\n3d render,\nfractal,\nmandelbulb,\nlow quality,\npainting,\nillustration,\nanime,\nsnow,\nbushes,\ntrees,\nwater,\nbirds",
        true,
        false,
        "gpu"
      ]
    }
  ],
  "links": [
    [
      21,
      26,
      0,
      21,
      0,
      "WANTEXTENCODER"
    ],
    [
      42,
      40,
      0,
      41,
      0,
      "WANVIDEOMODEL"
    ],
    [
      44,
      21,
      0,
      41,
      2,
      "WANVIDEOTEXTEMBEDS"
    ],
    [
      51,
      43,
      0,
      41,
      3,
      "LATENT"
    ],
    [
      52,
      27,
      0,
      43,
      0,
      "WANVAE"
    ],
    [
      53,
      46,
      0,
      41,
      1,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      54,
      41,
      0,
      45,
      1,
      "LATENT"
    ],
    [
      55,
      47,
      0,
      45,
      0,
      "WANVAE"
    ],
    [
      56,
      45,
      0,
      48,
      0,
      "IMAGE"
    ],
    [
      57,
      29,
      0,
      48,
      3,
      "VAE"
    ],
    [
      59,
      15,
      1,
      46,
      4,
      "INT"
    ],
    [
      60,
      50,
      0,
      43,
      1,
      "IMAGE"
    ],
    [
      61,
      50,
      1,
      46,
      2,
      "INT"
    ],
    [
      62,
      50,
      2,
      46,
      3,
      "INT"
    ],
    [
      65,
      15,
      0,
      50,
      0,
      "IMAGE"
    ],
    [
      66,
      56,
      0,
      40,
      2,
      "WANVIDLORA"
    ],
    [
      67,
      58,
      0,
      40,
      4,
      "VACEPATH"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.7513148009015781,
      "offset": [
        573.1904701584671,
        927.1988991300559
      ]
    },
    "frontendVersion": "1.45.15",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}