update workflow

This commit is contained in:
KBRASK
2025-08-17 13:49:01 +08:00
parent 05bfe6bb17
commit fb8a67de33
+458 -379
View File
@@ -1,8 +1,8 @@
{
"id": "206247b6-9fec-4ed2-8927-e4f388c674d4",
"revision": 0,
"last_node_id": 145,
"last_link_id": 254,
"last_node_id": 146,
"last_link_id": 258,
"nodes": [
{
"id": 50,
@@ -202,7 +202,7 @@
46
],
"flags": {},
"order": 27,
"order": 24,
"mode": 0,
"inputs": [
{
@@ -277,58 +277,6 @@
"color": "#223",
"bgcolor": "#335"
},
{
"id": 28,
"type": "WanVideoDecode",
"pos": [
1446.94677734375,
-808.8124389648438
],
"size": [
315,
198
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 43
},
{
"name": "samples",
"type": "LATENT",
"link": 33
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [
218
]
}
],
"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": 39,
"type": "WanVideoBlockSwap",
@@ -406,7 +354,7 @@
46
],
"flags": {},
"order": 30,
"order": 29,
"mode": 0,
"inputs": [
{
@@ -502,7 +450,7 @@
274
],
"flags": {},
"order": 20,
"order": 19,
"mode": 0,
"inputs": [
{
@@ -629,7 +577,7 @@
246
],
"flags": {},
"order": 23,
"order": 25,
"mode": 0,
"inputs": [
{
@@ -972,7 +920,7 @@
355.67169189453125
],
"flags": {},
"order": 26,
"order": 23,
"mode": 0,
"inputs": [
{
@@ -1013,97 +961,6 @@
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 130,
"type": "FaceProcessorLoader",
"pos": [
-298.89288330078125,
120.64043426513672
],
"size": [
319.3335876464844,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "face_processor",
"type": "FACE_PROCESSOR",
"links": [
230,
242
]
}
],
"properties": {
"aux_id": "WeChatCV/Stand-In_Preprocessor_ComfyUI",
"ver": "db0d3d966dada4c5c242f9da5287988b533120e4",
"Node name for S&R": "FaceProcessorLoader"
},
"widgets_values": [
"model.pt"
]
},
{
"id": 128,
"type": "ApplyFaceProcessor",
"pos": [
-258.21417236328125,
-111.67808532714844
],
"size": [
270,
198
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "face_processor",
"type": "FACE_PROCESSOR",
"link": 230
},
{
"name": "image",
"type": "IMAGE",
"link": 226
}
],
"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
]
},
{
"id": 134,
"type": "WanVideoEncode",
@@ -1116,7 +973,7 @@
242
],
"flags": {},
"order": 29,
"order": 30,
"mode": 0,
"inputs": [
{
@@ -1160,129 +1017,6 @@
1
]
},
{
"id": 122,
"type": "ImageConcatMulti",
"pos": [
1782.049560546875,
-783.8997192382812
],
"size": [
270,
150
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 218
},
{
"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": 74,
"type": "VHS_VideoCombine",
"pos": [
1805.4735107421875,
-573.7311401367188
],
"size": [
959.076171875,
334
],
"flags": {},
"order": 35,
"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_00001.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideoWrapper_T2V_Stand_In_00001.png",
"fullpath": "/FirstIntelligence/home/bowen/ComfyUI/temp/WanVideoWrapper_T2V_Stand_In_00001.mp4"
}
}
}
},
{
"id": 104,
"type": "WanVideoEncode",
@@ -1295,7 +1029,7 @@
242
],
"flags": {},
"order": 24,
"order": 26,
"mode": 0,
"inputs": [
{
@@ -1351,7 +1085,7 @@
200
],
"flags": {},
"order": 12,
"order": 11,
"mode": 0,
"inputs": [
{
@@ -1472,7 +1206,7 @@
130
],
"flags": {},
"order": 13,
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
@@ -1499,94 +1233,6 @@
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 131,
"type": "VHS_LoadVideo",
"pos": [
-1440.3040771484375,
-369.4672546386719
],
"size": [
660,
693.2307739257812
],
"flags": {},
"order": 14,
"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": [
244
]
},
{
"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": "woman.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": "woman.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": 142,
"type": "VHS_VideoInfo",
@@ -1683,7 +1329,7 @@
143.0945281982422
],
"flags": {},
"order": 15,
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [],
@@ -1706,7 +1352,7 @@
240
],
"flags": {},
"order": 16,
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [],
@@ -1729,7 +1375,7 @@
194
],
"flags": {},
"order": 25,
"order": 27,
"mode": 0,
"inputs": [
{
@@ -1776,6 +1422,415 @@
10,
true
]
},
{
"id": 128,
"type": "ApplyFaceProcessor",
"pos": [
-258.21417236328125,
-111.67808532714844
],
"size": [
270,
198
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "face_processor",
"type": "FACE_PROCESSOR",
"link": 230
},
{
"name": "image",
"type": "IMAGE",
"link": 226
}
],
"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
]
},
{
"id": 130,
"type": "FaceProcessorLoader",
"pos": [
-298.89288330078125,
120.64043426513672
],
"size": [
319.3335876464844,
58
],
"flags": {},
"order": 15,
"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": 28,
"type": "WanVideoDecode",
"pos": [
1446.94677734375,
-808.8124389648438
],
"size": [
315,
198
],
"flags": {},
"order": 33,
"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": 131,
"type": "VHS_LoadVideo",
"pos": [
-1440.3040771484375,
-369.4672546386719
],
"size": [
660,
693.2307739257812
],
"flags": {},
"order": 16,
"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": [
244,
257
]
},
{
"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": "woman.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": "woman.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": 74,
"type": "VHS_VideoCombine",
"pos": [
1806.443115234375,
-332.1434020996094
],
"size": [
959.076171875,
691.564453125
],
"flags": {},
"order": 36,
"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_00007.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideoWrapper_T2V_Stand_In_00007.png",
"fullpath": "/FirstIntelligence/home/bowen/ComfyUI/temp/WanVideoWrapper_T2V_Stand_In_00007.mp4"
}
}
}
},
{
"id": 122,
"type": "ImageConcatMulti",
"pos": [
1819.03466796875,
-562.8757934570312
],
"size": [
270,
150
],
"flags": {},
"order": 35,
"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": 146,
"type": "VideoBackgroundRestorer",
"pos": [
2116.058349609375,
-585.5603637695312
],
"size": [
289.0025329589844,
194
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "face_processor",
"type": "FACE_PROCESSOR",
"link": 255
},
{
"name": "synth_images",
"type": "IMAGE",
"link": 256
},
{
"name": "orig_images",
"type": "IMAGE",
"link": 257
}
],
"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,
2,
50,
50,
false
]
}
],
"links": [
@@ -1947,14 +2002,6 @@
0,
"IMAGE"
],
[
218,
28,
0,
122,
0,
"IMAGE"
],
[
226,
58,
@@ -2082,6 +2129,38 @@
27,
17,
"FLOAT"
],
[
255,
130,
0,
146,
0,
"FACE_PROCESSOR"
],
[
256,
28,
0,
146,
1,
"IMAGE"
],
[
257,
131,
0,
146,
2,
"IMAGE"
],
[
258,
146,
0,
122,
0,
"IMAGE"
]
],
"groups": [
@@ -2102,10 +2181,10 @@
"config": {},
"extra": {
"ds": {
"scale": 0.8140274938684186,
"scale": 0.45949729863573774,
"offset": [
1354.2272102810791,
250.24273344699088
1252.005220023947,
985.0972195240975
]
},
"frontendVersion": "1.24.4",