{
  "id": "def001fc-0a65-4811-af85-67e6b21f21ab",
  "revision": 0,
  "last_node_id": 20,
  "last_link_id": 27,
  "nodes": [
    {
      "id": 1,
      "type": "DiffusionModelLoaderKJ",
      "pos": [
        -128.00450134277344,
        -663.3114013671875
      ],
      "size": [
        307.33331298828125,
        178
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.2",
        "Node name for S&R": "DiffusionModelLoaderKJ"
      },
      "widgets_values": [
        "wanVideo_wan21I2v480p14BFp8.safetensors",
        "fp8_e5m2",
        "bf16",
        false,
        "auto",
        true
      ]
    },
    {
      "id": 3,
      "type": "CLIPLoader",
      "pos": [
        -95.34754943847656,
        -434.99908447265625
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "id": 6,
      "type": "CLIPVisionLoader",
      "pos": [
        -100.3611068725586,
        -173.49171447753906
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            9
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "CLIPVisionLoader"
      },
      "widgets_values": [
        "wanVideo_clipVisionH.safetensors"
      ]
    },
    {
      "id": 5,
      "type": "VAELoader",
      "pos": [
        -97.84359741210938,
        -280.0514831542969
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            7,
            18
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "Wan2_1_VAE_fp32.safetensors"
      ]
    },
    {
      "id": 14,
      "type": "VAEDecodeTiled",
      "pos": [
        1725.4200439453125,
        -657.6255493164062
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 17
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            19
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "VAEDecodeTiled"
      },
      "widgets_values": [
        128,
        64,
        64,
        8
      ]
    },
    {
      "id": 15,
      "type": "VHS_VideoCombine",
      "pos": [
        2045.0863037109375,
        -655.2265625
      ],
      "size": [
        214.76666259765625,
        597.890625
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 19
        },
        {
          "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": "1.6.1",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "WAN",
        "format": "video/h265-mp4",
        "pix_fmt": "yuv420p",
        "crf": 13,
        "save_metadata": true,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "WAN_00008.mp4",
            "subfolder": "",
            "type": "output",
            "format": "video/h265-mp4",
            "frame_rate": 16,
            "workflow": "WAN_00008.png",
            "fullpath": "/home/wvs/ComfyUI/output/WAN_00008.mp4"
          }
        }
      }
    },
    {
      "id": 9,
      "type": "CLIPTextEncode",
      "pos": [
        604.3035888671875,
        -406.1836242675781
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 4
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
      ]
    },
    {
      "id": 10,
      "type": "CLIPVisionEncode",
      "pos": [
        251.20291137695312,
        -284.4765930175781
      ],
      "size": [
        290.33331298828125,
        78
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 9
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 27
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            8
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "CLIPVisionEncode"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 16,
      "type": "ModelSamplingSD3",
      "pos": [
        1074.4415283203125,
        -397.8442077636719
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            21
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "ModelSamplingSD3"
      },
      "widgets_values": [
        9.000000000000002
      ]
    },
    {
      "id": 17,
      "type": "Note",
      "pos": [
        596.6900024414062,
        -915.5048828125
      ],
      "size": [
        421.5028076171875,
        202.13583374023438
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Prompt goes here"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 2,
      "type": "Power Lora Loader (rgthree)",
      "pos": [
        227.7924346923828,
        -663.8323974609375
      ],
      "size": [
        324.7749938964844,
        262
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "model",
          "type": "MODEL",
          "link": 1
        },
        {
          "dir": 3,
          "name": "clip",
          "type": "CLIP",
          "link": 2
        }
      ],
      "outputs": [
        {
          "dir": 4,
          "name": "MODEL",
          "shape": 3,
          "type": "MODEL",
          "links": [
            20
          ]
        },
        {
          "dir": 4,
          "name": "CLIP",
          "shape": 3,
          "type": "CLIP",
          "links": [
            3,
            4
          ]
        }
      ],
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "1.0.2506081210",
        "Show Strengths": "Single Strength"
      },
      "widgets_values": [
        {},
        {
          "type": "PowerLoraLoaderHeaderWidget"
        },
        {
          "on": true,
          "lora": "Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors",
          "strength": 1,
          "strengthTwo": null
        },
        {
          "on": true,
          "lora": "usual_lora_booster.safetensors",
          "strength": 1,
          "strengthTwo": null
        },
        {
          "on": true,
          "lora": "Wan14B_RealismBoost.safetensors",
          "strength": 0.5,
          "strengthTwo": null
        },
        {
          "on": true,
          "lora": "DetailEnhancerV1.safetensors",
          "strength": 0.5,
          "strengthTwo": null
        },
        {
          "on": false,
          "lora": "usual_lora-v3.safetensors",
          "strength": 1,
          "strengthTwo": null
        },
        {
          "on": true,
          "lora": "Wan2.1-Fun-14B-InP-MPS.safetensors",
          "strength": 0.5,
          "strengthTwo": null
        },
        {},
        ""
      ]
    },
    {
      "id": 13,
      "type": "KSamplerAdvanced",
      "pos": [
        1404.06201171875,
        -658.4647216796875
      ],
      "size": [
        304.66668701171875,
        748.3125
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 21
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 13
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 14
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "KSamplerAdvanced"
      },
      "widgets_values": [
        "enable",
        627027375712176,
        "randomize",
        6,
        1,
        "res_multistep",
        "simple",
        0,
        10000,
        "disable",
        ""
      ]
    },
    {
      "id": 7,
      "type": "WanImageToVideo",
      "pos": [
        1069.2811279296875,
        -661.122802734375
      ],
      "size": [
        270,
        210
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 5
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 6
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 7
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 8
        },
        {
          "name": "start_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 12
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 24
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 25
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            13
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            14
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            15
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "WanImageToVideo"
      },
      "widgets_values": [
        512,
        512,
        65,
        1
      ]
    },
    {
      "id": 12,
      "type": "ImageResizeKJv2",
      "pos": [
        606.1222534179688,
        -139.09056091308594
      ],
      "size": [
        270,
        266
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 26
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            12
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            24
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            25
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.2",
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        512,
        720,
        "nearest-exact",
        "crop",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 11,
      "type": "LoadImage",
      "pos": [
        -99.52206420898438,
        -56.02414321899414
      ],
      "size": [
        274,
        314
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "Image00007 (1).jpg",
        "image"
      ]
    },
    {
      "id": 20,
      "type": "VHS_LoadVideo",
      "pos": [
        240.4124755859375,
        -59.25422668457031
      ],
      "size": [
        247.4499969482422,
        643.6323852539062
      ],
      "flags": {},
      "order": 6,
      "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": [
            26,
            27
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.6.1",
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "WAN_00008.mp4",
        "force_rate": 0,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 0,
        "skip_first_frames": 63,
        "select_every_nth": 1,
        "format": "Wan",
        "choose video to upload": "image",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "force_rate": 0,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 0,
            "skip_first_frames": 63,
            "select_every_nth": 1,
            "filename": "WAN_00008.mp4",
            "type": "input",
            "format": "video/mp4"
          }
        }
      }
    },
    {
      "id": 8,
      "type": "CLIPTextEncode",
      "pos": [
        605.9816284179688,
        -660.8319091796875
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            5
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Prompt goes here"
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "MODEL"
    ],
    [
      2,
      3,
      0,
      2,
      1,
      "CLIP"
    ],
    [
      3,
      2,
      1,
      8,
      0,
      "CLIP"
    ],
    [
      4,
      2,
      1,
      9,
      0,
      "CLIP"
    ],
    [
      5,
      8,
      0,
      7,
      0,
      "CONDITIONING"
    ],
    [
      6,
      9,
      0,
      7,
      1,
      "CONDITIONING"
    ],
    [
      7,
      5,
      0,
      7,
      2,
      "VAE"
    ],
    [
      8,
      10,
      0,
      7,
      3,
      "CLIP_VISION_OUTPUT"
    ],
    [
      9,
      6,
      0,
      10,
      0,
      "CLIP_VISION"
    ],
    [
      12,
      12,
      0,
      7,
      4,
      "IMAGE"
    ],
    [
      13,
      7,
      0,
      13,
      1,
      "CONDITIONING"
    ],
    [
      14,
      7,
      1,
      13,
      2,
      "CONDITIONING"
    ],
    [
      15,
      7,
      2,
      13,
      3,
      "LATENT"
    ],
    [
      17,
      13,
      0,
      14,
      0,
      "LATENT"
    ],
    [
      18,
      5,
      0,
      14,
      1,
      "VAE"
    ],
    [
      19,
      14,
      0,
      15,
      0,
      "IMAGE"
    ],
    [
      20,
      2,
      0,
      16,
      0,
      "MODEL"
    ],
    [
      21,
      16,
      0,
      13,
      0,
      "MODEL"
    ],
    [
      24,
      12,
      1,
      7,
      5,
      "INT"
    ],
    [
      25,
      12,
      2,
      7,
      6,
      "INT"
    ],
    [
      26,
      20,
      0,
      12,
      0,
      "IMAGE"
    ],
    [
      27,
      20,
      0,
      10,
      1,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.895430243255317,
      "offset": [
        407.40654994921607,
        1069.844681410292
      ]
    },
    "frontendVersion": "1.21.7",
    "VHS_latentpreview": true,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}