352 lines
5.6 KiB
JSON
352 lines
5.6 KiB
JSON
{
|
|
"last_node_id": 16,
|
|
"last_link_id": 22,
|
|
"nodes": [
|
|
{
|
|
"id": 8,
|
|
"type": "ImageToMask",
|
|
"pos": {
|
|
"0": 782,
|
|
"1": 789
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 22
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
8
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageToMask"
|
|
},
|
|
"widgets_values": [
|
|
"red"
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 1574.072998046875,
|
|
"1": 487.0025634765625
|
|
},
|
|
"size": [
|
|
210,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 17
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "Composite",
|
|
"pos": {
|
|
"0": 1006,
|
|
"1": 527
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 98
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "foregrounds",
|
|
"type": "IMAGE",
|
|
"link": 11
|
|
},
|
|
{
|
|
"name": "backgrounds",
|
|
"type": "IMAGE",
|
|
"link": 20
|
|
},
|
|
{
|
|
"name": "foreground_masks",
|
|
"type": "MASK",
|
|
"link": 10
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
17
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Composite"
|
|
},
|
|
"widgets_values": [
|
|
"cuda"
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "GaussianBlur",
|
|
"pos": {
|
|
"0": 595,
|
|
"1": 271
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 106
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 19
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
20
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "GaussianBlur"
|
|
},
|
|
"widgets_values": [
|
|
61,
|
|
7,
|
|
"cuda"
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": {
|
|
"0": 85,
|
|
"1": 417
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
11,
|
|
19,
|
|
21
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"DALL·E 2024-11-15 10.15.49 - An anime-style character standing in a modern office space. The character is a young professional, dressed in a stylish business outfit, with medium-l.jpg",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "ThresholdMask",
|
|
"pos": {
|
|
"0": 1160,
|
|
"1": 786
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 8
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
10
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ThresholdMask"
|
|
},
|
|
"widgets_values": [
|
|
0.64
|
|
]
|
|
},
|
|
{
|
|
"id": 16,
|
|
"type": "DepthAnythingTensorrt",
|
|
"pos": {
|
|
"0": 463,
|
|
"1": 626
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 21
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
22
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DepthAnythingTensorrt"
|
|
},
|
|
"widgets_values": [
|
|
"depth_anything_v2_vitb-fp16.engine"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
8,
|
|
8,
|
|
0,
|
|
9,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
10,
|
|
9,
|
|
0,
|
|
10,
|
|
2,
|
|
"MASK"
|
|
],
|
|
[
|
|
11,
|
|
1,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
17,
|
|
10,
|
|
0,
|
|
14,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
19,
|
|
1,
|
|
0,
|
|
15,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
20,
|
|
15,
|
|
0,
|
|
10,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
21,
|
|
1,
|
|
0,
|
|
16,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
22,
|
|
16,
|
|
0,
|
|
8,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.5131581182307067,
|
|
"offset": [
|
|
108.08850273276278,
|
|
324.3584314675088
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |