Files
rdancer-ComfyUI_Florence2SAM2/workflows/workflow.json
T
Jan Minar 459e9fa9a6 works in ComfyUI
note that this breaks the command-line interface
2024-09-30 01:30:41 +00:00

278 lines
4.6 KiB
JSON

{
"last_node_id": 37,
"last_link_id": 30,
"nodes": [
{
"id": 31,
"type": "PreviewImage",
"pos": [
637,
-21
],
"size": [
471.42385827579574,
380.516185641299
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 32,
"type": "LayerMask: MaskPreview",
"pos": [
637,
433.2401813378308
],
"size": [
477.1796594758039,
385.8974834570911
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 27
}
],
"properties": {
"Node name for S&R": "LayerMask: MaskPreview"
},
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 30,
"type": "LoadImage",
"pos": [
37,
-21
],
"size": {
"0": 278.3598327636719,
"1": 400.1376647949219
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
28
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Screenshot 2024-09-16 221105.png",
"image"
]
},
{
"id": 37,
"type": "ImageBatch",
"pos": [
358,
118
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 28
},
{
"name": "image2",
"type": "IMAGE",
"link": 29
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageBatch"
}
},
{
"id": 35,
"type": "RdancerFlorence2SAM2GenerateMask",
"pos": [
341,
213
],
"size": [
275.75400362280607,
78
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 30
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
27
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "RdancerFlorence2SAM2GenerateMask"
},
"widgets_values": [
"products"
]
},
{
"id": 36,
"type": "LoadImage",
"pos": [
37,
419
],
"size": {
"0": 278.3598327636719,
"1": 400.1376647949219
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
29
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Screenshot 2024-09-16 221234.png",
"image"
]
}
],
"links": [
[
26,
35,
0,
31,
0,
"IMAGE"
],
[
27,
35,
1,
32,
0,
"MASK"
],
[
28,
30,
0,
37,
0,
"IMAGE"
],
[
29,
36,
0,
37,
1,
"IMAGE"
],
[
30,
37,
0,
35,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.6105100000000026,
"offset": {
"0": 213.80293488677194,
"1": 173.71430340991688
}
}
},
"version": 0.4
}