add example workflow
This commit is contained in:
@@ -0,0 +1,396 @@
|
||||
{
|
||||
"id": "500ae763-00a0-4a77-839d-fab74ac03ec3",
|
||||
"revision": 0,
|
||||
"last_node_id": 12,
|
||||
"last_link_id": 17,
|
||||
"nodes": [
|
||||
{
|
||||
"id": 11,
|
||||
"type": "SDMatteApply",
|
||||
"pos": [
|
||||
7681.2158203125,
|
||||
-325.66558837890625
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
146
|
||||
],
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "sdmatte_model",
|
||||
"type": "SDMATTE_MODEL",
|
||||
"link": 17
|
||||
},
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 14
|
||||
},
|
||||
{
|
||||
"name": "trimap",
|
||||
"type": "MASK",
|
||||
"link": 15
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "MASK",
|
||||
"type": "MASK",
|
||||
"links": [
|
||||
16
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"enableTabs": false,
|
||||
"tabWidth": 65,
|
||||
"tabXOffset": 10,
|
||||
"hasSecondTab": false,
|
||||
"secondTabText": "Send Back",
|
||||
"secondTabOffset": 80,
|
||||
"secondTabWidth": 65,
|
||||
"Node name for S&R": "SDMatteApply",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {
|
||||
"inference_size": true,
|
||||
"is_transparent": true,
|
||||
"force_cpu": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
1024,
|
||||
false,
|
||||
false
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "LayerMask: SegmentAnythingUltra V2",
|
||||
"pos": [
|
||||
7274.59326171875,
|
||||
-50.851478576660156
|
||||
],
|
||||
"size": [
|
||||
390.8785095214844,
|
||||
366
|
||||
],
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 4
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"links": null
|
||||
},
|
||||
{
|
||||
"name": "mask",
|
||||
"type": "MASK",
|
||||
"links": [
|
||||
8,
|
||||
15
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"enableTabs": false,
|
||||
"tabWidth": 65,
|
||||
"tabXOffset": 10,
|
||||
"hasSecondTab": false,
|
||||
"secondTabText": "Send Back",
|
||||
"secondTabOffset": 80,
|
||||
"secondTabWidth": 65,
|
||||
"cnr_id": "ComfyUI_LayerStyle_Advance",
|
||||
"ver": "5f8c6f29c484100245bc6f8ea66277f53e23cdbe",
|
||||
"Node name for S&R": "LayerMask: SegmentAnythingUltra V2",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {
|
||||
"sam_model": true,
|
||||
"grounding_dino_model": true,
|
||||
"threshold": true,
|
||||
"detail_method": true,
|
||||
"detail_erode": true,
|
||||
"detail_dilate": true,
|
||||
"black_point": true,
|
||||
"white_point": true,
|
||||
"process_detail": true,
|
||||
"prompt": true,
|
||||
"device": true,
|
||||
"max_megapixels": true,
|
||||
"cache_model": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"sam_vit_h (2.56GB)",
|
||||
"GroundingDINO_SwinT_OGC (694MB)",
|
||||
0.3,
|
||||
"VITMatte",
|
||||
6,
|
||||
6,
|
||||
0.15,
|
||||
0.99,
|
||||
true,
|
||||
"subject",
|
||||
"cuda",
|
||||
2,
|
||||
false
|
||||
],
|
||||
"color": "rgba(27, 80, 119, 0.7)"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "MaskPreview+",
|
||||
"pos": [
|
||||
8068.8037109375,
|
||||
-313.58538818359375
|
||||
],
|
||||
"size": [
|
||||
218.03030395507812,
|
||||
307.784912109375
|
||||
],
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "mask",
|
||||
"type": "MASK",
|
||||
"link": 16
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"enableTabs": false,
|
||||
"tabWidth": 65,
|
||||
"tabXOffset": 10,
|
||||
"hasSecondTab": false,
|
||||
"secondTabText": "Send Back",
|
||||
"secondTabOffset": 80,
|
||||
"secondTabWidth": 65,
|
||||
"cnr_id": "comfyui_essentials",
|
||||
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
|
||||
"Node name for S&R": "MaskPreview+",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {}
|
||||
}
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "MaskPreview+",
|
||||
"pos": [
|
||||
8352.73828125,
|
||||
-312.1937561035156
|
||||
],
|
||||
"size": [
|
||||
216.50474548339844,
|
||||
305.49658203125
|
||||
],
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "mask",
|
||||
"type": "MASK",
|
||||
"link": 8
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"enableTabs": false,
|
||||
"tabWidth": 65,
|
||||
"tabXOffset": 10,
|
||||
"hasSecondTab": false,
|
||||
"secondTabText": "Send Back",
|
||||
"secondTabOffset": 80,
|
||||
"secondTabWidth": 65,
|
||||
"cnr_id": "comfyui_essentials",
|
||||
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
|
||||
"Node name for S&R": "MaskPreview+",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {}
|
||||
}
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
6951.2880859375,
|
||||
-31.12131690979004
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
314
|
||||
],
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [
|
||||
4,
|
||||
14
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MASK",
|
||||
"type": "MASK",
|
||||
"links": null
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"enableTabs": false,
|
||||
"tabWidth": 65,
|
||||
"tabXOffset": 10,
|
||||
"hasSecondTab": false,
|
||||
"secondTabText": "Send Back",
|
||||
"secondTabOffset": 80,
|
||||
"secondTabWidth": 65,
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.3.49",
|
||||
"Node name for S&R": "LoadImage",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {
|
||||
"image": true,
|
||||
"upload": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"pasted/image (92).png",
|
||||
"image"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"type": "SDMatteModelLoader",
|
||||
"pos": [
|
||||
7178.95458984375,
|
||||
-334.05029296875
|
||||
],
|
||||
"size": [
|
||||
371.62713623046875,
|
||||
58
|
||||
],
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "SDMATTE_MODEL",
|
||||
"type": "SDMATTE_MODEL",
|
||||
"links": [
|
||||
17
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"enableTabs": false,
|
||||
"tabWidth": 65,
|
||||
"tabXOffset": 10,
|
||||
"hasSecondTab": false,
|
||||
"secondTabText": "Send Back",
|
||||
"secondTabOffset": 80,
|
||||
"secondTabWidth": 65,
|
||||
"Node name for S&R": "SDMatteModelLoader",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {
|
||||
"ckpt_name": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"other\\SDMatte_plus.pth"
|
||||
]
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
[
|
||||
4,
|
||||
6,
|
||||
0,
|
||||
5,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
8,
|
||||
5,
|
||||
1,
|
||||
8,
|
||||
0,
|
||||
"MASK"
|
||||
],
|
||||
[
|
||||
14,
|
||||
6,
|
||||
0,
|
||||
11,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
15,
|
||||
5,
|
||||
1,
|
||||
11,
|
||||
2,
|
||||
"MASK"
|
||||
],
|
||||
[
|
||||
16,
|
||||
11,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
"MASK"
|
||||
],
|
||||
[
|
||||
17,
|
||||
12,
|
||||
0,
|
||||
11,
|
||||
0,
|
||||
"SDMATTE_MODEL"
|
||||
]
|
||||
],
|
||||
"groups": [],
|
||||
"config": {},
|
||||
"extra": {
|
||||
"ue_links": [],
|
||||
"ds": {
|
||||
"scale": 0.6727499949325685,
|
||||
"offset": [
|
||||
-6553.623941286115,
|
||||
658.8196674498315
|
||||
]
|
||||
},
|
||||
"links_added_by_ue": [],
|
||||
"frontendVersion": "1.23.4",
|
||||
"VHS_latentpreview": false,
|
||||
"VHS_latentpreviewrate": 0,
|
||||
"VHS_MetadataImage": true,
|
||||
"VHS_KeepIntermediate": true
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
Reference in New Issue
Block a user