MyoOmfy / comfyui_layerstyle /workflow /image_to_mask_example.json
keyon857's picture
Add files using upload-large-folder tool
6dda2e9
{
"last_node_id": 4,
"last_link_id": 4,
"nodes": [
{
"id": 1,
"type": "LayerMask: ImageToMask",
"pos": [
1209,
483
],
"size": {
"0": 315,
"1": 174
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1,
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"link": 4
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
2
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LayerMask: ImageToMask"
},
"widgets_values": [
"V(YUV)",
18,
80,
1,
false
]
},
{
"id": 3,
"type": "LayerMask: MaskPreview",
"pos": [
1584,
484
],
"size": {
"0": 420.80670166015625,
"1": 278.8514404296875
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 2
}
],
"properties": {
"Node name for S&R": "LayerMask: MaskPreview"
}
},
{
"id": 4,
"type": "LayerMask: RmBgUltra V2",
"pos": [
830,
618
],
"size": {
"0": 315,
"1": 198
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 3
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": [
4
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerMask: RmBgUltra V2"
},
"widgets_values": [
"VITMatte(local)",
6,
6,
0.01,
0.99,
true
]
},
{
"id": 2,
"type": "LoadImage",
"pos": [
436,
482
],
"size": [
345.1379699707031,
314
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
3
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"1344x768_redcar (1).png",
"image"
]
}
],
"links": [
[
1,
2,
0,
1,
0,
"IMAGE"
],
[
2,
1,
0,
3,
0,
"MASK"
],
[
3,
2,
0,
4,
0,
"IMAGE"
],
[
4,
4,
1,
1,
1,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
36.074233874347044,
-23.924999965815914
]
}
},
"version": 0.4
}