Files
siraxe-ComfyUI-WanVideoWrap…/git_assets/examples/frame_replace.json
T
2025-10-10 05:14:31 +01:00

722 lines
13 KiB
JSON

{
"id": "418ab142-d22f-431b-8162-0687f32740b1",
"revision": 0,
"last_node_id": 66,
"last_link_id": 57,
"nodes": [
{
"id": 62,
"type": "ImageResizeKJv2",
"pos": [
1958.7314453125,
-93.53105163574219
],
"size": [
270,
286
],
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 49
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 47
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 48
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
50
]
},
{
"name": "width",
"type": "INT",
"links": [
51
]
},
{
"name": "height",
"type": "INT",
"links": [
52
]
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "3fcd22f2fe2be69c3229f192362b91888277cbcb",
"Node name for S&R": "ImageResizeKJv2",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": [
512,
512,
"nearest-exact",
"stretch",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 59,
"type": "VHS_LoadVideo",
"pos": [
1958.7314453125,
147.46189880371094
],
"size": [
247.455078125,
474.30072021484375
],
"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": [
49
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "08e8df15db24da292d4b7f943c460dc2ab442b24",
"Node name for S&R": "VHS_LoadVideo",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": {
"video": "edf59be3b4eed9a5cebc132cdd0ac4c9-3870823317.gif",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 38,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "edf59be3b4eed9a5cebc132cdd0ac4c9-3870823317.gif",
"type": "input",
"format": "image/gif",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 38,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 61,
"type": "LoadImage",
"pos": [
2234.248046875,
54.671104431152344
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
46
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 60,
"type": "PreviewImage",
"pos": [
2525.27294921875,
54.671104431152344
],
"size": [
253.26478576660156,
292.2692565917969
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 45
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": []
},
{
"id": 65,
"type": "MaskPreview+",
"pos": [
2526.23974609375,
399.0574951171875
],
"size": [
252.1776885986328,
258
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 57
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
"Node name for S&R": "MaskPreview+",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": []
},
{
"id": 64,
"type": "ImageResizeKJv2",
"pos": [
1958.7314453125,
-58.567344665527344
],
"size": [
270,
286
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 54
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 51
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 52
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
53
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "3fcd22f2fe2be69c3229f192362b91888277cbcb",
"Node name for S&R": "ImageResizeKJv2",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": [
512,
512,
"nearest-exact",
"stretch",
"0, 0, 0",
"center",
1,
"cpu"
]
},
{
"id": 63,
"type": "INTConstant",
"pos": [
1958.7314453125,
-197.92054748535156
],
"size": [
210,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "value",
"type": "INT",
"links": [
47,
48
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "3fcd22f2fe2be69c3229f192362b91888277cbcb",
"Node name for S&R": "INTConstant",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": [
704
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 54,
"type": "ImageBatchMulti",
"pos": [
1958.7314453125,
-15.594042778015137
],
"size": [
264.2005310058594,
122
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 46
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "image_3",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
54
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "3fcd22f2fe2be69c3229f192362b91888277cbcb",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": [
3,
null
]
},
{
"id": 66,
"type": "InvertMask",
"pos": [
2365.2783203125,
430.400634765625
],
"size": [
140,
26
],
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 56
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
57
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "InvertMask",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": []
},
{
"id": 52,
"type": "WanVideoVACEFrameReplace",
"pos": [
2237.094482421875,
-223.34976196289062
],
"size": [
400.9664611816406,
228.03053283691406
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 50
},
{
"name": "replacement_images",
"shape": 7,
"type": "IMAGE",
"link": 53
},
{
"name": "replacement_masks",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "video",
"type": "IMAGE",
"links": [
45
]
},
{
"name": "mask",
"type": "MASK",
"links": [
56
]
},
{
"name": "middle_frames",
"type": "STRING",
"links": null
}
],
"properties": {
"aux_id": "ComfyUI-WanVideoWrapper_QQ",
"ver": "7f11d4a3af73b8671d171f4fdea42bc8cde2288a",
"Node name for S&R": "WanVideoVACEFrameReplace",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.2"
}
},
"widgets_values": [
"2-5-3+\n13-17\n25",
0.5,
-1,
0
]
}
],
"links": [
[
45,
52,
0,
60,
0,
"IMAGE"
],
[
46,
61,
0,
54,
0,
"IMAGE"
],
[
47,
63,
0,
62,
2,
"INT"
],
[
48,
63,
0,
62,
3,
"INT"
],
[
49,
59,
0,
62,
0,
"IMAGE"
],
[
50,
62,
0,
52,
0,
"IMAGE"
],
[
51,
62,
1,
64,
2,
"INT"
],
[
52,
62,
2,
64,
3,
"INT"
],
[
53,
64,
0,
52,
1,
"IMAGE"
],
[
54,
54,
0,
64,
0,
"IMAGE"
],
[
56,
52,
1,
66,
0,
"MASK"
],
[
57,
66,
0,
65,
0,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8360290092531445,
"offset": [
-1575.4914212213284,
378.3750866849813
]
},
"ue_links": [],
"links_added_by_ue": [],
"frontendVersion": "1.27.10",
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 8,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}