{
  "id": "e7533930-2792-43a9-b4b5-ded4617d8a43",
  "revision": 0,
  "last_node_id": 81,
  "last_link_id": 150,
  "nodes": [
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        1170,
        500
      ],
      "size": [
        280,
        262
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 135
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 115
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 116
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 117
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            35
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        887940314022885,
        "randomize",
        20,
        6,
        "uni_pc",
        "simple",
        1
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        420,
        70
      ],
      "size": [
        420,
        140
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 74
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            112
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        "a women sticking out her toungue while mkaing wierd faces,(clay style:1.1)"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        420,
        260
      ],
      "size": [
        420,
        130
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 75
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            113
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走，不合理的动作"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 37,
      "type": "UNETLoader",
      "pos": [
        30,
        70
      ],
      "size": [
        346.7470703125,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            146
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "models": [
          {
            "name": "wan2.1_fun_control_1.3B_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_fun_control_1.3B_bf16.safetensors?download=true",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "wan2.1_fun_control_1.3B_bf16.safetensors",
        "default"
      ]
    },
    {
      "id": 38,
      "type": "CLIPLoader",
      "pos": [
        30,
        190
      ],
      "size": [
        350,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            74,
            75
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "models": [
          {
            "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "id": 39,
      "type": "VAELoader",
      "pos": [
        30,
        330
      ],
      "size": [
        350,
        60
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            76,
            114
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "models": [
          {
            "name": "wan_2.1_vae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "wan_2.1_vae.safetensors"
      ]
    },
    {
      "id": 49,
      "type": "CLIPVisionLoader",
      "pos": [
        30,
        500
      ],
      "size": [
        340,
        60
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "slot_index": 0,
          "links": [
            94
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.64",
        "models": [
          {
            "name": "clip_vision_h.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true",
            "directory": "clip_vision"
          }
        ]
      },
      "widgets_values": [
        "clip_vision_h.safetensors"
      ]
    },
    {
      "id": 51,
      "type": "CLIPVisionEncode",
      "pos": [
        440,
        660
      ],
      "size": [
        253.60000610351562,
        78
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 94
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 109
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "slot_index": 0,
          "links": [
            119
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 55,
      "type": "WanFunControlToVideo",
      "pos": [
        880,
        500
      ],
      "size": [
        250,
        230
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 112
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 113
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 114
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 119
        },
        {
          "name": "start_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 118
        },
        {
          "name": "control_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 142
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            115
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            116
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            117
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanFunControlToVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        960,
        544,
        77,
        1
      ]
    },
    {
      "id": 65,
      "type": "SkipLayerGuidanceDiT",
      "pos": [
        890,
        80
      ],
      "size": [
        230,
        180
      ],
      "flags": {
        "collapsed": false
      },
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 146
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            132
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SkipLayerGuidanceDiT",
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "9,10",
        "9,10",
        3,
        0.01,
        0.8000000000000002,
        0
      ]
    },
    {
      "id": 66,
      "type": "CFGZeroStar",
      "pos": [
        890,
        310
      ],
      "size": [
        230,
        30
      ],
      "flags": {
        "collapsed": false
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 131
        }
      ],
      "outputs": [
        {
          "name": "patched_model",
          "type": "MODEL",
          "links": [
            135
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CFGZeroStar",
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 67,
      "type": "ModelSamplingSD3",
      "pos": [
        1200,
        80
      ],
      "size": [
        240,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 132
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            133
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingSD3",
        "cnr_id": "comfy-core",
        "ver": "0.3.26",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        5.000000000000001
      ]
    },
    {
      "id": 68,
      "type": "UNetTemporalAttentionMultiply",
      "pos": [
        1200,
        190
      ],
      "size": [
        243.60000610351562,
        150
      ],
      "flags": {
        "collapsed": false
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 133
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            131
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNetTemporalAttentionMultiply",
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        1,
        1,
        1.2,
        1.3
      ]
    },
    {
      "id": 71,
      "type": "Canny",
      "pos": [
        390,
        1040
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 150
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            142,
            143
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Canny",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        0.20000000000000004,
        0.5000000000000001
      ]
    },
    {
      "id": 74,
      "type": "PreviewImage",
      "pos": [
        390,
        1170
      ],
      "size": [
        360,
        258
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 143
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        900,
        800
      ],
      "size": [
        210,
        266
      ],
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 35
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 76
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            147
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": []
    },
    {
      "id": 79,
      "type": "CreateVideo",
      "pos": [
        1180,
        800
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 147
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            148
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        16
      ]
    },
    {
      "id": 78,
      "type": "SaveVideo",
      "pos": [
        880,
        950
      ],
      "size": [
        590,
        490
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 148
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    },
    {
      "id": 77,
      "type": "MarkdownNote",
      "pos": [
        -400,
        30
      ],
      "size": [
        400,
        440
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "[Tutorial](https://docs.comfy.org/tutorials/video/wan/fun-control)\n\n\n## Model links\n\n**text_encoders**\n\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?download=true)\n\n**clip_vision**\n\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true)\n\n**diffusion_models**\n\n- [wan2.1_fun_control_1.3B_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_fun_control_1.3B_bf16.safetensors?download=true)\n\n**vae**\n\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 text_encoders/\n│   │      └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│   ├── 📂 clip_vision/\n│   │      └── clip_vision_h.safetensors\n│   ├── 📂 diffusion_models/\n│   │      └── wan2.1_fun_control_1.3B_bf16.safetensors\n│   └── 📂 vae/\n│          └── wan_2.1_vae.safetensors\n```\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 52,
      "type": "LoadImage",
      "pos": [
        30,
        600
      ],
      "size": [
        340,
        326
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            109,
            118
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "slot_index": 1,
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.64"
      },
      "widgets_values": [
        "wan2.1_fun_control_start_frame.png",
        "image"
      ]
    },
    {
      "id": 80,
      "type": "LoadVideo",
      "pos": [
        40,
        1060
      ],
      "size": [
        274.080078125,
        228.2076923076923
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            149
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoadVideo"
      },
      "widgets_values": [
        "wan2.1_fun_control_control_video.mp4",
        "image"
      ]
    },
    {
      "id": 81,
      "type": "GetVideoComponents",
      "pos": [
        120,
        1350
      ],
      "size": [
        185.17734375,
        66
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 149
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            150
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents"
      }
    }
  ],
  "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,
      49,
      0,
      51,
      0,
      "CLIP_VISION"
    ],
    [
      109,
      52,
      0,
      51,
      1,
      "IMAGE"
    ],
    [
      112,
      6,
      0,
      55,
      0,
      "CONDITIONING"
    ],
    [
      113,
      7,
      0,
      55,
      1,
      "CONDITIONING"
    ],
    [
      114,
      39,
      0,
      55,
      2,
      "VAE"
    ],
    [
      115,
      55,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      116,
      55,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      117,
      55,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      118,
      52,
      0,
      55,
      4,
      "IMAGE"
    ],
    [
      119,
      51,
      0,
      55,
      3,
      "CLIP_VISION_OUTPUT"
    ],
    [
      131,
      68,
      0,
      66,
      0,
      "MODEL"
    ],
    [
      132,
      65,
      0,
      67,
      0,
      "MODEL"
    ],
    [
      133,
      67,
      0,
      68,
      0,
      "MODEL"
    ],
    [
      135,
      66,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      142,
      71,
      0,
      55,
      5,
      "IMAGE"
    ],
    [
      143,
      71,
      0,
      74,
      0,
      "IMAGE"
    ],
    [
      146,
      37,
      0,
      65,
      0,
      "MODEL"
    ],
    [
      147,
      8,
      0,
      79,
      0,
      "IMAGE"
    ],
    [
      148,
      79,
      0,
      78,
      0,
      "VIDEO"
    ],
    [
      149,
      80,
      0,
      81,
      0,
      "VIDEO"
    ],
    [
      150,
      81,
      0,
      71,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Load Models",
      "bounding": [
        20,
        0,
        370,
        410
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 2,
      "title": "Start Frame & CLIP Vision",
      "bounding": [
        20,
        430,
        830,
        510
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 5,
      "title": "Attention Booster",
      "bounding": [
        870,
        0,
        600,
        410
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 6,
      "title": "Prompt",
      "bounding": [
        410,
        0,
        440,
        410
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 7,
      "title": "Video and Preprocessor",
      "bounding": [
        20,
        960,
        830,
        480
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 8,
      "title": "Sampling & Decode",
      "bounding": [
        870,
        430,
        600,
        470
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6472322799849616,
      "offset": [
        638.0969652391791,
        -348.1091678973465
      ]
    },
    "frontendVersion": "1.29.2",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
