Files
PozzettiAndrea-ComfyUI-SAM3/workflows/video_tracking.json
T
2026-02-10 02:49:49 +01:00

568 lines
10 KiB
JSON

{
"id": "14f2a0c1-688f-4460-82ec-a1ce3ee79220",
"revision": 0,
"last_node_id": 15,
"last_link_id": 13,
"nodes": [
{
"id": 5,
"type": "SAM3PropagateVideo",
"pos": [
1400,
100
],
"size": [
350,
200
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "session",
"type": "SAM3_VIDEO_SESSION",
"link": 5
}
],
"outputs": [
{
"name": "video_masks",
"type": "SAM3_VIDEO_MASKS",
"links": [
6
]
},
{
"name": "session",
"type": "SAM3_VIDEO_SESSION",
"links": [
8
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-SAM3",
"ver": "017c8fc2d12045abdf8c490cc5941bb81e188b1a",
"Node name for S&R": "SAM3PropagateVideo"
},
"widgets_values": [
"both",
0,
-1
]
},
{
"id": 4,
"type": "SAM3AddVideoPrompt",
"pos": [
950,
100
],
"size": [
400,
250
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "session",
"type": "SAM3_VIDEO_SESSION",
"link": 3
},
{
"name": "boxes",
"shape": 7,
"type": "SAM3_BOXES_PROMPT",
"link": null
},
{
"name": "points",
"shape": 7,
"type": "SAM3_POINTS_PROMPT",
"link": null
}
],
"outputs": [
{
"name": "session",
"type": "SAM3_VIDEO_SESSION",
"links": [
5
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-SAM3",
"ver": "017c8fc2d12045abdf8c490cc5941bb81e188b1a",
"Node name for S&R": "SAM3AddVideoPrompt"
},
"widgets_values": [
0,
"child",
1
]
},
{
"id": 9,
"type": "VHS_LoadVideo",
"pos": [
216.2265625,
383.62109375
],
"size": [
252.056640625,
455.031982421875
],
"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": [
9
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite",
"ver": "1.7.7",
"Node name for S&R": "VHS_LoadVideo",
"cnr_id": "comfyui-videohelpersuite"
},
"widgets_values": {
"video": "bedroom.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 30,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"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": 30,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 3,
"type": "SAM3InitVideoSession",
"pos": [
550,
100
],
"size": [
350,
342
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "video_model",
"type": "SAM3_VIDEO_MODEL",
"link": 1
},
{
"name": "video_frames",
"type": "IMAGE",
"link": 9
}
],
"outputs": [
{
"name": "session",
"type": "SAM3_VIDEO_SESSION",
"links": [
3
]
},
{
"name": "session_id",
"type": "STRING",
"links": []
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-SAM3",
"ver": "017c8fc2d12045abdf8c490cc5941bb81e188b1a",
"Node name for S&R": "SAM3InitVideoSession"
},
"widgets_values": [
"",
0.2,
0.2,
0,
0.1,
0.1,
5,
5,
10,
10,
true,
true
]
},
{
"id": 1,
"type": "SAM3VideoModelLoader",
"pos": [
100,
100
],
"size": [
400,
226
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "video_model",
"type": "SAM3_VIDEO_MODEL",
"links": [
1
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-SAM3",
"ver": "017c8fc2d12045abdf8c490cc5941bb81e188b1a",
"Node name for S&R": "SAM3VideoModelLoader"
},
"widgets_values": [
"",
"",
true
]
},
{
"id": 6,
"type": "SAM3VideoOutput",
"pos": [
1800,
100
],
"size": [
300,
150
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "video_masks",
"type": "SAM3_VIDEO_MASKS",
"link": 6
}
],
"outputs": [
{
"name": "masks",
"type": "MASK",
"links": [
11
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-SAM3",
"ver": "017c8fc2d12045abdf8c490cc5941bb81e188b1a",
"Node name for S&R": "SAM3VideoOutput"
},
"widgets_values": [
1
]
},
{
"id": 8,
"type": "SAM3CloseVideoSession",
"pos": [
1553.3677401355012,
481.5831437722545
],
"size": [
300,
100
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "session",
"type": "SAM3_VIDEO_SESSION",
"link": 8
}
],
"outputs": [
{
"name": "status",
"type": "STRING",
"links": []
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-SAM3",
"ver": "017c8fc2d12045abdf8c490cc5941bb81e188b1a",
"Node name for S&R": "SAM3CloseVideoSession"
},
"widgets_values": []
},
{
"id": 14,
"type": "MaskToImage",
"pos": [
2122.2624629450343,
84.97367570210822
],
"size": [
184.6236328125,
26
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 11
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.70",
"Node name for S&R": "MaskToImage"
}
},
{
"id": 13,
"type": "CreateVideo",
"pos": [
2135.75911418527,
171.6995615270764
],
"size": [
270,
78
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 12
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.70",
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
30
]
},
{
"id": 15,
"type": "SaveVideo",
"pos": [
2135.2168108171554,
300.57277765846635
],
"size": [
270,
251
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 13
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.70",
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI",
"auto",
"auto"
]
}
],
"links": [
[
1,
1,
0,
3,
0,
"SAM3_VIDEO_MODEL"
],
[
3,
3,
0,
4,
0,
"SAM3_VIDEO_SESSION"
],
[
5,
4,
0,
5,
0,
"SAM3_VIDEO_SESSION"
],
[
6,
5,
0,
6,
0,
"SAM3_VIDEO_MASKS"
],
[
8,
5,
1,
8,
0,
"SAM3_VIDEO_SESSION"
],
[
9,
9,
0,
3,
1,
"IMAGE"
],
[
11,
6,
0,
14,
0,
"MASK"
],
[
12,
14,
0,
13,
0,
"IMAGE"
],
[
13,
13,
0,
15,
0,
"VIDEO"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6410733741273996,
"offset": [
15.795985693033352,
128.9924228536257
]
},
"frontendVersion": "1.28.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}