1111 / workflows /vace_optimized.json
vinesnt's picture
Upload folder using huggingface_hub
405de0f verified
{
"id": "960108a5-bf9d-497f-a6e5-4c5c3e41c056",
"revision": 0,
"last_node_id": 37,
"last_link_id": 93,
"nodes": [
{
"id": 11,
"type": "ModelSamplingSD3",
"pos": [
442.7779541015625,
942.9921264648438
],
"size": [
210,
58
],
"flags": {
"collapsed": false
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 91
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
58
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
2.0000000000000004
]
},
{
"id": 32,
"type": "VHS_LoadVideo",
"pos": [
120.05851745605469,
397.98248291015625
],
"size": [
253.279296875,
310
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "frame_load_cap",
"type": "INT",
"widget": {
"name": "frame_load_cap"
},
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
86
]
},
{
"name": "frame_count",
"type": "INT",
"links": [
78
]
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"title": "上传遮罩合成视频",
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "sam2.1_00182.mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "Wan",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "sam2.1_00182.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 33,
"type": "VHS_LoadVideo",
"pos": [
112.58995056152344,
753.9783325195312
],
"size": [
253.279296875,
310
],
"flags": {},
"order": 0,
"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": [
85
]
},
{
"name": "frame_count",
"type": "INT",
"links": [
76
]
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"title": "上传遮罩视频(黑白那个)",
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "sam2.1_00181.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "Wan",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "sam2.1_00181.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": 35,
"type": "GrowMask",
"pos": [
722.2931518554688,
1093.416015625
],
"size": [
270,
82
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 79
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "GrowMask"
},
"widgets_values": [
5,
true
]
},
{
"id": 6,
"type": "CLIPLoader",
"pos": [
111.71733093261719,
1112.0469970703125
],
"size": [
210,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
92,
93
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"cpu"
]
},
{
"id": 8,
"type": "UNETLoader",
"pos": [
153.8439178466797,
269.8687438964844
],
"size": [
210,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
91
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"Wan2.1_T2V_14B_FusionX_VACE-FP8_e4m3fn.safetensors",
"default"
]
},
{
"id": 15,
"type": "CLIPTextEncode",
"pos": [
451.8983154296875,
311.4078674316406
],
"size": [
494.83367919921875,
119.57742309570312
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 93
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
18
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"赤身裸体的亚洲女子,主观视角,她抖动着胸部,乳房剧烈晃动。bustygrid. a completely naked asian woman with pale skin and huge breasts. she has straight dark hair. she is completely naked, and wearing pointed stilleto heels. bare legs, bare calf, sky-high heeled pumps. remove all clothes. "
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 2,
"type": "CLIPTextEncode",
"pos": [
453.97589111328125,
487.16363525390625
],
"size": [
486.9105529785156,
107.89899444580078
],
"flags": {
"collapsed": false
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 92
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
19
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"白种人,黑种人,阴部遮挡,内裤,六根手指,低像素,模糊,像素点,多余的手臂,肢体扭曲,手指模糊,脸部改变,色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 3,
"type": "VAELoader",
"pos": [
433.6892395019531,
643.1557006835938
],
"size": [
210,
58
],
"flags": {
"collapsed": false
},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
16,
20
]
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"Wan2.1_VAE.safetensors"
]
},
{
"id": 17,
"type": "WanVaceToVideo",
"pos": [
706.262939453125,
658.4074096679688
],
"size": [
224.32986450195312,
254
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 18
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 20
},
{
"name": "control_video",
"shape": 7,
"type": "IMAGE",
"link": 86
},
{
"name": "control_masks",
"shape": 7,
"type": "MASK",
"link": 80
},
{
"name": "reference_image",
"shape": 7,
"type": "IMAGE",
"link": 22
},
{
"name": "length",
"type": "INT",
"widget": {
"name": "length"
},
"link": 78
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
12
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
13
]
},
{
"name": "latent",
"type": "LATENT",
"links": [
14
]
},
{
"name": "trim_latent",
"type": "INT",
"links": [
10
]
}
],
"properties": {
"Node name for S&R": "WanVaceToVideo"
},
"widgets_values": [
480,
320,
49,
1,
1.0000000000000002
]
},
{
"id": 12,
"type": "TrimVideoLatent",
"pos": [
746.625,
985.3895874023438
],
"size": [
226.2460174560547,
58
],
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 9
},
{
"name": "trim_amount",
"type": "INT",
"widget": {
"name": "trim_amount"
},
"link": 10
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
15
]
}
],
"properties": {
"Node name for S&R": "TrimVideoLatent"
},
"widgets_values": [
0
]
},
{
"id": 13,
"type": "KSampler",
"pos": [
985.894775390625,
349.17340087890625
],
"size": [
210,
605.3333129882812
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 58
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 12
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 13
},
{
"name": "latent_image",
"type": "LATENT",
"link": 14
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
109768395777514,
"randomize",
10,
1,
"uni_pc_bh2",
"simple",
1
]
},
{
"id": 14,
"type": "VAEDecode",
"pos": [
973.5802612304688,
1001.729736328125
],
"size": [
208.16270446777344,
46
],
"flags": {
"collapsed": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 15
},
{
"name": "vae",
"type": "VAE",
"link": 16
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
3
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 4,
"type": "VHS_VideoCombine",
"pos": [
1219.9688720703125,
358.5111389160156
],
"size": [
239.620361328125,
310
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 3
},
{
"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": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "wan2.1",
"format": "video/h265-mp4",
"pix_fmt": "yuv420p10le",
"crf": 5,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "wan2.1_00518.mp4",
"subfolder": "",
"type": "output",
"format": "video/h265-mp4",
"frame_rate": 16,
"workflow": "wan2.1_00518.png",
"fullpath": "E:\\comfyui3\\ComfyUI\\output\\wan2.1_00518.mp4"
}
}
}
},
{
"id": 25,
"type": "ImageToMask",
"pos": [
403.78155517578125,
1100.6531982421875
],
"size": [
270,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 85
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
79
]
}
],
"properties": {
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 5,
"type": "LoadImage",
"pos": [
-272.46954345703125,
357.37689208984375
],
"size": [
335.15673828125,
709.6021728515625
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfUI_287879_.png",
"image"
]
}
],
"links": [
[
3,
14,
0,
4,
0,
"IMAGE"
],
[
9,
13,
0,
12,
0,
"LATENT"
],
[
10,
17,
3,
12,
1,
"INT"
],
[
12,
17,
0,
13,
1,
"CONDITIONING"
],
[
13,
17,
1,
13,
2,
"CONDITIONING"
],
[
14,
17,
2,
13,
3,
"LATENT"
],
[
15,
12,
0,
14,
0,
"LATENT"
],
[
16,
3,
0,
14,
1,
"VAE"
],
[
18,
15,
0,
17,
0,
"CONDITIONING"
],
[
19,
2,
0,
17,
1,
"CONDITIONING"
],
[
20,
3,
0,
17,
2,
"VAE"
],
[
22,
5,
0,
17,
5,
"IMAGE"
],
[
58,
11,
0,
13,
0,
"MODEL"
],
[
76,
33,
1,
32,
2,
"INT"
],
[
78,
32,
1,
17,
6,
"INT"
],
[
79,
25,
0,
35,
0,
"MASK"
],
[
80,
35,
0,
17,
4,
"MASK"
],
[
85,
33,
0,
25,
0,
"IMAGE"
],
[
86,
32,
0,
17,
3,
"IMAGE"
],
[
91,
8,
0,
11,
0,
"MODEL"
],
[
92,
6,
0,
2,
0,
"CLIP"
],
[
93,
6,
0,
15,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0152559799477145,
"offset": [
564.1931902142793,
-170.45932466624348
]
},
"frontendVersion": "1.25.11",
"node_versions": {
"comfy-core": "0.3.56",
"ComfyUI-VideoHelperSuite": "972c87da577b47211c4e9aeed30dc38c7bae607f"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}