55 lines
977 B
JSON
55 lines
977 B
JSON
{
|
|
"1": {
|
|
"inputs": {
|
|
"image": "example.png",
|
|
"upload": "image"
|
|
},
|
|
"class_type": "LoadImage",
|
|
"_meta": {
|
|
"title": "Load Image"
|
|
}
|
|
},
|
|
"2": {
|
|
"inputs": {
|
|
"filename_prefix": "ComfyUI",
|
|
"images": [
|
|
"8",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "SaveImage",
|
|
"_meta": {
|
|
"title": "Save Image"
|
|
}
|
|
},
|
|
"7": {
|
|
"inputs": {
|
|
"model": "sam2_hiera_tiny.pt",
|
|
"segmentor": "realtime",
|
|
"device": "cuda",
|
|
"precision": "fp16"
|
|
},
|
|
"class_type": "DownloadAndLoadSAM2RealtimeModel",
|
|
"_meta": {
|
|
"title": "(Down)Load SAM2-Realtime Model"
|
|
}
|
|
},
|
|
"8": {
|
|
"inputs": {
|
|
"coordinates_positive": "[[384, 384]]",
|
|
"point_labels": "[1]",
|
|
"images": [
|
|
"1",
|
|
0
|
|
],
|
|
"sam2_model": [
|
|
"7",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "Sam2RealtimeSegmentation",
|
|
"_meta": {
|
|
"title": "Sam2RealtimeSegmentation"
|
|
}
|
|
}
|
|
} |