{
  "385:355": {
    "inputs": {
      "context_schedule": "uniform_standard",
      "context_frames": 81,
      "context_stride": 4,
      "context_overlap": 48,
      "freenoise": true,
      "verbose": false,
      "fuse_method": "linear"
    },
    "class_type": "WanVideoContextOptions",
    "_meta": {
      "title": "WanVideo Context Options"
    }
  },
  "385:365": {
    "inputs": {
      "vitpose_model": [
        "385:364",
        0
      ],
      "images": [
        "385:107",
        0
      ]
    },
    "class_type": "PoseDetectionVitPoseToDWPose",
    "_meta": {
      "title": "Pose Detection VitPose to DWPose"
    }
  },
  "385:334": {
    "inputs": {
      "per_batch": -1,
      "model": [
        "385:384",
        0
      ],
      "images": [
        "385:131",
        0
      ]
    },
    "class_type": "NLFPredict",
    "_meta": {
      "title": "NLF Predict"
    }
  },
  "385:384": {
    "inputs": {
      "nlf_model": "nlf_l_multi_0.3.2.torchscript",
      "warmup": true
    },
    "class_type": "LoadNLFModel",
    "_meta": {
      "title": "Load NLF Model"
    }
  },
  "385:35": {
    "inputs": {
      "backend": "inductor",
      "fullgraph": false,
      "mode": "default",
      "dynamic": false,
      "dynamo_cache_size_limit": 64,
      "compile_transformer_blocks_only": true,
      "dynamo_recompile_limit": 128,
      "force_parameter_static_shapes": false,
      "allow_unmerged_lora_compile": false
    },
    "class_type": "WanVideoTorchCompileSettings",
    "_meta": {
      "title": "WanVideo Torch Compile Settings"
    }
  },
  "385:22": {
    "inputs": {
      "model": "Wan21-14B-SCAIL-preview_comfy_bf16.safetensors",
      "base_precision": "fp16_fast",
      "quantization": "disabled",
      "load_device": "offload_device",
      "attention_mode": "sdpa",
      "rms_norm_function": "default"
    },
    "class_type": "WanVideoModelLoader",
    "_meta": {
      "title": "WanVideo Model Loader"
    }
  },
  "385:56": {
    "inputs": {
      "lora": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
      "strength": 1,
      "low_mem_load": false,
      "merge_loras": false
    },
    "class_type": "WanVideoLoraSelect",
    "_meta": {
      "title": "WanVideo Lora Select"
    }
  },
  "385:38": {
    "inputs": {
      "model_name": "wan_2.1_vae.safetensors",
      "precision": "bf16",
      "use_cpu_cache": false,
      "verbose": false
    },
    "class_type": "WanVideoVAELoader",
    "_meta": {
      "title": "WanVideo VAE Loader"
    }
  },
  "385:349": {
    "inputs": {
      "scheduler": "dpm++_sde",
      "steps": 6,
      "shift": 7,
      "start_step": 0,
      "end_step": -1,
      "enhance_hf": false
    },
    "class_type": "WanVideoSchedulerv2",
    "_meta": {
      "title": "WanVideo Scheduler v2"
    }
  },
  "385:368": {
    "inputs": {
      "model_name": "umt5_xxl_fp16.safetensors",
      "precision": "bf16",
      "positive_prompt": "a pirate is dancing in the alley",
      "negative_prompt": "\u8272\u8c03\u8273\u4e3d\uff0c\u8fc7\u66dd\uff0c\u9759\u6001\uff0c\u7ec6\u8282\u6a21\u7cca\u4e0d\u6e05\uff0c\u5b57\u5e55\uff0c\u98ce\u683c\uff0c\u4f5c\u54c1\uff0c\u753b\u4f5c\uff0c\u753b\u9762\uff0c\u9759\u6b62\uff0c\u6574\u4f53\u53d1\u7070\uff0c\u6700\u5dee\u8d28\u91cf\uff0c\u4f4e\u8d28\u91cf\uff0cJPEG\u538b\u7f29\u6b8b\u7559\uff0c\u4e11\u964b\u7684\uff0c\u6b8b\u7f3a\u7684\uff0c\u591a\u4f59\u7684\u624b\u6307\uff0c\u753b\u5f97\u4e0d\u597d\u7684\u624b\u90e8\uff0c\u753b\u5f97\u4e0d\u597d\u7684\u8138\u90e8\uff0c\u7578\u5f62\u7684\uff0c\u6bc1\u5bb9\u7684\uff0c\u5f62\u6001\u7578\u5f62\u7684\u80a2\u4f53\uff0c\u624b\u6307\u878d\u5408\uff0c\u9759\u6b62\u4e0d\u52a8\u7684\u753b\u9762\uff0c\u6742\u4e71\u7684\u80cc\u666f\uff0c\u4e09\u6761\u817f\uff0c\u80cc\u666f\u4eba\u5f88\u591a\uff0c\u5012\u7740\u8d70",
      "quantization": "disabled",
      "use_disk_cache": false,
      "device": "gpu"
    },
    "class_type": "WanVideoTextEncodeCached",
    "_meta": {
      "title": "WanVideo TextEncode Cached"
    }
  },
  "385:354": {
    "inputs": {
      "riflex_freq_index": 0,
      "rope_function": "comfy",
      "context_options": [
        "385:355",
        0
      ]
    },
    "class_type": "WanVideoSamplerExtraArgs",
    "_meta": {
      "title": "WanVideoSampler v2 Extra Args"
    }
  },
  "385:324": {
    "inputs": {
      "strength": 1,
      "start_percent": 0,
      "end_percent": 0.5,
      "embeds": [
        "385:350",
        0
      ],
      "vae": [
        "385:38",
        0
      ],
      "pose_images": [
        "385:362",
        0
      ]
    },
    "class_type": "WanVideoAddSCAILPoseEmbeds",
    "_meta": {
      "title": "WanVideo Add SCAIL Pose Embeds"
    }
  },
  "385:326": {
    "inputs": {
      "clip_name": "clip_vision_h.safetensors"
    },
    "class_type": "CLIPVisionLoader",
    "_meta": {
      "title": "Load CLIP Vision"
    }
  },
  "385:382": {
    "inputs": {
      "value": "a / 2",
      "a": 480,
      "b": 0.0
    },
    "class_type": "SimpleMath+",
    "_meta": {
      "title": "\ud83d\udd27 Simple Math"
    }
  },
  "385:383": {
    "inputs": {
      "value": "a / 2",
      "a": 832,
      "b": 0.0
    },
    "class_type": "SimpleMath+",
    "_meta": {
      "title": "\ud83d\udd27 Simple Math"
    }
  },
  "385:350": {
    "inputs": {
      "strength": 1,
      "start_percent": 0,
      "end_percent": 1,
      "embeds": [
        "385:99",
        0
      ],
      "vae": [
        "385:38",
        0
      ],
      "ref_image": [
        "385:107",
        0
      ],
      "clip_embeds": [
        "385:327",
        0
      ]
    },
    "class_type": "WanVideoAddSCAILReferenceEmbeds",
    "_meta": {
      "title": "WanVideo Add SCAIL Reference Embeds"
    }
  },
  "385:99": {
    "inputs": {
      "num_frames": 77,
      "width": [
        "385:107",
        1
      ],
      "height": [
        "385:107",
        2
      ]
    },
    "class_type": "WanVideoEmptyEmbeds",
    "_meta": {
      "title": "WanVideo Empty Embeds"
    }
  },
  "385:28": {
    "inputs": {
      "enable_vae_tiling": false,
      "tile_x": 272,
      "tile_y": 272,
      "tile_stride_x": 144,
      "tile_stride_y": 128,
      "normalization": "default",
      "vae": [
        "385:38",
        0
      ],
      "samples": [
        "385:348",
        0
      ]
    },
    "class_type": "WanVideoDecode",
    "_meta": {
      "title": "WanVideo Decode"
    }
  },
  "385:348": {
    "inputs": {
      "cfg": 1,
      "seed": 42,
      "force_offload": true,
      "add_noise_to_samples": false,
      "model": [
        "385:80",
        0
      ],
      "image_embeds": [
        "385:324",
        0
      ],
      "scheduler": [
        "385:349",
        0
      ],
      "text_embeds": [
        "385:368",
        0
      ],
      "extra_args": [
        "385:354",
        0
      ]
    },
    "class_type": "WanVideoSamplerv2",
    "_meta": {
      "title": "WanVideo Sampler v2"
    }
  },
  "385:80": {
    "inputs": {
      "model": [
        "385:22",
        0
      ],
      "lora": [
        "385:56",
        0
      ]
    },
    "class_type": "WanVideoSetLoRAs",
    "_meta": {
      "title": "WanVideo Set LoRAs"
    }
  },
  "385:327": {
    "inputs": {
      "strength_1": 1,
      "strength_2": 1,
      "crop": "center",
      "combine_embeds": "average",
      "force_offload": true,
      "tiles": 0,
      "ratio": 0.5,
      "clip_vision": [
        "385:326",
        0
      ],
      "image_1": [
        "385:107",
        0
      ]
    },
    "class_type": "WanVideoClipVisionEncode",
    "_meta": {
      "title": "WanVideo ClipVision Encode"
    }
  },
  "385:131": {
    "inputs": {
      "width": 480,
      "height": 832,
      "upscale_method": "lanczos",
      "keep_proportion": "crop",
      "pad_color": "0, 0, 0",
      "crop_position": "center",
      "divisible_by": 32,
      "device": "cpu",
      "image": [
        "385:406",
        0
      ]
    },
    "class_type": "ImageResizeKJv2",
    "_meta": {
      "title": "Resize Image v2"
    }
  },
  "385:364": {
    "inputs": {
      "vitpose_model": "vitpose-l-wholebody.onnx",
      "yolo_model": "yolov10m.onnx",
      "onnx_device": "CUDAExecutionProvider"
    },
    "class_type": "OnnxDetectionModelLoader",
    "_meta": {
      "title": "ONNX Detection Model Loader"
    }
  },
  "385:363": {
    "inputs": {
      "vitpose_model": [
        "385:364",
        0
      ],
      "images": [
        "385:131",
        0
      ]
    },
    "class_type": "PoseDetectionVitPoseToDWPose",
    "_meta": {
      "title": "Pose Detection VitPose to DWPose"
    }
  },
  "385:362": {
    "inputs": {
      "draw_face": true,
      "draw_hands": true,
      "render_device": "gpu",
      "scale_hands": true,
      "render_backend": "taichi",
      "nlf_poses": [
        "385:334",
        0
      ],
      "width": [
        "385:382",
        0
      ],
      "height": [
        "385:383",
        0
      ],
      "dw_poses": [
        "385:363",
        0
      ],
      "ref_dw_pose": [
        "385:365",
        0
      ]
    },
    "class_type": "RenderNLFPoses",
    "_meta": {
      "title": "Render NLF Poses"
    }
  },
  "385:395": {
    "inputs": {
      "fps": 24,
      "bit_depth": "auto",
      "color_space": "sRGB",
      "codec": "none",
      "images": [
        "385:28",
        0
      ],
      "audio": [
        "385:405",
        1
      ]
    },
    "class_type": "CreateVideo",
    "_meta": {
      "title": "Create Video"
    }
  },
  "385:107": {
    "inputs": {
      "width": 480,
      "height": 832,
      "upscale_method": "lanczos",
      "keep_proportion": "crop",
      "pad_color": "255,255,255",
      "crop_position": "center",
      "divisible_by": 32,
      "device": "cpu",
      "image": [
        "390",
        0
      ]
    },
    "class_type": "ImageResizeKJv2",
    "_meta": {
      "title": "Resize Image v2"
    }
  },
  "385:405": {
    "inputs": {
      "video": [
        "408",
        0
      ]
    },
    "class_type": "GetVideoComponents",
    "_meta": {
      "title": "Get Video Components"
    }
  },
  "385:406": {
    "inputs": {
      "batch_index": 0,
      "length": 77,
      "image": [
        "385:405",
        0
      ]
    },
    "class_type": "ImageFromBatch",
    "_meta": {
      "title": "Get Image from Batch"
    }
  },
  "408": {
    "inputs": {
      "file": "wan21_scail-input.mp4"
    },
    "class_type": "LoadVideo",
    "_meta": {
      "title": "Load Video"
    }
  },
  "390": {
    "inputs": {
      "image": "pirates_dancing.png"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "Load Image: Reference"
    }
  },
  "399": {
    "inputs": {
      "filename_prefix": "video/ComfyUI",
      "format": "auto",
      "video": [
        "385:395",
        0
      ],
      "format.codec": "auto"
    },
    "class_type": "SaveVideo",
    "_meta": {
      "title": "Save Video"
    }
  }
}