{ "id": "206247b6-9fec-4ed2-8927-e4f388c674d4", "revision": 0, "last_node_id": 151, "last_link_id": 267, "nodes": [ { "id": 36, "type": "Note", "pos": [ 160, -1010 ], "size": [ 374.3061828613281, 171.9547576904297 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "fp8_fast seems to cause huge quality degradation\n\nfp_16_fast enables \"Full FP16 Accmumulation in FP16 GEMMs\" feature available in the very latest pytorch nightly, this is around 20% speed boost. \n\nSageattn if you have it installed can be used for almost double inference speed" ], "color": "#432", "bgcolor": "#653" }, { "id": 33, "type": "Note", "pos": [ 170, -1150 ], "size": [ 359.0753479003906, 88 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Models:\nhttps://huggingface.co/Kijai/WanVideo_comfy/tree/main" ], "color": "#432", "bgcolor": "#653" }, { "id": 70, "type": "WanVideoSetBlockSwap", "pos": [ 823.8463134765625, -766.5842895507812 ], "size": [ 201.76815795898438, 46 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "model", "type": "WANVIDEOMODEL", "link": 90 }, { "name": "block_swap_args", "shape": 7, "type": "BLOCKSWAPARGS", "link": 92 } ], "outputs": [ { "name": "model", "type": "WANVIDEOMODEL", "links": [ 107 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652", "Node name for S&R": "WanVideoSetBlockSwap" }, "widgets_values": [], "color": "#223", "bgcolor": "#335" }, { "id": 35, "type": "WanVideoTorchCompileSettings", "pos": [ -276.8500671386719, -1050.6326904296875 ], "size": [ 390.5999755859375, 202 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "torch_compile_args", "type": "WANCOMPILEARGS", "slot_index": 0, "links": [ 211 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoTorchCompileSettings" }, "widgets_values": [ "inductor", false, "default", false, 64, true, 128 ], "color": "#223", "bgcolor": "#335" }, { "id": 39, "type": "WanVideoBlockSwap", "pos": [ 709.6087646484375, -658.9224853515625 ], "size": [ 315, 202 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "block_swap_args", "type": "BLOCKSWAPARGS", "slot_index": 0, "links": [ 92 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoBlockSwap" }, "widgets_values": [ 15, false, false, true, 0, 1, false ], "color": "#223", "bgcolor": "#335" }, { "id": 42, "type": "Note", "pos": [ 684.2587890625, -1059.630615234375 ], "size": [ 325.1150207519531, 196.76773071289062 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Adjust the blocks to swap based on your VRAM, this is a tradeoff between speed and memory usage.\n\nAlternatively there's option to use VRAM management introduced in DiffSynt-Studios. This is usually slower, but saves even more VRAM compared to BlockSwap\n\nFurther VRAM savings are from torch.compile or alternatively using the chunked rope option in the WanVideoSampler -node" ], "color": "#432", "bgcolor": "#653" }, { "id": 79, "type": "WanVideoSetLoRAs", "pos": [ 1133.248291015625, -698.7440795898438 ], "size": [ 239.93698120117188, 46 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "model", "type": "WANVIDEOMODEL", "link": 107 }, { "name": "lora", "shape": 7, "type": "WANVIDLORA", "link": 210 } ], "outputs": [ { "name": "model", "type": "WANVIDEOMODEL", "links": [ 108 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "7c93aea182a0d7084bfbc18ae36f039ea3845e73", "Node name for S&R": "WanVideoSetLoRAs" }, "widgets_values": [], "color": "#223", "bgcolor": "#335" }, { "id": 71, "type": "WanVideoLoraSelect", "pos": [ 1039.67724609375, -1149.5599365234375 ], "size": [ 583.5029907226562, 176 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "prev_lora", "shape": 7, "type": "WANVIDLORA", "link": null }, { "name": "blocks", "shape": 7, "type": "SELECTEDBLOCKS", "link": null } ], "outputs": [ { "name": "lora", "type": "WANVIDLORA", "links": [ 210 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6b9565ed6307168c45770ec08517d7df65b61e3f", "Node name for S&R": "WanVideoLoraSelect" }, "widgets_values": [ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors", 1, false, false ], "color": "#223", "bgcolor": "#335" }, { "id": 22, "type": "WanVideoModelLoader", "pos": [ 150, -780 ], "size": [ 535.5307006835938, 274 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "compile_args", "shape": 7, "type": "WANCOMPILEARGS", "link": 211 }, { "name": "block_swap_args", "shape": 7, "type": "BLOCKSWAPARGS", "link": null }, { "name": "lora", "shape": 7, "type": "WANVIDLORA", "link": 170 }, { "name": "vram_management_args", "shape": 7, "type": "VRAM_MANAGEMENTARGS", "link": null }, { "name": "vace_model", "shape": 7, "type": "VACEPATH", "link": null }, { "name": "fantasytalking_model", "shape": 7, "type": "FANTASYTALKINGMODEL", "link": null }, { "name": "multitalk_model", "shape": 7, "type": "MULTITALKMODEL", "link": null } ], "outputs": [ { "name": "model", "type": "WANVIDEOMODEL", "slot_index": 0, "links": [ 79, 90 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoModelLoader" }, "widgets_values": [ "Wan2_1-T2V-14B_fp8_e4m3fn.safetensors", "fp16_fast", "fp8_e4m3fn_scaled", "offload_device", "sdpa" ], "color": "#223", "bgcolor": "#335" }, { "id": 38, "type": "WanVideoVAELoader", "pos": [ 183.16864013671875, -261.20465087890625 ], "size": [ 372.7727966308594, 82 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "compile_args", "shape": 7, "type": "WANCOMPILEARGS", "link": null } ], "outputs": [ { "name": "vae", "type": "WANVAE", "slot_index": 0, "links": [ 43, 175, 234 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoVAELoader" }, "widgets_values": [ "Wan2.1_VAE.pth", "bf16" ], "color": "#322", "bgcolor": "#533" }, { "id": 102, "type": "WanVideoAddStandInLatent", "pos": [ 590.49267578125, -137.03831481933594 ], "size": [ 246.94578552246094, 57.857322692871094 ], "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "embeds", "type": "WANVIDIMAGE_EMBEDS", "link": 171 }, { "name": "ip_image_latent", "type": "LATENT", "link": 174 } ], "outputs": [ { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "links": [ 172 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "06863fe2d283e89ba2386260ad2700557dda1897", "Node name for S&R": "WanVideoAddStandInLatent" }, "widgets_values": [] }, { "id": 27, "type": "WanVideoSampler", "pos": [ 1464.0699462890625, -539.0021362304688 ], "size": [ 315, 873.39453125 ], "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "model", "type": "WANVIDEOMODEL", "link": 108 }, { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "link": 172 }, { "name": "text_embeds", "shape": 7, "type": "WANVIDEOTEXTEMBEDS", "link": 30 }, { "name": "samples", "shape": 7, "type": "LATENT", "link": 233 }, { "name": "feta_args", "shape": 7, "type": "FETAARGS", "link": null }, { "name": "context_options", "shape": 7, "type": "WANVIDCONTEXT", "link": null }, { "name": "cache_args", "shape": 7, "type": "CACHEARGS", "link": null }, { "name": "flowedit_args", "shape": 7, "type": "FLOWEDITARGS", "link": null }, { "name": "slg_args", "shape": 7, "type": "SLGARGS", "link": null }, { "name": "loop_args", "shape": 7, "type": "LOOPARGS", "link": null }, { "name": "experimental_args", "shape": 7, "type": "EXPERIMENTALARGS", "link": null }, { "name": "sigmas", "shape": 7, "type": "SIGMAS", "link": null }, { "name": "unianimate_poses", "shape": 7, "type": "UNIANIMATE_POSE", "link": null }, { "name": "fantasytalking_embeds", "shape": 7, "type": "FANTASYTALKING_EMBEDS", "link": null }, { "name": "uni3c_embeds", "shape": 7, "type": "UNI3C_EMBEDS", "link": null }, { "name": "multitalk_embeds", "shape": 7, "type": "MULTITALK_EMBEDS", "link": null }, { "name": "freeinit_args", "shape": 7, "type": "FREEINITARGS", "link": null }, { "name": "denoise_strength", "shape": 7, "type": "FLOAT", "widget": { "name": "denoise_strength" }, "link": 252 } ], "outputs": [ { "name": "samples", "type": "LATENT", "slot_index": 0, "links": [ 33 ] }, { "name": "denoised_samples", "type": "LATENT", "links": null } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoSampler" }, "widgets_values": [ 4, 1, 5, 44, "fixed", true, "dpm++_sde", 0, 0.5, "", "comfy", 0, -1, false ] }, { "id": 16, "type": "WanVideoTextEncode", "pos": [ 936.4089965820312, -35.84267807006836 ], "size": [ 475.7987976074219, 355.67169189453125 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "t5", "shape": 7, "type": "WANTEXTENCODER", "link": 15 }, { "name": "model_to_offload", "shape": 7, "type": "WANVIDEOMODEL", "link": 79 } ], "outputs": [ { "name": "text_embeds", "type": "WANVIDEOTEXTEMBEDS", "slot_index": 0, "links": [ 30 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoTextEncode" }, "widgets_values": [ "", "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走", true, false, "gpu" ], "color": "#332922", "bgcolor": "#593930" }, { "id": 104, "type": "WanVideoEncode", "pos": [ 223.0819549560547, -135.09690856933594 ], "size": [ 270, 242 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 175 }, { "name": "image", "type": "IMAGE", "link": 231 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "samples", "type": "LATENT", "links": [ 174 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "06863fe2d283e89ba2386260ad2700557dda1897", "Node name for S&R": "WanVideoEncode" }, "widgets_values": [ false, 272, 272, 144, 128, 0, 1 ] }, { "id": 69, "type": "WanVideoLoraSelect", "pos": [ -469.5297546386719, -761.3156127929688 ], "size": [ 583.5029907226562, 200 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "prev_lora", "shape": 7, "type": "WANVIDLORA", "link": null }, { "name": "blocks", "shape": 7, "type": "SELECTEDBLOCKS", "link": null } ], "outputs": [ { "name": "lora", "type": "WANVIDLORA", "links": [ 170 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6b9565ed6307168c45770ec08517d7df65b61e3f", "Node name for S&R": "WanVideoLoraSelect" }, "widgets_values": [ "Stand-In_wan2.1_T2V_14B_ver1.0.ckpt", 1, false, false ] }, { "id": 103, "type": "WanVideoEmptyEmbeds", "pos": [ 558.069580078125, -26.766714096069336 ], "size": [ 269.0695495605469, 126 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "control_embeds", "shape": 7, "type": "WANVIDIMAGE_EMBEDS", "link": null }, { "name": "extra_latents", "shape": 7, "type": "LATENT", "link": null }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 250 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 251 }, { "name": "num_frames", "type": "INT", "widget": { "name": "num_frames" }, "link": 246 } ], "outputs": [ { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "links": [ 171 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "06863fe2d283e89ba2386260ad2700557dda1897", "Node name for S&R": "WanVideoEmptyEmbeds" }, "widgets_values": [ 832, 480, 81 ] }, { "id": 11, "type": "LoadWanVideoT5TextEncoder", "pos": [ 128.90248107910156, -447.8236999511719 ], "size": [ 377.1661376953125, 130 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "wan_t5_model", "type": "WANTEXTENCODER", "slot_index": 0, "links": [ 15 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "LoadWanVideoT5TextEncoder" }, "widgets_values": [ "models_t5_umt5-xxl-enc-bf16.pth", "bf16", "offload_device", "disabled" ], "color": "#332922", "bgcolor": "#593930" }, { "id": 142, "type": "VHS_VideoInfo", "pos": [ -582.3883666992188, -435.1982727050781 ], "size": [ 225.59765625, 206 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "video_info", "type": "VHS_VIDEOINFO", "link": 249 } ], "outputs": [ { "name": "source_fps🟨", "type": "FLOAT", "links": null }, { "name": "source_frame_count🟨", "type": "INT", "links": null }, { "name": "source_duration🟨", "type": "FLOAT", "links": null }, { "name": "source_width🟨", "type": "INT", "links": [ 250 ] }, { "name": "source_height🟨", "type": "INT", "links": [ 251 ] }, { "name": "loaded_fps🟦", "type": "FLOAT", "links": null }, { "name": "loaded_frame_count🟦", "type": "INT", "links": null }, { "name": "loaded_duration🟦", "type": "FLOAT", "links": null }, { "name": "loaded_width🟦", "type": "INT", "links": null }, { "name": "loaded_height🟦", "type": "INT", "links": null } ], "properties": { "cnr_id": "comfyui-videohelpersuite", "ver": "1.7.4", "Node name for S&R": "VHS_VideoInfo" }, "widgets_values": {} }, { "id": 126, "type": "MarkdownNote", "pos": [ -286.70123291015625, -406.58197021484375 ], "size": [ 362.6117858886719, 143.0945281982422 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "LoRA link:\n\n[https://huggingface.co/BowenXue/Stand-In](https://huggingface.co/BowenXue/Stand-In)\n\nThis LoRA is not the traditional kind and it HAS TO connect to the model loader directly." ], "color": "#432", "bgcolor": "#653" }, { "id": 28, "type": "WanVideoDecode", "pos": [ 1446.94677734375, -808.8124389648438 ], "size": [ 315, 198 ], "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 43 }, { "name": "samples", "type": "LATENT", "link": 33 } ], "outputs": [ { "name": "images", "type": "IMAGE", "slot_index": 0, "links": [ 256 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", "Node name for S&R": "WanVideoDecode" }, "widgets_values": [ false, 272, 272, 144, 128, "default" ], "color": "#322", "bgcolor": "#533" }, { "id": 122, "type": "ImageConcatMulti", "pos": [ 1819.03466796875, -562.8757934570312 ], "size": [ 270, 150 ], "flags": {}, "order": 32, "mode": 0, "inputs": [ { "name": "image_1", "type": "IMAGE", "link": 258 }, { "name": "image_2", "type": "IMAGE", "link": 229 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 217 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "87d0cf42db7d59992daba4d58a83655b5b359f44" }, "widgets_values": [ 2, "left", true, null ] }, { "id": 134, "type": "WanVideoEncode", "pos": [ 112.84590911865234, 229.7924346923828 ], "size": [ 210, 242 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 234 }, { "name": "image", "type": "IMAGE", "link": 245 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "samples", "type": "LATENT", "links": [ 233 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "b08f10ffd8c5e6ee867b514616853aa1edb5610b", "Node name for S&R": "WanVideoEncode" }, "widgets_values": [ false, 272, 272, 144, 128, 0, 1 ] }, { "id": 129, "type": "MarkdownNote", "pos": [ 990, -420 ], "size": [ 310, 210 ], "flags": {}, "order": 10, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Prompt Writing Tip: If you do not wish to alter the subject's facial features, simply use \"a man\" or \"a woman\" without adding extra descriptions of their appearance. Prompts support both Chinese and English input. The prompt is intended for generating frontal, medium-to-close-up videos.\n\nInput Image Recommendation: For best results, use a high-resolution frontal face image. There are no restrictions on resolution or file extension, as our built-in preprocessing pipeline will handle them automatically.\n\n[https://github.com/WeChatCV/Stand-In](https://github.com/WeChatCV/Stand-In)" ], "color": "#322", "bgcolor": "#533" }, { "id": 58, "type": "LoadImage", "pos": [ -737.1319580078125, -174.04302978515625 ], "size": [ 413.10479736328125, 498.3180847167969 ], "flags": {}, "order": 11, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 226 ] }, { "name": "MASK", "type": "MASK", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoadImage" }, "widgets_values": [ "12.jpg", "image" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 143, "type": "MarkdownNote", "pos": [ -270.9808044433594, 546.54931640625 ], "size": [ 300, 240 ], "flags": {}, "order": 12, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "## **With a higher denoise strength, the face blends better with the background, but the background changes slightly more. With a lower denoise strength, the background changes less. You can adjust it according to your needs.**\n" ], "color": "#432", "bgcolor": "#653" }, { "id": 74, "type": "VHS_VideoCombine", "pos": [ 1870, -350 ], "size": [ 959.076171875, 334 ], "flags": {}, "order": 33, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 217 }, { "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": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 16, "loop_count": 0, "filename_prefix": "WanVideoWrapper_T2V_Stand_In", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": false, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "WanVideoWrapper_T2V_Stand_In_00008.mp4", "subfolder": "", "type": "temp", "format": "video/h264-mp4", "frame_rate": 16, "workflow": "WanVideoWrapper_T2V_Stand_In_00008.png", "fullpath": "/FirstIntelligence/home/bowen/ComfyUI/temp/WanVideoWrapper_T2V_Stand_In_00008.mp4" } } } }, { "id": 128, "type": "ApplyFaceProcessor", "pos": [ -258.21417236328125, -111.67808532714844 ], "size": [ 270, 198 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "face_processor", "type": "FACE_PROCESSOR", "link": 230 }, { "name": "image", "type": "IMAGE", "link": 226 }, { "name": "face_only_mode", "type": "BOOLEAN", "widget": { "name": "face_only_mode" }, "link": 263 } ], "outputs": [ { "name": "processed_image", "type": "IMAGE", "links": [ 227, 229, 231 ] }, { "name": "face_rgba", "type": "IMAGE", "links": [ 243 ] } ], "properties": { "aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI", "ver": "db0d3d966dada4c5c242f9da5287988b533120e4", "Node name for S&R": "ApplyFaceProcessor" }, "widgets_values": [ 512, 10, 1.5, 0.5, false, true ] }, { "id": 146, "type": "VideoBackgroundRestorer", "pos": [ 2122.31494140625, -669.4810180664062 ], "size": [ 289.0025329589844, 266 ], "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "face_processor", "type": "FACE_PROCESSOR", "link": 255 }, { "name": "synth_images", "type": "IMAGE", "link": 256 }, { "name": "orig_images", "type": "IMAGE", "link": 267 }, { "name": "face_only_mode", "type": "BOOLEAN", "widget": { "name": "face_only_mode" }, "link": 264 } ], "outputs": [ { "name": "restored_video", "type": "IMAGE", "links": [ 258 ] } ], "properties": { "aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI", "ver": "feb48d12c6d260216bb1f9d86d46f8c7d11a61f9", "Node name for S&R": "VideoBackgroundRestorer" }, "widgets_values": [ 0.5, 3, 25, 50, false, true, 0.9, true ] }, { "id": 138, "type": "VideoInputPreprocessor", "pos": [ -274.0709533691406, 247.68026733398438 ], "size": [ 306.6597595214844, 266 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "face_processor", "type": "FACE_PROCESSOR", "link": 242 }, { "name": "images", "type": "IMAGE", "link": 266 }, { "name": "face_rgba", "type": "IMAGE", "link": 243 }, { "name": "face_only_mode", "type": "BOOLEAN", "widget": { "name": "face_only_mode" }, "link": 262 } ], "outputs": [ { "name": "processed_images", "type": "IMAGE", "links": [ 245 ] }, { "name": "denoise_strength", "type": "FLOAT", "links": [ 252 ] } ], "properties": { "aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI", "ver": "db0d3d966dada4c5c242f9da5287988b533120e4", "Node name for S&R": "VideoInputPreprocessor" }, "widgets_values": [ 0.5, 0.5, 1.5, 10, true, true, 21, 0.15 ] }, { "id": 130, "type": "FaceProcessorLoader", "pos": [ -285.0195007324219, 125.5952377319336 ], "size": [ 319.3335876464844, 58 ], "flags": {}, "order": 13, "mode": 0, "inputs": [], "outputs": [ { "name": "face_processor", "type": "FACE_PROCESSOR", "links": [ 230, 242, 255 ] } ], "properties": { "aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI", "ver": "db0d3d966dada4c5c242f9da5287988b533120e4", "Node name for S&R": "FaceProcessorLoader" }, "widgets_values": [ "model.pt" ] }, { "id": 150, "type": "FaceOnlyModeSwitch", "pos": [ -704.624267578125, 416.7978515625 ], "size": [ 313.8716735839844, 58 ], "flags": {}, "order": 14, "mode": 0, "inputs": [], "outputs": [ { "name": "face_only_mode", "type": "BOOLEAN", "links": [ 262, 263, 264 ] } ], "properties": { "aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI", "ver": "c8feda62cc0f7da246678624ce17360e0aa5746b", "Node name for S&R": "FaceOnlyModeSwitch" }, "widgets_values": [ false ] }, { "id": 121, "type": "PreviewImage", "pos": [ 57.08710479736328, -116.29588317871094 ], "size": [ 140, 246 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 227 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.49", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 131, "type": "VHS_LoadVideo", "pos": [ -1432.3470458984375, -227.6167449951172 ], "size": [ 660, 693.2307739257812 ], "flags": {}, "order": 15, "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": [ 265 ] }, { "name": "frame_count", "type": "INT", "links": [ 246 ] }, { "name": "audio", "type": "AUDIO", "links": null }, { "name": "video_info", "type": "VHS_VIDEOINFO", "links": [ 249 ] } ], "properties": { "cnr_id": "comfyui-videohelpersuite", "ver": "1.7.4", "Node name for S&R": "VHS_LoadVideo" }, "widgets_values": { "video": "13.mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1, "format": "AnimateDiff", "choose video to upload": "image", "videopreview": { "hidden": false, "paused": false, "params": { "filename": "13.mp4", "type": "input", "format": "video/mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1 } } } }, { "id": 151, "type": "VideoFramePreprocessor", "pos": [ -995.4586791992188, -315.4657287597656 ], "size": [ 215.98690795898438, 26 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 265 } ], "outputs": [ { "name": "processed_images", "type": "IMAGE", "links": [ 266, 267 ] } ], "properties": { "aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI", "ver": "172ca8a19b39b110d76b3f8d9bbe8e16417c9f2d", "Node name for S&R": "VideoFramePreprocessor" }, "widgets_values": [] } ], "links": [ [ 15, 11, 0, 16, 0, "WANTEXTENCODER" ], [ 30, 16, 0, 27, 2, "WANVIDEOTEXTEMBEDS" ], [ 33, 27, 0, 28, 1, "LATENT" ], [ 43, 38, 0, 28, 0, "VAE" ], [ 79, 22, 0, 16, 1, "WANVIDEOMODEL" ], [ 90, 22, 0, 70, 0, "WANVIDEOMODEL" ], [ 92, 39, 0, 70, 1, "BLOCKSWAPARGS" ], [ 107, 70, 0, 79, 0, "WANVIDEOMODEL" ], [ 108, 79, 0, 27, 0, "WANVIDEOMODEL" ], [ 170, 69, 0, 22, 2, "WANVIDLORA" ], [ 171, 103, 0, 102, 0, "WANVIDIMAGE_EMBEDS" ], [ 172, 102, 0, 27, 1, "WANVIDIMAGE_EMBEDS" ], [ 174, 104, 0, 102, 1, "LATENT" ], [ 175, 38, 0, 104, 0, "WANVAE" ], [ 210, 71, 0, 79, 1, "WANVIDLORA" ], [ 211, 35, 0, 22, 0, "WANCOMPILEARGS" ], [ 217, 122, 0, 74, 0, "IMAGE" ], [ 226, 58, 0, 128, 1, "IMAGE" ], [ 227, 128, 0, 121, 0, "IMAGE" ], [ 229, 128, 0, 122, 1, "IMAGE" ], [ 230, 130, 0, 128, 0, "FACE_PROCESSOR" ], [ 231, 128, 0, 104, 1, "IMAGE" ], [ 233, 134, 0, 27, 3, "LATENT" ], [ 234, 38, 0, 134, 0, "WANVAE" ], [ 242, 130, 0, 138, 0, "FACE_PROCESSOR" ], [ 243, 128, 1, 138, 2, "IMAGE" ], [ 245, 138, 0, 134, 1, "IMAGE" ], [ 246, 131, 1, 103, 4, "INT" ], [ 249, 131, 3, 142, 0, "VHS_VIDEOINFO" ], [ 250, 142, 3, 103, 2, "INT" ], [ 251, 142, 4, 103, 3, "INT" ], [ 252, 138, 1, 27, 17, "FLOAT" ], [ 255, 130, 0, 146, 0, "FACE_PROCESSOR" ], [ 256, 28, 0, 146, 1, "IMAGE" ], [ 258, 146, 0, 122, 0, "IMAGE" ], [ 262, 150, 0, 138, 3, "BOOLEAN" ], [ 263, 150, 0, 128, 2, "BOOLEAN" ], [ 264, 150, 0, 146, 3, "BOOLEAN" ], [ 265, 131, 0, 151, 0, "IMAGE" ], [ 266, 151, 0, 138, 1, "IMAGE" ], [ 267, 151, 0, 146, 2, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6727499949325989, "offset": [ 798.9888409617952, 485.8244985963852 ] }, "frontendVersion": "1.24.4", "node_versions": { "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd", "comfy-core": "0.3.26", "ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8" }, "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }