426 lines
7.4 KiB
JSON
426 lines
7.4 KiB
JSON
{
|
|
"id": "24f0d3f4-7207-455e-ae7f-3bd3ce2771bd",
|
|
"revision": 0,
|
|
"last_node_id": 30,
|
|
"last_link_id": 42,
|
|
"nodes": [
|
|
{
|
|
"id": 20,
|
|
"type": "AILab_LoadImage",
|
|
"pos": [
|
|
-285.7179837716849,
|
|
-697.5816283127367
|
|
],
|
|
"size": [
|
|
586.4611082986776,
|
|
680.5980175220382
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
36,
|
|
39
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "WIDTH",
|
|
"type": "INT",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "HEIGHT",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-rmbg",
|
|
"ver": "112fd6141d07663d5e4a35d66d269542b58f4438",
|
|
"Node name for S&R": "AILab_LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"117697239.png",
|
|
"lanczos",
|
|
0,
|
|
1,
|
|
"longest_side",
|
|
0,
|
|
"image"
|
|
],
|
|
"color": "#2e3e57",
|
|
"bgcolor": "#4b5b73"
|
|
},
|
|
{
|
|
"id": 29,
|
|
"type": "PreviewAny",
|
|
"pos": [
|
|
747.9560935974478,
|
|
-241.26885677664328
|
|
],
|
|
"size": [
|
|
210,
|
|
112
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 41
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.9.2",
|
|
"Node name for S&R": "PreviewAny"
|
|
},
|
|
"widgets_values": [
|
|
null,
|
|
null,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 30,
|
|
"type": "PreviewAny",
|
|
"pos": [
|
|
747.9560935974478,
|
|
-36.63147520797912
|
|
],
|
|
"size": [
|
|
210,
|
|
166
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 42
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.9.2",
|
|
"Node name for S&R": "PreviewAny"
|
|
},
|
|
"widgets_values": [
|
|
null,
|
|
null,
|
|
null
|
|
]
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "AILab_Preview",
|
|
"pos": [
|
|
747.9560935974478,
|
|
-697.5816283127367
|
|
],
|
|
"size": [
|
|
960.441294669356,
|
|
387.6841968063493
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 37
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"shape": 7,
|
|
"type": "MASK",
|
|
"link": 38
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-rmbg",
|
|
"ver": "112fd6141d07663d5e4a35d66d269542b58f4438",
|
|
"Node name for S&R": "AILab_Preview"
|
|
},
|
|
"widgets_values": [],
|
|
"color": "#2e3e57",
|
|
"bgcolor": "#4b5b73"
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": "AILab_Florence2",
|
|
"pos": [
|
|
354.3496090622202,
|
|
-697.5816283127367
|
|
],
|
|
"size": [
|
|
340,
|
|
296
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 36
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
37
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
38
|
|
]
|
|
},
|
|
{
|
|
"name": "DATA",
|
|
"type": "JSON",
|
|
"links": [
|
|
35
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-rmbg",
|
|
"ver": "112fd6141d07663d5e4a35d66d269542b58f4438",
|
|
"Node name for S&R": "AILab_Florence2"
|
|
},
|
|
"widgets_values": [
|
|
"microsoft/Florence-2-base",
|
|
"Region Proposals (boxes only)",
|
|
"fp16",
|
|
"flash_attention_2",
|
|
true,
|
|
"",
|
|
false,
|
|
"person"
|
|
],
|
|
"color": "#222e40",
|
|
"bgcolor": "#364254"
|
|
},
|
|
{
|
|
"id": 27,
|
|
"type": "AILab_Florence2ToCoordinates",
|
|
"pos": [
|
|
354.3496090622202,
|
|
-170.98590901469822
|
|
],
|
|
"size": [
|
|
340,
|
|
122
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "data",
|
|
"type": "JSON",
|
|
"link": 35
|
|
},
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 39
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CENTER_COORDINATES",
|
|
"type": "STRING",
|
|
"links": [
|
|
41
|
|
]
|
|
},
|
|
{
|
|
"name": "BBOXES",
|
|
"type": "BBOX",
|
|
"links": [
|
|
42
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-rmbg",
|
|
"ver": "112fd6141d07663d5e4a35d66d269542b58f4438",
|
|
"Node name for S&R": "AILab_Florence2ToCoordinates"
|
|
},
|
|
"widgets_values": [
|
|
"5",
|
|
false
|
|
],
|
|
"color": "#2e3e57",
|
|
"bgcolor": "#4b5b73"
|
|
},
|
|
{
|
|
"id": 28,
|
|
"type": "AILab_MaskPreview",
|
|
"pos": [
|
|
1101.2624693912287,
|
|
-133.80513385150948
|
|
],
|
|
"size": [
|
|
331.00160376765007,
|
|
258
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 40
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-rmbg",
|
|
"ver": "112fd6141d07663d5e4a35d66d269542b58f4438",
|
|
"Node name for S&R": "AILab_MaskPreview"
|
|
},
|
|
"widgets_values": [],
|
|
"color": "#2e3e57",
|
|
"bgcolor": "#4b5b73"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
35,
|
|
26,
|
|
2,
|
|
27,
|
|
0,
|
|
"JSON"
|
|
],
|
|
[
|
|
36,
|
|
20,
|
|
0,
|
|
26,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
37,
|
|
26,
|
|
0,
|
|
21,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
38,
|
|
26,
|
|
1,
|
|
21,
|
|
1,
|
|
"MASK"
|
|
],
|
|
[
|
|
39,
|
|
20,
|
|
0,
|
|
27,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
40,
|
|
27,
|
|
2,
|
|
28,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
41,
|
|
27,
|
|
0,
|
|
29,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
42,
|
|
27,
|
|
1,
|
|
30,
|
|
0,
|
|
"BBOX"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1.1260421675384626,
|
|
"offset": [
|
|
645.8883158285253,
|
|
1053.36676428533
|
|
]
|
|
},
|
|
"workflowRendererVersion": "LG",
|
|
"frontendVersion": "1.38.3",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |