ComfyUI/blueprints/Video Inpaint(Wan2.1 VACE).json
Terry Jia 50076f3439
format blueprint (#13315)
Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-04-06 23:33:55 -04:00

2388 lines
61 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "2f429c60-2e03-4117-908b-31e1fab04bba",
"revision": 0,
"last_node_id": 229,
"last_link_id": 366,
"nodes": [
{
"id": 229,
"type": "53a657f3-c9eb-40f2-9ebd-1ed77d25ed67",
"pos": [
-230,
160
],
"size": [
400,
480
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"label": "video mask",
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": null
},
{
"localized_name": "video",
"name": "video",
"type": "VIDEO",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
},
{
"label": "reference image",
"name": "reference_image_1",
"type": "IMAGE",
"link": null
},
{
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
},
{
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
},
{
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "VIDEO",
"name": "VIDEO",
"type": "VIDEO",
"links": []
}
],
"properties": {
"proxyWidgets": [
[
"6",
"text"
],
[
"-1",
"width"
],
[
"-1",
"height"
],
[
"3",
"seed"
],
[
"3",
"control_after_generate"
],
[
"-1",
"unet_name"
],
[
"-1",
"lora_name"
],
[
"-1",
"clip_name"
],
[
"-1",
"vae_name"
]
],
"cnr_id": "comfy-core",
"ver": "0.13.0"
},
"widgets_values": [
null,
720,
720,
null,
null,
"wan2.1_vace_14B_fp16.safetensors",
"Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan_2.1_vae.safetensors"
]
}
],
"links": [],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "53a657f3-c9eb-40f2-9ebd-1ed77d25ed67",
"version": 1,
"state": {
"lastGroupId": 25,
"lastNodeId": 229,
"lastLinkId": 366,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "local-Video Inpaint(Wan2.1 VACE)",
"inputNode": {
"id": -10,
"bounding": [
-970,
800,
132.54296875,
220
]
},
"outputNode": {
"id": -20,
"bounding": [
1480,
535,
120,
60
]
},
"inputs": [
{
"id": "9fdda38d-6aa7-48ad-b425-f493d8aa585c",
"name": "mask",
"type": "MASK",
"linkIds": [
351,
335,
345
],
"localized_name": "mask",
"label": "video mask",
"pos": [
-857.45703125,
820
]
},
{
"id": "8b1788cc-46d2-4f40-8b33-70fd56b4cb24",
"name": "video",
"type": "VIDEO",
"linkIds": [
336
],
"localized_name": "video",
"pos": [
-857.45703125,
840
]
},
{
"id": "09393f21-257e-4476-bb02-54899a8252b8",
"name": "width",
"type": "INT",
"linkIds": [
355
],
"pos": [
-857.45703125,
860
]
},
{
"id": "07a030f7-7eac-4b3f-b8f3-f00ee87b191d",
"name": "height",
"type": "INT",
"linkIds": [
356
],
"pos": [
-857.45703125,
880
]
},
{
"id": "255908d3-6cc9-48fc-b76b-ab9fb72695bc",
"name": "reference_image_1",
"type": "IMAGE",
"linkIds": [
361
],
"label": "reference image",
"pos": [
-857.45703125,
900
]
},
{
"id": "18a5d241-523c-433d-ae05-25b6e69d1e29",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
363
],
"pos": [
-857.45703125,
920
]
},
{
"id": "d7576e1b-da5f-402f-81b2-d37f838b1f8f",
"name": "lora_name",
"type": "COMBO",
"linkIds": [
364
],
"pos": [
-857.45703125,
940
]
},
{
"id": "41676a3e-c710-4723-821e-f651ad3784b1",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
365
],
"pos": [
-857.45703125,
960
]
},
{
"id": "41fc878c-9aa6-4c12-bef3-ceda6b094b7c",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
366
],
"pos": [
-857.45703125,
980
]
}
],
"outputs": [
{
"id": "d4861f39-1011-49dc-80fd-ee318b614a8d",
"name": "VIDEO",
"type": "VIDEO",
"linkIds": [
129
],
"localized_name": "VIDEO",
"pos": [
1500,
555
]
}
],
"widgets": [],
"nodes": [
{
"id": 58,
"type": "TrimVideoLatent",
"pos": [
760,
390
],
"size": [
315,
60
],
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 116
},
{
"localized_name": "trim_amount",
"name": "trim_amount",
"type": "INT",
"widget": {
"name": "trim_amount"
},
"link": 115
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
117
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "TrimVideoLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {
"trim_amount": true
}
},
"widgets_values": [
0
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
770,
500
],
"size": [
315,
46
],
"flags": {
"collapsed": false
},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 117
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
139
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 48,
"type": "ModelSamplingSD3",
"pos": [
400,
50
],
"size": [
315,
58
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 279
},
{
"localized_name": "shift",
"name": "shift",
"type": "FLOAT",
"widget": {
"name": "shift"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
280
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ModelSamplingSD3",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
5
]
},
{
"id": 219,
"type": "InvertMask",
"pos": [
400,
990
],
"size": [
140,
26
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 351
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
352
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "InvertMask"
},
"widgets_values": []
},
{
"id": 216,
"type": "MaskToImage",
"pos": [
560,
990
],
"size": [
193.2779296875,
26
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 352
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
334
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 213,
"type": "RebatchImages",
"pos": [
410,
690
],
"size": [
230,
60
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 360
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": 340
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"shape": 6,
"type": "IMAGE",
"links": [
333
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "RebatchImages"
},
"widgets_values": [
1
]
},
{
"id": 68,
"type": "CreateVideo",
"pos": [
1150,
50
],
"size": [
270,
78
],
"flags": {
"collapsed": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 139
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 362
},
{
"localized_name": "fps",
"name": "fps",
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 353
}
],
"outputs": [
{
"localized_name": "VIDEO",
"name": "VIDEO",
"type": "VIDEO",
"links": [
129
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "CreateVideo",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
16
]
},
{
"id": 208,
"type": "ImageCompositeMasked",
"pos": [
410,
790
],
"size": [
230,
146
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "destination",
"name": "destination",
"type": "IMAGE",
"link": 333
},
{
"localized_name": "source",
"name": "source",
"type": "IMAGE",
"link": 334
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 335
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
},
"link": null
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
},
"link": null
},
{
"localized_name": "resize_source",
"name": "resize_source",
"type": "BOOLEAN",
"widget": {
"name": "resize_source"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
341,
344
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
true
]
},
{
"id": 214,
"type": "PreviewImage",
"pos": [
760,
690
],
"size": [
300,
300
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 341
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 111,
"type": "MaskToImage",
"pos": [
20,
1270
],
"size": [
240,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 345
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
201
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "MaskToImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 129,
"type": "RepeatImageBatch",
"pos": [
20,
1160
],
"size": [
240,
60
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 201
},
{
"localized_name": "amount",
"name": "amount",
"type": "INT",
"widget": {
"name": "amount"
},
"link": 346
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
202
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "RepeatImageBatch",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {
"amount": true
}
},
"widgets_values": [
17
]
},
{
"id": 130,
"type": "ImageToMask",
"pos": [
20,
1050
],
"size": [
240,
60
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 202
},
{
"localized_name": "channel",
"name": "channel",
"type": "COMBO",
"widget": {
"name": "channel"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
349
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageToMask",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"red"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
770,
50
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 280
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 98
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 99
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 160
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
116
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "KSampler",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
584027519362099,
"randomize",
4,
1,
"uni_pc",
"simple",
1
]
},
{
"id": 224,
"type": "MarkdownNote",
"pos": [
420,
-160
],
"size": [
310,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "About Video Size",
"properties": {},
"widgets_values": [
"| Model | 480P | 720P |\n| ------------------------------------------------------------ | ---- | ---- |\n| [VACE-1.3B](https://huggingface.co/Wan-AI/Wan2.1-VACE-1.3B) | ✅ | ❌ |\n| [VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B) | ✅ | ✅ |"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 223,
"type": "MarkdownNote",
"pos": [
770,
-210
],
"size": [
303.90106201171875,
158.5415802001953
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "KSampler Setting",
"properties": {},
"widgets_values": [
"## Default\n\n- steps:20\n- cfg:6.0\n\n## For CausVid LoRA\n\n- steps: 2-4\n- cfg: 1.0\n\n"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-80,
60
],
"size": [
420,
280
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 74
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
96
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 140,
"type": "UNETLoader",
"pos": [
-505.8336486816406,
88.22794342041016
],
"size": [
360,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 363
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
248
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "wan2.1_vace_14B_fp16.safetensors",
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"wan2.1_vace_14B_fp16.safetensors",
"fp8_e4m3fn_fast"
]
},
{
"id": 154,
"type": "LoraLoaderModelOnly",
"pos": [
-505.8336486816406,
228.2279510498047
],
"size": [
360,
85.11004638671875
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 248
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": 364
},
{
"localized_name": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
279
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "LoraLoaderModelOnly",
"models": [
{
"name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
"url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
0.30000000000000004
]
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-499.14141845703125,
368.0911865234375
],
"size": [
360,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 365
},
{
"localized_name": "type",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
},
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
74,
75
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "CLIPLoader",
"models": [
{
"name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
]
},
{
"id": 39,
"type": "VAELoader",
"pos": [
-498.5298156738281,
517.2576293945312
],
"size": [
360,
60
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 366
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
76,
101
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "wan_2.1_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"wan_2.1_vae.safetensors"
]
},
{
"id": 221,
"type": "MarkdownNote",
"pos": [
380,
1090
],
"size": [
480,
170
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "[EN] About video mask",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"Currently, it's difficult to perfectly draw dynamic masks for different frames using only core nodes. However, to avoid requiring users to install additional custom nodes, our templates only use core nodes. You can refer to this implementation idea to achieve video inpainting.\n\nYou can use KJNodes Points Editor and Sam2Segmentation to create some dynamic mask functions.\n\nCustom node links:\n- [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes)\n- [ComfyUI-segment-anything-2](https://github.com/kijai/ComfyUI-segment-anything-2)"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-80,
390
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 75
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
97
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"过曝静态细节模糊不清字幕风格作品画作画面静止整体发灰最差质量低质量JPEG压缩残留丑陋的残缺的多余的手指画得不好的手部画得不好的脸部畸形的毁容的形态畸形的肢体手指融合静止不动的画面杂乱的背景三条腿背景人很多倒着走,过曝,"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 229,
"type": "ImageFromBatch",
"pos": [
-510,
800
],
"size": [
270,
82
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 358
},
{
"localized_name": "batch_index",
"name": "batch_index",
"type": "INT",
"widget": {
"name": "batch_index"
},
"link": null
},
{
"localized_name": "length",
"name": "length",
"type": "INT",
"widget": {
"name": "length"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
359,
360
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.13.0",
"Node name for S&R": "ImageFromBatch"
},
"widgets_values": [
0,
81
]
},
{
"id": 49,
"type": "WanVaceToVideo",
"pos": [
400,
200
],
"size": [
315,
254
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 96
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 97
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 101
},
{
"localized_name": "control_video",
"name": "control_video",
"shape": 7,
"type": "IMAGE",
"link": 344
},
{
"localized_name": "control_masks",
"name": "control_masks",
"shape": 7,
"type": "MASK",
"link": 349
},
{
"localized_name": "reference_image",
"name": "reference_image",
"shape": 7,
"type": "IMAGE",
"link": 361
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 355
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 356
},
{
"localized_name": "length",
"name": "length",
"type": "INT",
"widget": {
"name": "length"
},
"link": null
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
},
"link": null
}
],
"outputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"links": [
98
]
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"links": [
99
]
},
{
"localized_name": "latent",
"name": "latent",
"type": "LATENT",
"links": [
160
]
},
{
"localized_name": "trim_latent",
"name": "trim_latent",
"type": "INT",
"links": [
115
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "WanVaceToVideo",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {
"width": true,
"height": true,
"length": true
}
},
"widgets_values": [
720,
720,
81,
1,
1
]
},
{
"id": 211,
"type": "GetImageSize",
"pos": [
70,
800
],
"size": [
190,
66
],
"flags": {
"collapsed": false
},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 359
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": null
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": [
340,
346
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 210,
"type": "GetVideoComponents",
"pos": [
-510,
690
],
"size": [
193.530859375,
66
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "video",
"name": "video",
"type": "VIDEO",
"link": 336
}
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"links": [
358
]
},
{
"localized_name": "audio",
"name": "audio",
"type": "AUDIO",
"links": [
362
]
},
{
"localized_name": "fps",
"name": "fps",
"type": "FLOAT",
"links": [
353
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "GetVideoComponents"
},
"widgets_values": []
}
],
"groups": [
{
"id": 1,
"title": "Step1 - Load models here",
"bounding": [
-540,
-30,
430,
620
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Prompt",
"bounding": [
-90,
-30,
450,
620
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Sampling & Decoding",
"bounding": [
380,
-30,
720,
620
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 10,
"title": "Repeat Mask Batch",
"bounding": [
-90,
910,
450,
460
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 21,
"title": "Get video info",
"bounding": [
-540,
610,
900,
290
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 22,
"title": "Composite video & masks",
"bounding": [
380,
610,
720,
420
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 23,
"title": "Step4 - Set video size & length",
"bounding": [
390,
130,
360,
340
],
"color": "#A88",
"font_size": 24,
"flags": {}
},
{
"id": 25,
"title": "14B",
"bounding": [
-520,
10,
380,
308.7100524902344
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 116,
"origin_id": 3,
"origin_slot": 0,
"target_id": 58,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 115,
"origin_id": 49,
"origin_slot": 3,
"target_id": 58,
"target_slot": 1,
"type": "INT"
},
{
"id": 117,
"origin_id": 58,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 76,
"origin_id": 39,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 279,
"origin_id": 154,
"origin_slot": 0,
"target_id": 48,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 352,
"origin_id": 219,
"origin_slot": 0,
"target_id": 216,
"target_slot": 0,
"type": "MASK"
},
{
"id": 340,
"origin_id": 211,
"origin_slot": 2,
"target_id": 213,
"target_slot": 1,
"type": "INT"
},
{
"id": 96,
"origin_id": 6,
"origin_slot": 0,
"target_id": 49,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 97,
"origin_id": 7,
"origin_slot": 0,
"target_id": 49,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 101,
"origin_id": 39,
"origin_slot": 0,
"target_id": 49,
"target_slot": 2,
"type": "VAE"
},
{
"id": 344,
"origin_id": 208,
"origin_slot": 0,
"target_id": 49,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 349,
"origin_id": 130,
"origin_slot": 0,
"target_id": 49,
"target_slot": 4,
"type": "MASK"
},
{
"id": 139,
"origin_id": 8,
"origin_slot": 0,
"target_id": 68,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 353,
"origin_id": 210,
"origin_slot": 2,
"target_id": 68,
"target_slot": 2,
"type": "FLOAT"
},
{
"id": 333,
"origin_id": 213,
"origin_slot": 0,
"target_id": 208,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 334,
"origin_id": 216,
"origin_slot": 0,
"target_id": 208,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 341,
"origin_id": 208,
"origin_slot": 0,
"target_id": 214,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 201,
"origin_id": 111,
"origin_slot": 0,
"target_id": 129,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 346,
"origin_id": 211,
"origin_slot": 2,
"target_id": 129,
"target_slot": 1,
"type": "INT"
},
{
"id": 202,
"origin_id": 129,
"origin_slot": 0,
"target_id": 130,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 280,
"origin_id": 48,
"origin_slot": 0,
"target_id": 3,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 98,
"origin_id": 49,
"origin_slot": 0,
"target_id": 3,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 99,
"origin_id": 49,
"origin_slot": 1,
"target_id": 3,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 160,
"origin_id": 49,
"origin_slot": 2,
"target_id": 3,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 74,
"origin_id": 38,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 248,
"origin_id": 140,
"origin_slot": 0,
"target_id": 154,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 75,
"origin_id": 38,
"origin_slot": 0,
"target_id": 7,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 351,
"origin_id": -10,
"origin_slot": 0,
"target_id": 219,
"target_slot": 0,
"type": "MASK"
},
{
"id": 335,
"origin_id": -10,
"origin_slot": 0,
"target_id": 208,
"target_slot": 2,
"type": "MASK"
},
{
"id": 345,
"origin_id": -10,
"origin_slot": 0,
"target_id": 111,
"target_slot": 0,
"type": "MASK"
},
{
"id": 336,
"origin_id": -10,
"origin_slot": 1,
"target_id": 210,
"target_slot": 0,
"type": "VIDEO"
},
{
"id": 129,
"origin_id": 68,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "VIDEO"
},
{
"id": 355,
"origin_id": -10,
"origin_slot": 2,
"target_id": 49,
"target_slot": 6,
"type": "INT"
},
{
"id": 356,
"origin_id": -10,
"origin_slot": 3,
"target_id": 49,
"target_slot": 7,
"type": "INT"
},
{
"id": 358,
"origin_id": 210,
"origin_slot": 0,
"target_id": 229,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 359,
"origin_id": 229,
"origin_slot": 0,
"target_id": 211,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 360,
"origin_id": 229,
"origin_slot": 0,
"target_id": 213,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 361,
"origin_id": -10,
"origin_slot": 4,
"target_id": 49,
"target_slot": 5,
"type": "IMAGE"
},
{
"id": 362,
"origin_id": 210,
"origin_slot": 1,
"target_id": 68,
"target_slot": 1,
"type": "AUDIO"
},
{
"id": 363,
"origin_id": -10,
"origin_slot": 5,
"target_id": 140,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 364,
"origin_id": -10,
"origin_slot": 6,
"target_id": 154,
"target_slot": 1,
"type": "COMBO"
},
{
"id": 365,
"origin_id": -10,
"origin_slot": 7,
"target_id": 38,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 366,
"origin_id": -10,
"origin_slot": 8,
"target_id": 39,
"target_slot": 0,
"type": "COMBO"
}
],
"extra": {
"workflowRendererVersion": "LG"
},
"category": "Video generation and editing/Inpaint video"
}
]
},
"config": {},
"extra": {
"workflowRendererVersion": "LG",
"ds": {
"scale": 0.8183828377358485,
"offset": [
1215.8643989712405,
178.87024992690183
]
}
},
"version": 0.4
}