Files
2026-04-10 09:57:07 -04:00

1485 lines
28 KiB
JSON

{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 77,
"last_link_id": 119,
"nodes": [
{
"id": 53,
"type": "SAM3Propagate",
"pos": [
525.1953394984408,
788.1150390952442
],
"size": [
282.671875,
218.65625
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "sam3_model_config",
"type": "SAM3_MODEL_CONFIG",
"link": 67
},
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"link": 68
}
],
"outputs": [
{
"name": "masks",
"type": "SAM3_VIDEO_MASKS",
"links": [
66
]
},
{
"name": "scores",
"type": "SAM3_VIDEO_SCORES",
"links": [
90
]
},
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"links": [
91
]
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "SAM3Propagate",
"widget_ue_connectable": {}
},
"widgets_values": [
0,
-1,
"both"
]
},
{
"id": 57,
"type": "SAM3Propagate",
"pos": [
525.72011396924,
1080.8491411563352
],
"size": [
282.671875,
218.65625
],
"flags": {},
"order": 10,
"mode": 4,
"inputs": [
{
"name": "sam3_model_config",
"type": "SAM3_MODEL_CONFIG",
"link": 87
},
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"link": 69
}
],
"outputs": [
{
"name": "masks",
"type": "SAM3_VIDEO_MASKS",
"links": [
70
]
},
{
"name": "scores",
"type": "SAM3_VIDEO_SCORES",
"links": [
92
]
},
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"links": [
93
]
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "SAM3Propagate",
"widget_ue_connectable": {}
},
"widgets_values": [
0,
-1,
"both"
]
},
{
"id": 44,
"type": "VoidLoadVAE",
"pos": [
1673.478673060915,
653.0553656850931
],
"size": [
226.99576436767939,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VOID_VAE",
"type": "VOID_VAE",
"links": [
51
]
}
],
"properties": {
"Node name for S&R": "VoidLoadVAE",
"widget_ue_connectable": {}
},
"widgets_values": [
"CogVideoX-Fun-V1.5-5b-InP-vae.safetensors"
]
},
{
"id": 42,
"type": "VoidLoader",
"pos": [
2013.3778511039022,
658.7467168489607
],
"size": [
294.5,
126
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "void_vae",
"type": "VOID_VAE",
"link": 51
},
{
"name": "void_text_encoder",
"type": "VOID_TEXT_ENCODER",
"link": 53
}
],
"outputs": [
{
"name": "VOID_PIPELINE",
"type": "VOID_PIPELINE",
"links": [
98
]
}
],
"properties": {
"Node name for S&R": "VoidLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"void_pass1.safetensors",
"void_pass2.safetensors",
"cpu offload (~16 GB)"
]
},
{
"id": 58,
"type": "SAM3VideoOutput",
"pos": [
843.6991652995212,
1092.8076256448078
],
"size": [
270,
180
],
"flags": {},
"order": 12,
"mode": 4,
"inputs": [
{
"name": "masks",
"type": "SAM3_VIDEO_MASKS",
"link": 70
},
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"link": 93
},
{
"name": "scores",
"shape": 7,
"type": "SAM3_VIDEO_SCORES",
"link": 92
}
],
"outputs": [
{
"name": "masks",
"type": "MASK",
"links": [
75
]
},
{
"name": "frames",
"type": "IMAGE",
"links": null
},
{
"name": "visualization",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "SAM3VideoOutput",
"widget_ue_connectable": {}
},
"widgets_values": [
-1,
true
]
},
{
"id": 54,
"type": "SAM3VideoOutput",
"pos": [
842.8093095430747,
792.4318483778605
],
"size": [
270,
180
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "masks",
"type": "SAM3_VIDEO_MASKS",
"link": 66
},
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"link": 91
},
{
"name": "scores",
"shape": 7,
"type": "SAM3_VIDEO_SCORES",
"link": 90
}
],
"outputs": [
{
"name": "masks",
"type": "MASK",
"links": [
73
]
},
{
"name": "frames",
"type": "IMAGE",
"links": null
},
{
"name": "visualization",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "SAM3VideoOutput",
"widget_ue_connectable": {}
},
"widgets_values": [
-1,
true
]
},
{
"id": 59,
"type": "SAM3VideoSegmentation",
"pos": [
205.23869490185785,
1084.4855370303585
],
"size": [
277.453125,
150
],
"flags": {},
"order": 8,
"mode": 4,
"inputs": [
{
"name": "video_frames",
"shape": 7,
"type": "IMAGE",
"link": 112
},
{
"name": "video",
"shape": 7,
"type": "VIDEO",
"link": null
}
],
"outputs": [
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"links": [
69
]
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "SAM3VideoSegmentation",
"widget_ue_connectable": {}
},
"widgets_values": [
"text",
"",
0,
0.3
]
},
{
"id": 77,
"type": "ImageResizeKJv2",
"pos": [
-296.6431761502326,
603.4310924475424
],
"size": [
270,
414.625
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 115
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
111,
112,
113
]
},
{
"name": "width",
"type": "INT",
"links": [
116
]
},
{
"name": "height",
"type": "INT",
"links": [
117
]
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {}
},
"widgets_values": [
672,
384,
"nearest-exact",
"stretch",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 60,
"type": "BlockifyMask",
"pos": [
1156.7974513148476,
1098.5022099743167
],
"size": [
270,
138.65625
],
"flags": {},
"order": 13,
"mode": 4,
"inputs": [
{
"name": "masks",
"type": "MASK",
"link": 75
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
119
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
"Node name for S&R": "BlockifyMask",
"widget_ue_connectable": {}
},
"widgets_values": [
32,
"cpu"
]
},
{
"id": 56,
"type": "SAM3VideoSegmentation",
"pos": [
197.36463258542213,
823.8199248161268
],
"size": [
277.453125,
150
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "video_frames",
"shape": 7,
"type": "IMAGE",
"link": 111
},
{
"name": "video",
"shape": 7,
"type": "VIDEO",
"link": null
}
],
"outputs": [
{
"name": "video_state",
"type": "SAM3_VIDEO_STATE",
"links": [
68
]
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "SAM3VideoSegmentation",
"widget_ue_connectable": {}
},
"widgets_values": [
"text",
"pillows",
0,
0.3
]
},
{
"id": 55,
"type": "LoadSAM3Model",
"pos": [
197.09691502823617,
609.238935304793
],
"size": [
270,
134.65625
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "sam3_model_config",
"type": "SAM3_MODEL_CONFIG",
"links": [
67,
87
]
}
],
"properties": {
"cnr_id": "comfyui-sam3",
"ver": "0.1.6",
"Node name for S&R": "LoadSAM3Model",
"widget_ue_connectable": {}
},
"widgets_values": [
"auto",
false
]
},
{
"id": 48,
"type": "VoidQuadmaskBuilder",
"pos": [
1255.5752155560215,
782.6248130562832
],
"size": [
225,
96
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "primary_mask",
"type": "MASK",
"link": 73
},
{
"name": "affected_mask",
"shape": 7,
"type": "MASK",
"link": 119
}
],
"outputs": [
{
"name": "QUADMASK",
"type": "IMAGE",
"links": [
77,
100
]
}
],
"properties": {
"Node name for S&R": "VoidQuadmaskBuilder",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 46,
"type": "VoidLoadTextEncoder",
"pos": [
1665.0200843283872,
786.7709543222517
],
"size": [
243.1223527297998,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VOID_TEXT_ENCODER",
"type": "VOID_TEXT_ENCODER",
"links": [
53
]
}
],
"properties": {
"Node name for S&R": "VoidLoadTextEncoder",
"widget_ue_connectable": {}
},
"widgets_values": [
"t5xxl_fp8_e4m3fn.safetensors"
]
},
{
"id": 74,
"type": "VoidInference",
"pos": [
1973.814604068316,
875.610079730783
],
"size": [
400,
576
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "void_pipeline",
"type": "VOID_PIPELINE",
"link": 98
},
{
"name": "video",
"type": "IMAGE",
"link": 113
},
{
"name": "quadmask",
"type": "IMAGE",
"link": 100
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 116
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 117
},
{
"name": "num_frames",
"type": "INT",
"widget": {
"name": "num_frames"
},
"link": 118
}
],
"outputs": [
{
"name": "Pass 1",
"type": "IMAGE",
"links": [
101
]
},
{
"name": "Pass 2",
"type": "IMAGE",
"links": [
102
]
}
],
"properties": {
"Node name for S&R": "VoidInference",
"widget_ue_connectable": {}
},
"widgets_values": [
"two kids jumping on a bed",
"The video is not of a high quality, it has a low resolution. Watermark present in each frame. The background is solid. Strange body and strange trajectory. Distortion. ",
576,
544,
85,
50,
778709723,
"fixed",
1,
1,
true,
6,
""
]
},
{
"id": 8,
"type": "VHS_LoadVideo",
"pos": [
-614.5508856632708,
596.1149665898913
],
"size": [
255.8291015625,
456.1844645700637
],
"flags": {},
"order": 3,
"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": [
115
]
},
{
"name": "frame_count",
"type": "INT",
"links": [
118
]
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": [
83
]
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "449839959f0153fb8a57211a9364c55163935ca9",
"Node name for S&R": "VHS_LoadVideo",
"widget_ue_connectable": {}
},
"widgets_values": {
"video": "bedroom.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 85,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "bedroom.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 85,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 67,
"type": "VHS_VideoInfo",
"pos": [
-291.8421508859648,
1076.0393151215167
],
"size": [
266.46807063130404,
206
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"link": 83
}
],
"outputs": [
{
"name": "source_fps🟨",
"type": "FLOAT",
"links": [
84,
96,
97
]
},
{
"name": "source_frame_count🟨",
"type": "INT",
"links": null
},
{
"name": "source_duration🟨",
"type": "FLOAT",
"links": null
},
{
"name": "source_width🟨",
"type": "INT",
"links": []
},
{
"name": "source_height🟨",
"type": "INT",
"links": []
},
{
"name": "loaded_fps🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_frame_count🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_duration🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_width🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_height🟦",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "449839959f0153fb8a57211a9364c55163935ca9",
"Node name for S&R": "VHS_VideoInfo",
"widget_ue_connectable": {}
},
"widgets_values": {}
},
{
"id": 61,
"type": "VHS_VideoCombine",
"pos": [
1337.5617214468605,
1400.1013569687534
],
"size": [
225,
310
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 77
},
{
"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
},
{
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": 84
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "449839959f0153fb8a57211a9364c55163935ca9",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {}
},
"widgets_values": {
"frame_rate": 30,
"loop_count": 0,
"filename_prefix": "void_quadmask",
"format": "video/h265-mp4",
"pix_fmt": "yuv420p10le",
"crf": 22,
"save_metadata": true,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "void_quadmask_00003.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h265-mp4",
"frame_rate": 30,
"workflow": "void_quadmask_00003.png",
"fullpath": "F:\\APPS\\STABLEDIFFUSION\\ComfyUI\\ComfyUI\\temp\\void_quadmask_00003.mp4"
}
}
}
},
{
"id": 72,
"type": "VHS_VideoCombine",
"pos": [
2867.9064614392887,
661.969611539663
],
"size": [
253.480970158309,
310
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 102
},
{
"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
},
{
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": 96
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "449839959f0153fb8a57211a9364c55163935ca9",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {}
},
"widgets_values": {
"frame_rate": 30,
"loop_count": 0,
"filename_prefix": "void",
"format": "video/h265-mp4",
"pix_fmt": "yuv420p10le",
"crf": 22,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "void_00002.mp4",
"subfolder": "",
"type": "output",
"format": "video/h265-mp4",
"frame_rate": 30,
"workflow": "void_00002.png",
"fullpath": "F:\\APPS\\STABLEDIFFUSION\\ComfyUI\\ComfyUI\\output\\void_00002.mp4"
}
}
}
},
{
"id": 71,
"type": "VHS_VideoCombine",
"pos": [
2575.3481058237576,
663.7042771828052
],
"size": [
242.73924187854618,
310
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 101
},
{
"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
},
{
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": 97
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "449839959f0153fb8a57211a9364c55163935ca9",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {}
},
"widgets_values": {
"frame_rate": 30,
"loop_count": 0,
"filename_prefix": "void_pass1",
"format": "video/h265-mp4",
"pix_fmt": "yuv420p10le",
"crf": 22,
"save_metadata": true,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "void_pass1_00002.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h265-mp4",
"frame_rate": 30,
"workflow": "void_pass1_00002.png",
"fullpath": "F:\\APPS\\STABLEDIFFUSION\\ComfyUI\\ComfyUI\\temp\\void_pass1_00002.mp4"
}
}
}
}
],
"links": [
[
51,
44,
0,
42,
0,
"VOID_VAE"
],
[
53,
46,
0,
42,
1,
"VOID_TEXT_ENCODER"
],
[
66,
53,
0,
54,
0,
"SAM3_VIDEO_MASKS"
],
[
67,
55,
0,
53,
0,
"SAM3_MODEL_CONFIG"
],
[
68,
56,
0,
53,
1,
"SAM3_VIDEO_STATE"
],
[
69,
59,
0,
57,
1,
"SAM3_VIDEO_STATE"
],
[
70,
57,
0,
58,
0,
"SAM3_VIDEO_MASKS"
],
[
73,
54,
0,
48,
0,
"MASK"
],
[
75,
58,
0,
60,
0,
"MASK"
],
[
77,
48,
0,
61,
0,
"IMAGE"
],
[
83,
8,
3,
67,
0,
"VHS_VIDEOINFO"
],
[
84,
67,
0,
61,
4,
"FLOAT"
],
[
87,
55,
0,
57,
0,
"SAM3_MODEL_CONFIG"
],
[
90,
53,
1,
54,
2,
"SAM3_VIDEO_SCORES"
],
[
91,
53,
2,
54,
1,
"SAM3_VIDEO_STATE"
],
[
92,
57,
1,
58,
2,
"SAM3_VIDEO_SCORES"
],
[
93,
57,
2,
58,
1,
"SAM3_VIDEO_STATE"
],
[
96,
67,
0,
72,
4,
"FLOAT"
],
[
97,
67,
0,
71,
4,
"FLOAT"
],
[
98,
42,
0,
74,
0,
"VOID_PIPELINE"
],
[
100,
48,
0,
74,
2,
"IMAGE"
],
[
101,
74,
0,
71,
0,
"IMAGE"
],
[
102,
74,
1,
72,
0,
"IMAGE"
],
[
111,
77,
0,
56,
0,
"IMAGE"
],
[
112,
77,
0,
59,
0,
"IMAGE"
],
[
113,
77,
0,
74,
1,
"IMAGE"
],
[
115,
8,
0,
77,
0,
"IMAGE"
],
[
116,
77,
1,
74,
3,
"INT"
],
[
117,
77,
2,
74,
4,
"INT"
],
[
118,
8,
1,
74,
5,
"INT"
],
[
119,
60,
0,
48,
1,
"MASK"
]
],
"groups": [
{
"id": 1,
"title": "SAM3 QUADMASK MAKER",
"bounding": [
164.21711676887554,
488.0558947223938,
1410.9165764510312,
832.7828269138254
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "VOID INFERENCE",
"bounding": [
1639.9930290277148,
490.14386527660656,
848.0263099691065,
1038.2310961987907
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "INPUT VIDEO",
"bounding": [
-770.9227339787799,
487.05453986564095,
879.1350782727515,
838.8453470266916
],
"color": "#8A8",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ue_links": [],
"ds": {
"scale": 0.5073497538180965,
"offset": [
465.4135682927102,
-45.54451977738395
]
},
"links_added_by_ue": [],
"frontendVersion": "1.41.21",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}