{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1785.2201030986105,
        1120.9730653376325
      ],
      "scale": 0.32437877153107464
    },
    "frontendVersion": "1.27.10"
  },
  "groups": [
    {
      "bounding": [
        -50,
        -20,
        400,
        470
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "Step1 - Load models"
    },
    {
      "bounding": [
        370,
        -20,
        448.27801513671875,
        473.2060852050781
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Step3 - Prompt"
    },
    {
      "bounding": [
        -50,
        469,
        400,
        470
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Step 2 - Start_image"
    },
    {
      "bounding": [
        370,
        469,
        760,
        470
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 6,
      "title": "Step 3 - Control video and video preprocessing"
    }
  ],
  "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
  "last_link_id": 129,
  "last_node_id": 73,
  "links": [
    [
      35,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      74,
      38,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      75,
      38,
      0,
      7,
      0,
      "CLIP"
    ],
    [
      76,
      39,
      0,
      8,
      1,
      "VAE"
    ],
    [
      94,
      37,
      0,
      48,
      0,
      "MODEL"
    ],
    [
      95,
      48,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      107,
      8,
      0,
      57,
      0,
      "IMAGE"
    ],
    [
      108,
      57,
      0,
      58,
      0,
      "VIDEO"
    ],
    [
      109,
      39,
      0,
      60,
      2,
      "VAE"
    ],
    [
      111,
      6,
      0,
      60,
      0,
      "CONDITIONING"
    ],
    [
      112,
      7,
      0,
      60,
      1,
      "CONDITIONING"
    ],
    [
      113,
      60,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      114,
      60,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      115,
      60,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      121,
      66,
      0,
      67,
      0,
      "VIDEO"
    ],
    [
      122,
      67,
      0,
      68,
      0,
      "IMAGE"
    ],
    [
      123,
      68,
      0,
      69,
      0,
      "IMAGE"
    ],
    [
      127,
      68,
      0,
      60,
      4,
      "IMAGE"
    ],
    [
      129,
      70,
      0,
      60,
      3,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 38,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            74,
            75
          ],
          "name": "CLIP",
          "slot_index": 0,
          "type": "CLIP"
        }
      ],
      "pos": [
        -30,
        190
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "text_encoders",
            "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors"
          }
        ],
        "ver": "0.3.45"
      },
      "size": [
        350,
        110
      ],
      "type": "CLIPLoader",
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 48,
      "inputs": [
        {
          "link": 94,
          "name": "model",
          "type": "MODEL"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            95
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        850,
        20
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingSD3",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        210,
        58
      ],
      "type": "ModelSamplingSD3",
      "widgets_values": [
        8
      ]
    },
    {
      "flags": {},
      "id": 39,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            76,
            109
          ],
          "name": "VAE",
          "slot_index": 0,
          "type": "VAE"
        }
      ],
      "pos": [
        -30,
        350
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "vae",
            "name": "wan2.2_vae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan2.2_vae.safetensors"
          }
        ],
        "ver": "0.3.45"
      },
      "size": [
        350,
        60
      ],
      "type": "VAELoader",
      "widgets_values": [
        "wan2.2_vae.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 37,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            94
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        -30,
        50
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "wan2.2_fun_control_5B_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_fun_control_5B_bf16.safetensors"
          }
        ],
        "ver": "0.3.45"
      },
      "size": [
        346.7470703125,
        82
      ],
      "type": "UNETLoader",
      "widgets_values": [
        "wan2.2_fun_control_5B_bf16.safetensors",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 68,
      "inputs": [
        {
          "link": 122,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 11,
      "outputs": [
        {
          "links": [
            123,
            127
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        720,
        540
      ],
      "properties": {
        "Node name for S&R": "Canny",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "widget_ue_connectable": {}
        },
        "ver": "0.3.49"
      },
      "size": [
        360,
        82
      ],
      "type": "Canny",
      "widgets_values": [
        0.1,
        0.6
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 67,
      "inputs": [
        {
          "link": 121,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            122
          ],
          "name": "images",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": null,
          "name": "fps",
          "type": "FLOAT"
        }
      ],
      "pos": [
        400,
        540
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "widget_ue_connectable": {}
        },
        "ver": "0.3.49"
      },
      "size": [
        185.17733764648438,
        66
      ],
      "type": "GetVideoComponents",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 69,
      "inputs": [
        {
          "link": 123,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 12,
      "outputs": [],
      "pos": [
        720,
        670
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "widget_ue_connectable": {}
        },
        "ver": "0.3.49"
      },
      "size": [
        360,
        258
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 95,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 113,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 114,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 115,
          "name": "latent_image",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            35
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        1160,
        20
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        315,
        474
      ],
      "type": "KSampler",
      "widgets_values": [
        436961904444694,
        "randomize",
        20,
        5,
        "uni_pc",
        "simple",
        1
      ]
    },
    {
      "flags": {},
      "id": 57,
      "inputs": [
        {
          "link": 107,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": [
            108
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        1160,
        640
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        270,
        78
      ],
      "type": "CreateVideo",
      "widgets_values": [
        24
      ]
    },
    {
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 35,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 76,
          "name": "vae",
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            107
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        1160,
        550
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        210,
        46
      ],
      "type": "VAEDecode",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 58,
      "inputs": [
        {
          "link": 108,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [],
      "pos": [
        1500,
        20
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        660,
        758
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    },
    {
      "flags": {},
      "id": 60,
      "inputs": [
        {
          "link": 111,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 112,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 109,
          "name": "vae",
          "type": "VAE"
        },
        {
          "link": 129,
          "name": "ref_image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 127,
          "name": "control_video",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            113
          ],
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "links": [
            114
          ],
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "links": [
            115
          ],
          "name": "latent",
          "type": "LATENT"
        }
      ],
      "pos": [
        850,
        130
      ],
      "properties": {
        "Node name for S&R": "Wan22FunControlToVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.56"
      },
      "size": [
        270,
        210
      ],
      "type": "Wan22FunControlToVideo",
      "widgets_values": [
        704,
        704,
        121,
        1
      ]
    },
    {
      "flags": {},
      "id": 66,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            121
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        390,
        580
      ],
      "properties": {
        "Node name for S&R": "LoadVideo",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "widget_ue_connectable": {}
        },
        "ver": "0.3.49"
      },
      "size": [
        274.080078125,
        348.080078125
      ],
      "type": "LoadVideo",
      "widgets_values": [
        "video_wan2_2_5B_fun_control_control_video.mp4",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": 75,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            112
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        380,
        260
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
      ]
    },
    {
      "flags": {},
      "id": 70,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            129
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "slot_index": 1,
          "type": "MASK"
        }
      ],
      "pos": [
        -20,
        559
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "widget_ue_connectable": {}
        },
        "ver": "0.3.49"
      },
      "size": [
        340,
        340
      ],
      "type": "LoadImage",
      "widgets_values": [
        "video_wan2_2_5B_fun_control_start_image.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": 74,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            111
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        380,
        50
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.45"
      },
      "size": [
        422.84503173828125,
        164.31304931640625
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "In a post-apocalyptic world, a character in tattered hooded clothing runs quickly. Long hair and the edge of the hood flutter greatly with the wind, and the clothes flutter as they run. The background consists of abandoned machinery and barren ground, presenting an overall tense and powerful dynamic feeling.\n"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 59,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        -550,
        180
      ],
      "properties": {},
      "size": [
        480,
        340
      ],
      "title": "Model Links",
      "type": "MarkdownNote",
      "widgets_values": [
        "[Tutorial](https://docs.comfy.org/tutorials/video/wan/wan2_2\n) \n\n**Diffusion Model**\n- [wan2.2_fun_control_5B_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_fun_control_5B_bf16.safetensors)\n\n**VAE**\n- [wan2.2_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan2.2_vae.safetensors)\n\n**Text Encoder**   \n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors)\n\n\nFile save location\n\n```\nComfyUI/\n├───📂 models/\n│   ├───📂 diffusion_models/\n│   │   └───wan2.2_fun_control_5B_bf16.safetensors)\n│   ├───📂 text_encoders/\n│   │   └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors \n│   └───📂 vae/\n│       └── wan2.2_vae.safetensors\n```\n"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 73,
      "inputs": [],
      "mode": 0,
      "order": 6,
      "outputs": [],
      "pos": [
        -540,
        10
      ],
      "properties": {},
      "size": [
        460,
        120
      ],
      "title": "Note: About Wan2.2 fun control 5B",
      "type": "MarkdownNote",
      "widgets_values": [
        "Since this model only has 5B parameters, the result most of the time will not be very good.\n\nWan2.2-Fun-5B-Control is a multi-language video generation model trained with 121 frames at 24 FPS, supporting various control conditions like Canny, Depth, Pose, and trajectory control for image-to-video tasks."
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}