{
  "id": "e7533930-2792-43a9-b4b5-ded4617d8a43",
  "revision": 0,
  "last_node_id": 95,
  "last_link_id": 194,
  "nodes": [
    {
      "id": 78,
      "type": "CLIPLoader",
      "pos": [
        -215.86962890625,
        221.633056640625
      ],
      "size": [
        315,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            158,
            159
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "id": 82,
      "type": "CLIPVisionLoader",
      "pos": [
        -214.37681579589844,
        802.0208740234375
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            160
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "CLIPVisionLoader"
      },
      "widgets_values": [
        "clip_vision_h.safetensors"
      ]
    },
    {
      "id": 91,
      "type": "SaveAnimatedWEBP",
      "pos": [
        1582.737060546875,
        225.09579467773438
      ],
      "size": [
        315,
        154
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 173
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35"
      },
      "widgets_values": [
        "ComfyUI",
        16.000000000000004,
        true,
        90,
        "default"
      ]
    },
    {
      "id": 79,
      "type": "VAELoader",
      "pos": [
        -217.65696716308594,
        40.719032287597656
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            175,
            188
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "wan_2.1_vae.safetensors"
      ]
    },
    {
      "id": 92,
      "type": "LoadImage",
      "pos": [
        -216.61483764648438,
        1013.5338134765625
      ],
      "size": [
        315,
        314
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            177,
            190
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example.png",
        "image"
      ]
    },
    {
      "id": 93,
      "type": "LoadImage",
      "pos": [
        165.63511657714844,
        1015.7379760742188
      ],
      "size": [
        315,
        314.00006103515625
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            191
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example.png",
        "image"
      ]
    },
    {
      "id": 83,
      "type": "CLIPVisionEncode",
      "pos": [
        159.26913452148438,
        803.0270385742188
      ],
      "size": [
        380.4000244140625,
        78
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 160
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 177
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            189
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "CLIPVisionEncode"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 85,
      "type": "KSampler",
      "pos": [
        948.8986206054688,
        223.47193908691406
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 167
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 192
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 193
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 194
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            172
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        0,
        "randomize",
        20,
        6,
        "uni_pc",
        "simple",
        1
      ]
    },
    {
      "id": 77,
      "type": "UNETLoader",
      "pos": [
        -218.67138671875,
        -154.75784301757812
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            183
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "Wan2.1-Fun-1.3B-Control.safetensors",
        "default"
      ]
    },
    {
      "id": 90,
      "type": "VAEDecode",
      "pos": [
        1318.06201171875,
        223.40499877929688
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 172
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 175
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            173,
            184
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 94,
      "type": "SaveWEBM",
      "pos": [
        1584.2618408203125,
        497.94464111328125
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 15,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 184
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35"
      },
      "widgets_values": [
        "ComfyUI",
        "vp9",
        24,
        32
      ]
    },
    {
      "id": 88,
      "type": "ModelSamplingSD3",
      "pos": [
        161.9676513671875,
        -152.50299072265625
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 183
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            185
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "ModelSamplingSD3"
      },
      "widgets_values": [
        8.000000000000002
      ]
    },
    {
      "id": 86,
      "type": "CFGZeroStar",
      "pos": [
        505.693359375,
        -151.35328674316406
      ],
      "size": [
        241.79998779296875,
        26
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 185
        }
      ],
      "outputs": [
        {
          "name": "patched_model",
          "type": "MODEL",
          "links": [
            167
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "CFGZeroStar"
      },
      "widgets_values": []
    },
    {
      "id": 80,
      "type": "CLIPTextEncode",
      "pos": [
        159.0424041748047,
        223.59324645996094
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 158
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            186
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 81,
      "type": "CLIPTextEncode",
      "pos": [
        159.0424041748047,
        480.50872802734375
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 159
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            187
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 95,
      "type": "WanFunControlToVideo",
      "pos": [
        618.1731567382812,
        223.52627563476562
      ],
      "size": [
        270,
        230
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 186
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 187
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 188
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 189
        },
        {
          "name": "start_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 190
        },
        {
          "name": "control_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 191
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            192
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            193
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            194
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.35",
        "Node name for S&R": "WanFunControlToVideo"
      },
      "widgets_values": [
        512,
        512,
        49,
        1
      ]
    }
  ],
  "links": [
    [
      158,
      78,
      0,
      80,
      0,
      "CLIP"
    ],
    [
      159,
      78,
      0,
      81,
      0,
      "CLIP"
    ],
    [
      160,
      82,
      0,
      83,
      0,
      "CLIP_VISION"
    ],
    [
      167,
      86,
      0,
      85,
      0,
      "MODEL"
    ],
    [
      172,
      85,
      0,
      90,
      0,
      "LATENT"
    ],
    [
      173,
      90,
      0,
      91,
      0,
      "IMAGE"
    ],
    [
      175,
      79,
      0,
      90,
      1,
      "VAE"
    ],
    [
      177,
      92,
      0,
      83,
      1,
      "IMAGE"
    ],
    [
      183,
      77,
      0,
      88,
      0,
      "MODEL"
    ],
    [
      184,
      90,
      0,
      94,
      0,
      "IMAGE"
    ],
    [
      185,
      88,
      0,
      86,
      0,
      "MODEL"
    ],
    [
      186,
      80,
      0,
      95,
      0,
      "CONDITIONING"
    ],
    [
      187,
      81,
      0,
      95,
      1,
      "CONDITIONING"
    ],
    [
      188,
      79,
      0,
      95,
      2,
      "VAE"
    ],
    [
      189,
      83,
      0,
      95,
      3,
      "CLIP_VISION_OUTPUT"
    ],
    [
      190,
      92,
      0,
      95,
      4,
      "IMAGE"
    ],
    [
      191,
      93,
      0,
      95,
      5,
      "IMAGE"
    ],
    [
      192,
      95,
      0,
      85,
      1,
      "CONDITIONING"
    ],
    [
      193,
      95,
      1,
      85,
      2,
      "CONDITIONING"
    ],
    [
      194,
      95,
      2,
      85,
      3,
      "LATENT"
    ]
  ],
  "groups": [
    {
      "id": 9,
      "title": "VAE",
      "bounding": [
        -227.65696716308594,
        -32.88125991821289,
        335,
        141.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 10,
      "title": "CLIP",
      "bounding": [
        -225.86964416503906,
        148.03306579589844,
        335,
        189.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 11,
      "title": "Model",
      "bounding": [
        -228.67138671875,
        -228.35801696777344,
        335,
        165.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 12,
      "title": "Prompt",
      "bounding": [
        149.04234313964844,
        149.9927978515625,
        420,
        540.5155029296875
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 13,
      "title": "CLIP Vision",
      "bounding": [
        -224.37681579589844,
        728.4210205078125,
        335,
        141.59999084472656
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 15,
      "title": "Sampler",
      "bounding": [
        938.8983764648438,
        149.8717041015625,
        334.9998779296875,
        345.6000061035156
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 16,
      "title": "Sampling",
      "bounding": [
        151.9676513671875,
        -226.10299682617188,
        605.5256958007812,
        141.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 17,
      "title": "Decode",
      "bounding": [
        1308.06201171875,
        149.8047637939453,
        230,
        129.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 18,
      "title": "Save WebP",
      "bounding": [
        1572.7371826171875,
        151.495361328125,
        335,
        237.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 19,
      "title": "Encode",
      "bounding": [
        149.2691650390625,
        729.4271850585938,
        400.4000244140625,
        161.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 20,
      "title": "Start Image",
      "bounding": [
        -226.61483764648438,
        939.9337768554688,
        335,
        397.6000061035156
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 21,
      "title": "Control Image",
      "bounding": [
        155.635009765625,
        942.1370849609375,
        335,
        397.6000061035156
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 22,
      "title": "Save WebM",
      "bounding": [
        1574.2618408203125,
        424.3446044921875,
        290,
        213.60000610351562
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 23,
      "title": "Wan Fun Control",
      "bounding": [
        608.1731567382812,
        149.92652893066406,
        290,
        313.6000061035156
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.769606430934179,
      "offset": [
        825.7142146986761,
        31.53228846191879
      ]
    },
    "frontendVersion": "1.19.9",
    "node_versions": {
      "comfy-core": "0.3.29"
    },
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}