Files

997 lines
20 KiB
JSON

{
"id": "924f8d9b-3083-4698-8424-5d1ff6375ff9",
"revision": 0,
"last_node_id": 23,
"last_link_id": 23,
"nodes": [
{
"id": 18,
"type": "MaskPreview+",
"pos": [
1430,
580
],
"size": [
230,
246
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 15
}
],
"outputs": [],
"title": "BBox result",
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "1.1.0",
"widget_ue_connectable": {},
"Node name for S&R": "MaskPreview+"
},
"widgets_values": []
},
{
"id": 19,
"type": "MaskPreview+",
"pos": [
1670,
580
],
"size": [
230,
246
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 16
}
],
"outputs": [],
"title": "Segmented result",
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "1.1.0",
"widget_ue_connectable": {},
"Node name for S&R": "MaskPreview+"
},
"widgets_values": []
},
{
"id": 16,
"type": "SAMLoaderLK",
"pos": [
1500,
450
],
"size": [
261.6646423339844,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
},
"link": null
},
{
"localized_name": "device_mode",
"name": "device_mode",
"type": "COMBO",
"widget": {
"name": "device_mode"
},
"link": null
}
],
"outputs": [
{
"localized_name": "SAM_MODEL",
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
13
]
}
],
"properties": {
"aux_id": "LK-168/comfyui_imgutils",
"ver": "4c3019145dd6a17c7c82f4b1d8867b3b8a0077b6",
"widget_ue_connectable": {},
"Node name for S&R": "SAMLoaderLK"
},
"widgets_values": [
"sam_vit_b.pth",
"AUTO"
]
},
{
"id": 12,
"type": "ImgutilsGenericDetector",
"pos": [
1500,
200
],
"size": [
270,
218
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 10
},
{
"localized_name": "detection_type",
"name": "detection_type",
"type": "COMBO",
"widget": {
"name": "detection_type"
},
"link": null
},
{
"localized_name": "conf_threshold",
"name": "conf_threshold",
"type": "FLOAT",
"widget": {
"name": "conf_threshold"
},
"link": null
},
{
"localized_name": "iou_threshold",
"name": "iou_threshold",
"type": "FLOAT",
"widget": {
"name": "iou_threshold"
},
"link": null
},
{
"localized_name": "draw_boxes",
"name": "draw_boxes",
"type": "BOOLEAN",
"widget": {
"name": "draw_boxes"
},
"link": null
},
{
"localized_name": "level",
"name": "level",
"type": "STRING",
"widget": {
"name": "level"
},
"link": null
},
{
"localized_name": "version",
"name": "version",
"type": "STRING",
"widget": {
"name": "version"
},
"link": null
}
],
"outputs": [
{
"localized_name": "image_with_boxes",
"name": "image_with_boxes",
"type": "IMAGE",
"links": [
11
]
},
{
"localized_name": "detection_mask",
"name": "detection_mask",
"type": "MASK",
"links": [
15
]
},
{
"localized_name": "detection_bbox",
"name": "detection_bbox",
"type": "BBOX",
"links": [
12
]
}
],
"properties": {
"aux_id": "LK-168/comfyui_imgutils",
"ver": "4c3019145dd6a17c7c82f4b1d8867b3b8a0077b6",
"widget_ue_connectable": {},
"Node name for S&R": "ImgutilsGenericDetector"
},
"widgets_values": [
"Hand Detection",
0.5,
0.7,
true,
"s",
""
]
},
{
"id": 21,
"type": "MaskToSEGS",
"pos": [
2150,
200
],
"size": [
270,
154
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 18
},
{
"localized_name": "combined",
"name": "combined",
"type": "BOOLEAN",
"widget": {
"name": "combined"
},
"link": null
},
{
"localized_name": "crop_factor",
"name": "crop_factor",
"type": "FLOAT",
"widget": {
"name": "crop_factor"
},
"link": null
},
{
"localized_name": "bbox_fill",
"name": "bbox_fill",
"type": "BOOLEAN",
"widget": {
"name": "bbox_fill"
},
"link": null
},
{
"localized_name": "drop_size",
"name": "drop_size",
"type": "INT",
"widget": {
"name": "drop_size"
},
"link": null
},
{
"localized_name": "contour_fill",
"name": "contour_fill",
"type": "BOOLEAN",
"widget": {
"name": "contour_fill"
},
"link": null
}
],
"outputs": [
{
"localized_name": "SEGS",
"name": "SEGS",
"type": "SEGS",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.1",
"widget_ue_connectable": {},
"Node name for S&R": "MaskToSEGS"
},
"widgets_values": [
false,
3,
false,
10,
false
]
},
{
"id": 13,
"type": "LoadImage",
"pos": [
1210,
200
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
10,
20,
21
]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"widget_ue_connectable": {},
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"1067_969609715223178_ST_F_00001_.png",
"image"
]
},
{
"id": 14,
"type": "PreviewImage",
"pos": [
1920,
420
],
"size": [
300,
420
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"outputs": [],
"title": "Image with boxes",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.41",
"widget_ue_connectable": {},
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 15,
"type": "SAMPredictorNode",
"pos": [
1850,
200
],
"size": [
270,
170
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "sam_model",
"name": "sam_model",
"type": "SAM_MODEL",
"link": 13
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 20
},
{
"localized_name": "bbox",
"name": "bbox",
"type": "BBOX",
"link": 12
},
{
"localized_name": "threshold",
"name": "threshold",
"type": "FLOAT",
"widget": {
"name": "threshold"
},
"link": null
},
{
"localized_name": "points_method",
"name": "points_method",
"type": "COMBO",
"widget": {
"name": "points_method"
},
"link": null
},
{
"localized_name": "merge_options",
"name": "merge_options",
"type": "COMBO",
"widget": {
"name": "merge_options"
},
"link": null
},
{
"localized_name": "crop_factor",
"name": "crop_factor",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "crop_factor"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
16,
18,
23
]
},
{
"localized_name": "SEGS",
"name": "SEGS",
"type": "SEGS",
"links": null
}
],
"properties": {
"aux_id": "LK-168/comfyui_imgutils",
"ver": "4c3019145dd6a17c7c82f4b1d8867b3b8a0077b6",
"widget_ue_connectable": {},
"Node name for S&R": "SAMPredictorNode"
},
"widgets_values": [
0.4,
"None",
"Merge All",
3
]
},
{
"id": 23,
"type": "ImageAndMaskPreview",
"pos": [
2240,
410
],
"size": [
370,
430
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"label": "image",
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 21
},
{
"label": "mask",
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 23
},
{
"localized_name": "mask_opacity",
"name": "mask_opacity",
"type": "FLOAT",
"widget": {
"name": "mask_opacity"
},
"link": null
},
{
"localized_name": "mask_color",
"name": "mask_color",
"type": "STRING",
"widget": {
"name": "mask_color"
},
"link": null
},
{
"localized_name": "pass_through",
"name": "pass_through",
"type": "BOOLEAN",
"widget": {
"name": "pass_through"
},
"link": null
}
],
"outputs": [
{
"label": "composite",
"localized_name": "composite",
"name": "composite",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "8950c5fe673f30b7bedee6650ed88e998b6caf27",
"widget_ue_connectable": {},
"Node name for S&R": "ImageAndMaskPreview"
},
"widgets_values": [
1,
"255, 255, 255",
false
]
},
{
"id": 22,
"type": "DetailerForEach",
"pos": [
2650,
190
],
"size": [
400,
680
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": null
},
{
"localized_name": "segs",
"name": "segs",
"type": "SEGS",
"link": 19
},
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": null
},
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": null
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": null
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"localized_name": "detailer_hook",
"name": "detailer_hook",
"shape": 7,
"type": "DETAILER_HOOK",
"link": null
},
{
"localized_name": "scheduler_func_opt",
"name": "scheduler_func_opt",
"shape": 7,
"type": "SCHEDULER_FUNC",
"link": null
},
{
"localized_name": "guide_size",
"name": "guide_size",
"type": "FLOAT",
"widget": {
"name": "guide_size"
},
"link": null
},
{
"localized_name": "guide_size_for",
"name": "guide_size_for",
"type": "BOOLEAN",
"widget": {
"name": "guide_size_for"
},
"link": null
},
{
"localized_name": "max_size",
"name": "max_size",
"type": "FLOAT",
"widget": {
"name": "max_size"
},
"link": null
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
},
{
"localized_name": "feather",
"name": "feather",
"type": "INT",
"widget": {
"name": "feather"
},
"link": null
},
{
"localized_name": "noise_mask",
"name": "noise_mask",
"type": "BOOLEAN",
"widget": {
"name": "noise_mask"
},
"link": null
},
{
"localized_name": "force_inpaint",
"name": "force_inpaint",
"type": "BOOLEAN",
"widget": {
"name": "force_inpaint"
},
"link": null
},
{
"localized_name": "wildcard",
"name": "wildcard",
"type": "STRING",
"widget": {
"name": "wildcard"
},
"link": null
},
{
"localized_name": "cycle",
"name": "cycle",
"type": "INT",
"widget": {
"name": "cycle"
},
"link": null
},
{
"localized_name": "inpaint_model",
"name": "inpaint_model",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "inpaint_model"
},
"link": null
},
{
"localized_name": "noise_mask_feather",
"name": "noise_mask_feather",
"shape": 7,
"type": "INT",
"widget": {
"name": "noise_mask_feather"
},
"link": null
},
{
"localized_name": "tiled_encode",
"name": "tiled_encode",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "tiled_encode"
},
"link": null
},
{
"localized_name": "tiled_decode",
"name": "tiled_decode",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "tiled_decode"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.1",
"widget_ue_connectable": {},
"Node name for S&R": "DetailerForEach"
},
"widgets_values": [
512,
true,
1024,
121335371194066,
"randomize",
20,
8,
"euler",
"normal",
0.5,
5,
true,
true,
"",
1,
false,
20,
false,
false,
[
false,
true
]
]
}
],
"links": [
[
10,
13,
0,
12,
0,
"IMAGE"
],
[
11,
12,
0,
14,
0,
"IMAGE"
],
[
12,
12,
2,
15,
2,
"BBOX"
],
[
13,
16,
0,
15,
0,
"SAM_MODEL"
],
[
15,
12,
1,
18,
0,
"MASK"
],
[
16,
15,
0,
19,
0,
"MASK"
],
[
18,
15,
0,
21,
0,
"MASK"
],
[
19,
21,
0,
22,
1,
"SEGS"
],
[
20,
13,
0,
15,
1,
"IMAGE"
],
[
21,
13,
0,
23,
0,
"IMAGE"
],
[
23,
15,
0,
23,
1,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"workspace_info": {
"id": "M1pq72Nrhan7TltzaAQUJ"
},
"ue_links": [],
"links_added_by_ue": [],
"ds": {
"scale": 0.7266303355934305,
"offset": [
-564.8769777196603,
274.40995013281713
]
}
},
"version": 0.4
}