{
 "58": {
  "inputs": {
   "samples": [
    "3",
    0
   ],
   "trim_amount": [
    "49",
    3
   ]
  },
  "class_type": "TrimVideoLatent",
  "_meta": {
   "title": "Trim Video Latent"
  }
 },
 "8": {
  "inputs": {
   "samples": [
    "58",
    0
   ],
   "vae": [
    "39",
    0
   ]
  },
  "class_type": "VAEDecode",
  "_meta": {
   "title": "VAE Decode"
  }
 },
 "48": {
  "inputs": {
   "shift": 5,
   "model": [
    "154",
    0
   ]
  },
  "class_type": "ModelSamplingSD3",
  "_meta": {
   "title": "ModelSamplingSD3"
  }
 },
 "219": {
  "inputs": {
   "mask": [
    "215",
    1
   ]
  },
  "class_type": "InvertMask",
  "_meta": {
   "title": "Invert Mask"
  }
 },
 "216": {
  "inputs": {
   "mask": [
    "219",
    0
   ]
  },
  "class_type": "MaskToImage",
  "_meta": {
   "title": "Convert Mask to Image"
  }
 },
 "213": {
  "inputs": {
   "images": [
    "210",
    0
   ],
   "batch_size": [
    "211",
    2
   ]
  },
  "class_type": "RebatchImages",
  "_meta": {
   "title": "Rebatch Images"
  }
 },
 "49": {
  "inputs": {
   "width": 720,
   "height": 720,
   "length": 81,
   "batch_size": 1,
   "strength": 1,
   "positive": [
    "6",
    0
   ],
   "negative": [
    "7",
    0
   ],
   "vae": [
    "39",
    0
   ],
   "control_video": [
    "208",
    0
   ],
   "control_masks": [
    "130",
    0
   ],
   "reference_image": [
    "162",
    0
   ]
  },
  "class_type": "WanVaceToVideo",
  "_meta": {
   "title": "WanVaceToVideo"
  }
 },
 "69": {
  "inputs": {
   "filename_prefix": "video/ComfyUI",
   "format": "auto",
   "video": [
    "68",
    0
   ],
   "format.codec": "auto"
  },
  "class_type": "SaveVideo",
  "_meta": {
   "title": "Save Video"
  }
 },
 "68": {
  "inputs": {
   "bit_depth": "auto",
   "color_space": "sRGB",
   "codec": "none",
   "images": [
    "8",
    0
   ],
   "fps": [
    "210",
    2
   ]
  },
  "class_type": "CreateVideo",
  "_meta": {
   "title": "Create Video"
  }
 },
 "208": {
  "inputs": {
   "x": 0,
   "y": 0,
   "resize_source": true,
   "destination": [
    "213",
    0
   ],
   "source": [
    "216",
    0
   ],
   "mask": [
    "215",
    1
   ]
  },
  "class_type": "ImageCompositeMasked",
  "_meta": {
   "title": "Image Composite Masked"
  }
 },
 "214": {
  "inputs": {
   "images": [
    "208",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "211": {
  "inputs": {
   "image": [
    "210",
    0
   ]
  },
  "class_type": "GetImageSize",
  "_meta": {
   "title": "Get Image Size"
  }
 },
 "111": {
  "inputs": {
   "mask": [
    "215",
    1
   ]
  },
  "class_type": "MaskToImage",
  "_meta": {
   "title": "Convert Mask to Image"
  }
 },
 "129": {
  "inputs": {
   "image": [
    "111",
    0
   ],
   "amount": [
    "211",
    2
   ]
  },
  "class_type": "RepeatImageBatch",
  "_meta": {
   "title": "Repeat Image Batch"
  }
 },
 "130": {
  "inputs": {
   "channel": "red",
   "image": [
    "129",
    0
   ]
  },
  "class_type": "ImageToMask",
  "_meta": {
   "title": "Convert Image to Mask"
  }
 },
 "3": {
  "inputs": {
   "seed": 584027519362099,
   "steps": 4,
   "cfg": 1,
   "sampler_name": "uni_pc",
   "scheduler": "simple",
   "denoise": 1,
   "model": [
    "48",
    0
   ],
   "positive": [
    "49",
    0
   ],
   "negative": [
    "49",
    1
   ],
   "latent_image": [
    "49",
    2
   ]
  },
  "class_type": "KSampler",
  "_meta": {
   "title": "KSampler"
  }
 },
 "6": {
  "inputs": {
   "text": "A little boy and a dog are hiking in the forest. The puppy runs around the boy cheerfully.\n",
   "clip": [
    "38",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Positive Prompt)"
  }
 },
 "210": {
  "inputs": {
   "video": [
    "209",
    0
   ]
  },
  "class_type": "GetVideoComponents",
  "_meta": {
   "title": "Get Video Components"
  }
 },
 "140": {
  "inputs": {
   "unet_name": "wan2.1_vace_14B_fp16.safetensors",
   "weight_dtype": "fp8_e4m3fn_fast"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "154": {
  "inputs": {
   "lora_name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
   "strength_model": 0.30000000000000004,
   "model": [
    "140",
    0
   ]
  },
  "class_type": "LoraLoaderModelOnly",
  "_meta": {
   "title": "Load LoRA"
  }
 },
 "38": {
  "inputs": {
   "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
   "type": "wan",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load CLIP"
  }
 },
 "39": {
  "inputs": {
   "vae_name": "wan_2.1_vae.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "209": {
  "inputs": {
   "file": "video_wan_vace_inpainting_input_video.mp4"
  },
  "class_type": "LoadVideo",
  "_meta": {
   "title": "Load Video"
  }
 },
 "215": {
  "inputs": {
   "image": "video_wan_vace_inpainting_1st_frame_and_mask.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "162": {
  "inputs": {
   "image": "api_bfl_flux_1_kontext_multiple_images_input_dog.jpg"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "7": {
  "inputs": {
   "text": "\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,\u8fc7\u66dd\uff0c",
   "clip": [
    "38",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Negative Prompt)"
  }
 }
}