Wan_Backup / ComfyUI-WanAnimatePreprocess /example_workflows /WanAnimate_native_example_01.json
Eji-Sensei14's picture
Upload folder using huggingface_hub
edd3cd4 verified
{
"id": "8b7a9a57-2303-4ef5-9fc2-bf41713bd1fc",
"revision": 0,
"last_node_id": 207,
"last_link_id": 362,
"nodes": [
{
"id": 66,
"type": "ImageConcatMulti",
"pos": [
2660.1005859375,
-950.2750244140625
],
"size": [
270,
150
],
"flags": {},
"order": 64,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 87
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 107
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
89
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "468fcc86f0b29e79a8510e8239eb15714d6747a6"
},
"widgets_values": [
2,
"left",
true,
null
]
},
{
"id": 137,
"type": "GetNode",
"pos": [
2441.813232421875,
-1173.92919921875
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
239
]
}
],
"title": "Get_face_images",
"properties": {},
"widgets_values": [
"face_images"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 140,
"type": "GetNode",
"pos": [
2441.813232421875,
-1124.576904296875
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
243
]
}
],
"title": "Get_pose_images",
"properties": {},
"widgets_values": [
"pose_images"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 134,
"type": "GetNode",
"pos": [
2443.561279296875,
-1227.2171630859375
],
"size": [
210,
34
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
236
]
}
],
"title": "Get_reference_image",
"properties": {},
"widgets_values": [
"reference_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 148,
"type": "SetNode",
"pos": [
-548.7736206054688,
-2964.476318359375
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"link": 255
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_input_audio",
"properties": {
"previousName": "input_audio"
},
"widgets_values": [
"input_audio"
]
},
{
"id": 149,
"type": "GetNode",
"pos": [
3043.859130859375,
-1156.882080078125
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
256
]
}
],
"title": "Get_input_audio",
"properties": {},
"widgets_values": [
"input_audio"
]
},
{
"id": 153,
"type": "SetNode",
"pos": [
-1605.1839599609375,
-2832.218994140625
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "INT",
"type": "INT",
"link": 263
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_width",
"properties": {
"previousName": "width"
},
"widgets_values": [
"width"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 154,
"type": "SetNode",
"pos": [
-1617.8741455078125,
-2533.993408203125
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "INT",
"type": "INT",
"link": 264
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_height",
"properties": {
"previousName": "height"
},
"widgets_values": [
"height"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 63,
"type": "VHS_LoadVideo",
"pos": [
-876.9246826171875,
-3084.905517578125
],
"size": [
315.8014221191406,
491.6708679199219
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "custom_width",
"type": "INT",
"widget": {
"name": "custom_width"
},
"link": 257
},
{
"name": "custom_height",
"type": "INT",
"widget": {
"name": "custom_height"
},
"link": 258
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
248
]
},
{
"name": "frame_count",
"type": "INT",
"links": [
267
]
},
{
"name": "audio",
"type": "AUDIO",
"links": [
255
]
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "8e4d79471bf1952154768e8435a9300077b534fa",
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "raw.mp4",
"force_rate": 16,
"custom_width": 960,
"custom_height": 544,
"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": "raw.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 16,
"custom_width": 960,
"custom_height": 544,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 157,
"type": "SetNode",
"pos": [
-528.8223266601562,
-3030.21337890625
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "INT",
"type": "INT",
"link": 267
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_frame_count",
"properties": {
"previousName": "frame_count"
},
"widgets_values": [
"frame_count"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 144,
"type": "SetNode",
"pos": [
-522.720947265625,
-3107.148681640625
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 248
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
306
]
}
],
"title": "Set_input_video",
"properties": {
"previousName": "input_video"
},
"widgets_values": [
"input_video"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 128,
"type": "SetNode",
"pos": [
-459.54620361328125,
-1650.783935546875
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 231
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_reference_image",
"properties": {
"previousName": "reference_image"
},
"widgets_values": [
"reference_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 64,
"type": "ImageResizeKJv2",
"pos": [
-772.3116455078125,
-1675.555419921875
],
"size": [
270,
336
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 82
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 286
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 287
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
231
]
},
{
"name": "width",
"type": "INT",
"links": []
},
{
"name": "height",
"type": "INT",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "468fcc86f0b29e79a8510e8239eb15714d6747a6",
"Node name for S&R": "ImageResizeKJv2"
},
"widgets_values": [
832,
480,
"lanczos",
"pad_edge_pixel",
"0, 0, 0",
"top",
16,
"cpu",
"<tr><td>Output: </td><td><b>1</b> x <b>832</b> x <b>480 | 4.57MB</b></td></tr>"
]
},
{
"id": 57,
"type": "LoadImage",
"pos": [
-1116.435791015625,
-1679.51318359375
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
82
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"refer.jpeg",
"image"
]
},
{
"id": 142,
"type": "SetNode",
"pos": [
1086.6927490234375,
-2124.5263671875
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 61,
"mode": 0,
"inputs": [
{
"name": "MASK",
"type": "MASK",
"link": 245
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
246
]
}
],
"title": "Set_mask",
"properties": {
"previousName": "mask"
},
"widgets_values": [
"mask"
],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 99,
"type": "DrawMaskOnImage",
"pos": [
1222.5340576171875,
-2132.91455078125
],
"size": [
270,
78
],
"flags": {},
"order": 63,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 250
},
{
"name": "mask",
"type": "MASK",
"link": 246
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
233
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "623b5913dc7f240fd8b26422e99f8849a21c5473",
"Node name for S&R": "DrawMaskOnImage"
},
"widgets_values": [
"0, 0, 0"
]
},
{
"id": 146,
"type": "GetNode",
"pos": [
1086.932861328125,
-2184.602783203125
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
250
]
}
],
"title": "Get_input_video",
"properties": {},
"widgets_values": [
"input_video"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 130,
"type": "SetNode",
"pos": [
1294.1051025390625,
-2211.976806640625
],
"size": [
211.05747985839844,
60
],
"flags": {
"collapsed": true
},
"order": 65,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 233
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
251
]
}
],
"title": "Set_background_image",
"properties": {
"previousName": "background_image"
},
"widgets_values": [
"background_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 77,
"type": "ImageConcatMulti",
"pos": [
2653.37939453125,
-1220.90087890625
],
"size": [
270,
190
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 236
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 239
},
{
"name": "image_3",
"shape": 7,
"type": "IMAGE",
"link": 243
},
{
"name": "image_4",
"shape": 7,
"type": "IMAGE",
"link": 249
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
107
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "468fcc86f0b29e79a8510e8239eb15714d6747a6"
},
"widgets_values": [
4,
"down",
true,
null
]
},
{
"id": 145,
"type": "GetNode",
"pos": [
2463.91552734375,
-1073.7054443359375
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
249
]
}
],
"title": "Get_input_video",
"properties": {},
"widgets_values": [
"input_video"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 42,
"type": "GetImageSizeAndCount",
"pos": [
2555.719482421875,
-692.73095703125
],
"size": [
277.20001220703125,
86
],
"flags": {},
"order": 62,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 346
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"slot_index": 0,
"links": [
87
]
},
{
"label": "832 width",
"name": "width",
"type": "INT",
"links": null
},
{
"label": "480 height",
"name": "height",
"type": "INT",
"links": null
},
{
"label": "109 count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "36f6fdd7d4c393675ac622bd300ef667ee65d8b8",
"Node name for S&R": "GetImageSizeAndCount"
},
"widgets_values": []
},
{
"id": 151,
"type": "INTConstant",
"pos": [
-1704.931640625,
-2640.54638671875
],
"size": [
210,
58
],
"flags": {
"collapsed": false
},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "value",
"type": "INT",
"links": [
258,
264,
287
]
}
],
"title": "Height",
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "37659859825cea55940a58110525795ce5deb8be",
"Node name for S&R": "INTConstant"
},
"widgets_values": [
480
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 178,
"type": "OnnxDetectionModelLoader",
"pos": [
-506.44635009765625,
-2398.935302734375
],
"size": [
351.52410888671875,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "POSEMODEL",
"links": [
290
]
}
],
"properties": {
"aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
"ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
"Node name for S&R": "OnnxDetectionModelLoader"
},
"widgets_values": [
"vitpose-l-wholebody.onnx",
"onnx\\yolov10m.onnx",
"CUDAExecutionProvider"
]
},
{
"id": 182,
"type": "GrowMaskWithBlur",
"pos": [
431.7315368652344,
-2222.123779296875
],
"size": [
292.748046875,
246
],
"flags": {},
"order": 56,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 314
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
315
]
},
{
"name": "mask_inverted",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "bb205d809b467307b8ec3bb1a22680a4873187f8",
"Node name for S&R": "GrowMaskWithBlur"
},
"widgets_values": [
10,
0,
true,
false,
0,
1,
1,
false
]
},
{
"id": 108,
"type": "BlockifyMask",
"pos": [
779.2421264648438,
-2222.2099609375
],
"size": [
270,
58
],
"flags": {},
"order": 59,
"mode": 0,
"inputs": [
{
"name": "masks",
"type": "MASK",
"link": 315
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
245
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "00da1910634fbf314d407608efb281ae6f7f1ba2",
"Node name for S&R": "BlockifyMask"
},
"widgets_values": [
32
]
},
{
"id": 127,
"type": "Note",
"pos": [
983.2726440429688,
-2067.319580078125
],
"size": [
210,
88
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"These are new nodes in KJNodes"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 104,
"type": "Sam2Segmentation",
"pos": [
83.82372283935547,
-2220.965576171875
],
"size": [
272.087890625,
182
],
"flags": {},
"order": 52,
"mode": 0,
"inputs": [
{
"name": "sam2_model",
"type": "SAM2MODEL",
"link": 185
},
{
"name": "image",
"type": "IMAGE",
"link": 316
},
{
"name": "coordinates_positive",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "coordinates_negative",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "bboxes",
"shape": 7,
"type": "BBOX",
"link": 321
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
314
]
}
],
"properties": {
"cnr_id": "ComfyUI-segment-anything-2",
"ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
"Node name for S&R": "Sam2Segmentation"
},
"widgets_values": [
false,
false
]
},
{
"id": 180,
"type": "GetImageSizeAndCount",
"pos": [
-246.24586486816406,
-3011.47705078125
],
"size": [
190.86483764648438,
86
],
"flags": {},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 306
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
309,
316
]
},
{
"label": "832 width",
"name": "width",
"type": "INT",
"links": [
307,
310
]
},
{
"label": "480 height",
"name": "height",
"type": "INT",
"links": [
308,
311
]
},
{
"label": "109 count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "bb205d809b467307b8ec3bb1a22680a4873187f8",
"Node name for S&R": "GetImageSizeAndCount"
},
"widgets_values": []
},
{
"id": 173,
"type": "DrawViTPose",
"pos": [
120.56317138671875,
-2811.226318359375
],
"size": [
270,
178
],
"flags": {},
"order": 50,
"mode": 0,
"inputs": [
{
"name": "pose_data",
"type": "POSEDATA",
"link": 294
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 307
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 308
}
],
"outputs": [
{
"name": "pose_images",
"type": "IMAGE",
"links": [
319
]
}
],
"properties": {
"aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
"ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
"Node name for S&R": "DrawViTPose"
},
"widgets_values": [
832,
480,
16,
-1,
-1,
"True"
]
},
{
"id": 75,
"type": "VHS_VideoCombine",
"pos": [
2010.67431640625,
-3041.57568359375
],
"size": [
743.6680297851562,
765.5007934570312
],
"flags": {},
"order": 67,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 251
},
{
"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": "8e4d79471bf1952154768e8435a9300077b534fa",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "WanVideo2_1_T2V",
"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": "WanVideo2_1_T2V_00010.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideo2_1_T2V_00010.png",
"fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00010.mp4"
}
}
}
},
{
"id": 181,
"type": "VHS_VideoCombine",
"pos": [
1137.4183349609375,
-3026.80517578125
],
"size": [
743.6680297851562,
765.5007934570312
],
"flags": {},
"order": 58,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 320
},
{
"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": "8e4d79471bf1952154768e8435a9300077b534fa",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "WanVideo2_1_T2V",
"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": "WanVideo2_1_T2V_00009.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideo2_1_T2V_00009.png",
"fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00009.mp4"
}
}
}
},
{
"id": 174,
"type": "VHS_VideoCombine",
"pos": [
714.7760009765625,
-3057.50341796875
],
"size": [
214.7587890625,
542.7587890625
],
"flags": {},
"order": 55,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 318
},
{
"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": "0edce8ef7ce173ac97a3ed3d6f4636029d1a4530",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "vitpose",
"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": "vitpose_00007.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "vitpose_00007.png",
"fullpath": "N:\\AI\\ComfyUI\\temp\\vitpose_00007.mp4"
}
}
}
},
{
"id": 183,
"type": "SetNode",
"pos": [
464.6632080078125,
-3038.54296875
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 51,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 317
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
318
]
}
],
"title": "Set_face_images",
"properties": {
"previousName": "face_images"
},
"widgets_values": [
"face_images"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 184,
"type": "SetNode",
"pos": [
442.45526123046875,
-2784.734375
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 54,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 319
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
320
]
}
],
"title": "Set_pose_images",
"properties": {
"previousName": "pose_images"
},
"widgets_values": [
"pose_images"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 172,
"type": "PoseAndFaceDetection",
"pos": [
104.5530014038086,
-3028.416015625
],
"size": [
313.125,
142
],
"flags": {},
"order": 47,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "POSEMODEL",
"link": 290
},
{
"name": "images",
"type": "IMAGE",
"link": 309
},
{
"name": "retarget_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 310
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 311
}
],
"outputs": [
{
"name": "pose_data",
"type": "POSEDATA",
"links": [
294
]
},
{
"name": "face_images",
"type": "IMAGE",
"links": [
317
]
},
{
"name": "key_frame_body_points",
"type": "STRING",
"links": null
},
{
"name": "bboxes",
"type": "BBOX",
"links": [
321
]
}
],
"properties": {
"aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
"ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
"Node name for S&R": "PoseAndFaceDetection"
},
"widgets_values": [
832,
480
]
},
{
"id": 102,
"type": "DownloadAndLoadSAM2Model",
"pos": [
-470.4329528808594,
-2221.738037109375
],
"size": [
334.4137268066406,
130
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "sam2_model",
"type": "SAM2MODEL",
"links": [
185
]
}
],
"properties": {
"cnr_id": "ComfyUI-segment-anything-2",
"ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
"Node name for S&R": "DownloadAndLoadSAM2Model"
},
"widgets_values": [
"sam2.1_hiera_base_plus.safetensors",
"video",
"cuda",
"fp16"
]
},
{
"id": 185,
"type": "Note",
"pos": [
257.0601806640625,
-2465.42041015625
],
"size": [
236.14007568359375,
88
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: SAM2 detection",
"properties": {},
"widgets_values": [
"You can use either the detected bbox or the kay_frame_body_points to positive coordinates, if one fails to creater proper mask, try the other"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 150,
"type": "INTConstant",
"pos": [
-1695.39013671875,
-2773.4970703125
],
"size": [
210,
58
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "value",
"type": "INT",
"links": [
257,
263,
286
]
}
],
"title": "Width",
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "37659859825cea55940a58110525795ce5deb8be",
"Node name for S&R": "INTConstant"
},
"widgets_values": [
832
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 30,
"type": "VHS_VideoCombine",
"pos": [
3064.7763671875,
-1021.487548828125
],
"size": [
1478.035400390625,
1042.3026123046875
],
"flags": {},
"order": 66,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 89
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 256
},
{
"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": "8e4d79471bf1952154768e8435a9300077b534fa",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "Wanimate",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "Wanimate_00008-audio.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "Wanimate_00008.png",
"fullpath": "N:\\AI\\ComfyUI\\output\\Wanimate_00008-audio.mp4"
}
}
}
},
{
"id": 177,
"type": "MarkdownNote",
"pos": [
-1088.8204345703125,
-2393.302978515625
],
"size": [
536.27783203125,
330.03546142578125
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Preprocessor links",
"properties": {},
"widgets_values": [
"Nodes:\n\n[https://github.com/kijai/ComfyUI-WanAnimatePreprocess](https://github.com/kijai/ComfyUI-WanAnimatePreprocess)\n\nModels:\n\nYOLO:\n\n[https://huggingface.co/Wan-AI/Wan2.2-Animate-14B/blob/main/process_checkpoint/det/yolov10m.onnx](https://huggingface.co/Wan-AI/Wan2.2-Animate-14B/blob/main/process_checkpoint/det/yolov10m.onnx)\n\nViTPose\n\nLarge:\n\n[https://huggingface.co/JunkyByte/easy_ViTPose/blob/main/onnx/wholebody/vitpose-l-wholebody.onnx](https://huggingface.co/JunkyByte/easy_ViTPose/blob/main/onnx/wholebody/vitpose-l-wholebody.onnx)\n\nHuge (needs both files):\n\n[https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_model.onnx](https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_model.onnx)\n\n[https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_data.bin](https://huggingface.co/Kijai/vitpose_comfy/blob/main/onnx/vitpose_h_wholebody_data.bin)"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 191,
"type": "LoraLoaderModelOnly",
"pos": [
-155.92713928222656,
-787.0674438476562
],
"size": [
632.4478759765625,
82
],
"flags": {},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 323
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
325
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"WanVideo\\Lightx2v\\lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1.2
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 190,
"type": "LoraLoaderModelOnly",
"pos": [
-160.91363525390625,
-918.007568359375
],
"size": [
487.27642822265625,
82
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 324
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
323
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"WanVideo\\wan2.2_animate_14B_relight_lora_bf16.safetensors",
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 204,
"type": "VAEDecode",
"pos": [
2335.7841796875,
-647.9304809570312
],
"size": [
140,
46
],
"flags": {},
"order": 60,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 362
},
{
"name": "vae",
"type": "VAE",
"link": 345
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
346
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "VAEDecode"
},
"widgets_values": [],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 162,
"type": "GetNode",
"pos": [
2193.002197265625,
-617.4148559570312
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
345
]
}
],
"title": "Get_VAE",
"properties": {},
"widgets_values": [
"VAE"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 195,
"type": "RandomNoise",
"pos": [
1681.1666259765625,
-731.4764404296875
],
"size": [
270,
82
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
326
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
42,
"fixed"
]
},
{
"id": 192,
"type": "TorchCompileModelWanVideoV2",
"pos": [
-158.32838439941406,
-606.775146484375
],
"size": [
342.74609375,
178
],
"flags": {},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 325
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
332,
350
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "bb205d809b467307b8ec3bb1a22680a4873187f8",
"Node name for S&R": "TorchCompileModelWanVideoV2"
},
"widgets_values": [
"inductor",
false,
"default",
false,
true,
64
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 206,
"type": "BasicScheduler",
"pos": [
1683.2818603515625,
-903.85498046875
],
"size": [
270,
106
],
"flags": {},
"order": 49,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 350
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
349
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
4,
1
]
},
{
"id": 138,
"type": "GetNode",
"pos": [
1322,
-333.85980224609375
],
"size": [
210,
50
],
"flags": {
"collapsed": true
},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
352
]
}
],
"title": "Get_face_images",
"properties": {},
"widgets_values": [
"face_images"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 141,
"type": "GetNode",
"pos": [
1333.7083740234375,
-296.18280029296875
],
"size": [
210,
34
],
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
353
]
}
],
"title": "Get_pose_images",
"properties": {},
"widgets_values": [
"pose_images"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 131,
"type": "GetNode",
"pos": [
1313.332275390625,
-253.8428955078125
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 18,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
354
]
}
],
"title": "Get_background_image",
"properties": {},
"widgets_values": [
"background_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 158,
"type": "GetNode",
"pos": [
1379.7850341796875,
-51.34074783325195
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 19,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
358
]
}
],
"title": "Get_frame_count",
"properties": {},
"widgets_values": [
"frame_count"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 156,
"type": "GetNode",
"pos": [
1378.34033203125,
-103.323486328125
],
"size": [
210,
50
],
"flags": {
"collapsed": true
},
"order": 20,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
357
]
}
],
"title": "Get_height",
"properties": {},
"widgets_values": [
"height"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 155,
"type": "GetNode",
"pos": [
1379.78515625,
-156.0265655517578
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 21,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
356
]
}
],
"title": "Get_width",
"properties": {},
"widgets_values": [
"width"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 143,
"type": "GetNode",
"pos": [
1379.7850341796875,
-204.57044982910156
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 22,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
355
]
}
],
"title": "Get_mask",
"properties": {},
"widgets_values": [
"mask"
],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 202,
"type": "GetNode",
"pos": [
1368.9952392578125,
-417.7628173828125
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 23,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
340
]
}
],
"title": "Get_VAE",
"properties": {},
"widgets_values": [
"VAE"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 201,
"type": "ConditioningZeroOut",
"pos": [
986.3633422851562,
-341.2440490722656
],
"size": [
197.712890625,
26
],
"flags": {
"collapsed": true
},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 334
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
359
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": [],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 198,
"type": "CLIPTextEncode",
"pos": [
1035.0103759765625,
-664.8511352539062
],
"size": [
400,
200
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 331
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
334,
338
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"man is walking, style is soft 3D render style, night time, moonlight"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 193,
"type": "CLIPLoader",
"pos": [
225.7170867919922,
-533.3831787109375
],
"size": [
270,
106
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
331
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 189,
"type": "SetNode",
"pos": [
86.28633117675781,
-338.70849609375
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "VAE",
"type": "VAE",
"link": 322
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_VAE",
"properties": {
"previousName": "VAE"
},
"widgets_values": [
"VAE"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 188,
"type": "VAELoader",
"pos": [
-232.2764892578125,
-368.0868225097656
],
"size": [
270,
58
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
322
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"wanvideo\\Wan2_1_VAE_bf16.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 200,
"type": "CFGGuider",
"pos": [
1680.1092529296875,
-571.7877807617188
],
"size": [
270,
98
],
"flags": {},
"order": 48,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 332
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 336
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 337
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
347
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "CFGGuider"
},
"widgets_values": [
1
]
},
{
"id": 199,
"type": "WanAnimateToVideo",
"pos": [
1614.5421142578125,
-375.08544921875
],
"size": [
324.751953125,
358
],
"flags": {},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 338
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 359
},
{
"name": "vae",
"type": "VAE",
"link": 340
},
{
"name": "clip_vision_output",
"shape": 7,
"type": "CLIP_VISION_OUTPUT",
"link": null
},
{
"name": "reference_image",
"shape": 7,
"type": "IMAGE",
"link": 351
},
{
"name": "face_video",
"shape": 7,
"type": "IMAGE",
"link": 352
},
{
"name": "pose_video",
"shape": 7,
"type": "IMAGE",
"link": 353
},
{
"name": "background_video",
"shape": 7,
"type": "IMAGE",
"link": 354
},
{
"name": "character_mask",
"shape": 7,
"type": "MASK",
"link": 355
},
{
"name": "continue_motion",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 356
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 357
},
{
"name": "length",
"type": "INT",
"widget": {
"name": "length"
},
"link": 358
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
336
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
337
]
},
{
"name": "latent",
"type": "LATENT",
"links": [
339
]
},
{
"name": "trim_latent",
"type": "INT",
"links": [
361
]
},
{
"name": "trim_image",
"type": "INT",
"links": null
},
{
"name": "video_frame_offset",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "WanAnimateToVideo"
},
"widgets_values": [
832,
480,
77,
1,
5,
0
]
},
{
"id": 205,
"type": "KSamplerSelect",
"pos": [
2024.867919921875,
-748.396728515625
],
"size": [
270,
58
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
348
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"lcm"
]
},
{
"id": 187,
"type": "DiffusionModelLoaderKJ",
"pos": [
-918.0835571289062,
-920.0172119140625
],
"size": [
589.9105834960938,
178
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "extra_state_dict",
"shape": 7,
"type": "STRING",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
324
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "bb205d809b467307b8ec3bb1a22680a4873187f8",
"Node name for S&R": "DiffusionModelLoaderKJ"
},
"widgets_values": [
"WanVideo\\2_2\\Wan2_2-Animate-14B_high_fp8_e4m3fn_native_KJ.safetensors",
"fp16",
"fp16",
false,
"auto",
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 133,
"type": "GetNode",
"pos": [
991.7420654296875,
-281.65087890625
],
"size": [
210,
50
],
"flags": {
"collapsed": true
},
"order": 28,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
351
]
}
],
"title": "Get_reference_image",
"properties": {},
"widgets_values": [
"reference_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 194,
"type": "SamplerCustomAdvanced",
"pos": [
2041.89306640625,
-441.8531188964844
],
"size": [
461.3559875488281,
382.6284484863281
],
"flags": {},
"order": 53,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 326
},
{
"name": "guider",
"type": "GUIDER",
"link": 347
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 348
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 349
},
{
"name": "latent_image",
"type": "LATENT",
"link": 339
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
360
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 207,
"type": "TrimVideoLatent",
"pos": [
2556.41162109375,
-444.12176513671875
],
"size": [
270,
58
],
"flags": {},
"order": 57,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 360
},
{
"name": "trim_amount",
"type": "INT",
"widget": {
"name": "trim_amount"
},
"link": 361
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
362
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "TrimVideoLatent"
},
"widgets_values": [
0
]
},
{
"id": 164,
"type": "MarkdownNote",
"pos": [
-1191.340087890625,
-515.903564453125
],
"size": [
884.3952026367188,
400.1950378417969
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Markdown Note: Model Links",
"properties": {},
"widgets_values": [
"Model links:\n\n!!IMPORTANT!!\nMy initial upload of the fp8_scaled model works poorly in native workflows due to some face layer quantization, I've uploaded fixed version \"v2\" which should be used if you want to use fp8_scaled:\n\n[https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/Wan22Animate/Wan2_2-Animate-14B_fp8_scaled_e4m3fn_KJ_v2.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/Wan22Animate/Wan2_2-Animate-14B_fp8_scaled_e4m3fn_KJ_v2.safetensors)\n\n\nbf16:\n\n[https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/diffusion_models/wan2.2_animate_14B_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/diffusion_models/wan2.2_animate_14B_bf16.safetensors)\n\n\nLoRA:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v)\n\n[https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/loras/wan2.2_animate_14B_relight_lora_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/loras/wan2.2_animate_14B_relight_lora_bf16.safetensors)\n\nText encoder:\n\n[https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors)\n\nVAE:\n\n[https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/vae/wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/blob/main/split_files/vae/wan_2.1_vae.safetensors)"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
82,
57,
0,
64,
0,
"IMAGE"
],
[
87,
42,
0,
66,
0,
"IMAGE"
],
[
89,
66,
0,
30,
0,
"IMAGE"
],
[
107,
77,
0,
66,
1,
"IMAGE"
],
[
185,
102,
0,
104,
0,
"SAM2MODEL"
],
[
231,
64,
0,
128,
0,
"*"
],
[
233,
99,
0,
130,
0,
"*"
],
[
236,
134,
0,
77,
0,
"IMAGE"
],
[
239,
137,
0,
77,
1,
"IMAGE"
],
[
243,
140,
0,
77,
2,
"IMAGE"
],
[
245,
108,
0,
142,
0,
"*"
],
[
246,
142,
0,
99,
1,
"MASK"
],
[
248,
63,
0,
144,
0,
"*"
],
[
249,
145,
0,
77,
3,
"IMAGE"
],
[
250,
146,
0,
99,
0,
"IMAGE"
],
[
251,
130,
0,
75,
0,
"IMAGE"
],
[
255,
63,
2,
148,
0,
"*"
],
[
256,
149,
0,
30,
1,
"AUDIO"
],
[
257,
150,
0,
63,
2,
"INT"
],
[
258,
151,
0,
63,
3,
"INT"
],
[
263,
150,
0,
153,
0,
"*"
],
[
264,
151,
0,
154,
0,
"*"
],
[
267,
63,
1,
157,
0,
"*"
],
[
286,
150,
0,
64,
2,
"INT"
],
[
287,
151,
0,
64,
3,
"INT"
],
[
290,
178,
0,
172,
0,
"POSEMODEL"
],
[
294,
172,
0,
173,
0,
"POSEDATA"
],
[
306,
144,
0,
180,
0,
"IMAGE"
],
[
307,
180,
1,
173,
1,
"INT"
],
[
308,
180,
2,
173,
2,
"INT"
],
[
309,
180,
0,
172,
1,
"IMAGE"
],
[
310,
180,
1,
172,
3,
"INT"
],
[
311,
180,
2,
172,
4,
"INT"
],
[
314,
104,
0,
182,
0,
"MASK"
],
[
315,
182,
0,
108,
0,
"MASK"
],
[
316,
180,
0,
104,
1,
"IMAGE"
],
[
317,
172,
1,
183,
0,
"*"
],
[
318,
183,
0,
174,
0,
"IMAGE"
],
[
319,
173,
0,
184,
0,
"*"
],
[
320,
184,
0,
181,
0,
"IMAGE"
],
[
321,
172,
3,
104,
4,
"BBOX"
],
[
322,
188,
0,
189,
0,
"*"
],
[
323,
190,
0,
191,
0,
"MODEL"
],
[
324,
187,
0,
190,
0,
"MODEL"
],
[
325,
191,
0,
192,
0,
"MODEL"
],
[
326,
195,
0,
194,
0,
"NOISE"
],
[
331,
193,
0,
198,
0,
"CLIP"
],
[
332,
192,
0,
200,
0,
"MODEL"
],
[
334,
198,
0,
201,
0,
"CONDITIONING"
],
[
336,
199,
0,
200,
1,
"CONDITIONING"
],
[
337,
199,
1,
200,
2,
"CONDITIONING"
],
[
338,
198,
0,
199,
0,
"CONDITIONING"
],
[
339,
199,
2,
194,
4,
"LATENT"
],
[
340,
202,
0,
199,
2,
"VAE"
],
[
345,
162,
0,
204,
1,
"VAE"
],
[
346,
204,
0,
42,
0,
"IMAGE"
],
[
347,
200,
0,
194,
1,
"GUIDER"
],
[
348,
205,
0,
194,
2,
"SAMPLER"
],
[
349,
206,
0,
194,
3,
"SIGMAS"
],
[
350,
192,
0,
206,
0,
"MODEL"
],
[
351,
133,
0,
199,
4,
"IMAGE"
],
[
352,
138,
0,
199,
5,
"IMAGE"
],
[
353,
141,
0,
199,
6,
"IMAGE"
],
[
354,
131,
0,
199,
7,
"IMAGE"
],
[
355,
143,
0,
199,
8,
"MASK"
],
[
356,
155,
0,
199,
10,
"INT"
],
[
357,
156,
0,
199,
11,
"INT"
],
[
358,
158,
0,
199,
12,
"INT"
],
[
359,
201,
0,
199,
1,
"CONDITIONING"
],
[
360,
194,
0,
207,
0,
"LATENT"
],
[
361,
199,
3,
207,
1,
"INT"
],
[
362,
207,
0,
204,
0,
"LATENT"
]
],
"groups": [
{
"id": 1,
"title": "Reference Image",
"bounding": [
-1209.306884765625,
-1833.3065185546875,
990.079833984375,
724.450439453125
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Preprocessing",
"bounding": [
-1227.062744140625,
-3202.685302734375,
4104.810546875,
1281.6610107421875
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Models",
"bounding": [
-1224.449951171875,
-1055.772705078125,
2156.392578125,
1012.5536499023438
],
"color": "#88A",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Result collage",
"bounding": [
2370.66357421875,
-1369.016845703125,
629.7467041015625,
605.8086547851562
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.39142513012204794,
"offset": [
2614.7614997967285,
1809.0478995517838
]
},
"frontendVersion": "1.28.1",
"node_versions": {
"ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd",
"ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
"ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}