commit RoundedRectangle node

This commit is contained in:
chflame163
2024-12-16 16:40:17 +08:00
parent fc764f2834
commit ac9e179489
9 changed files with 759 additions and 6 deletions
+585
View File
@@ -0,0 +1,585 @@
{
"last_node_id": 27,
"last_link_id": 66,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": [
-4248.54541015625,
2201.82763671875
],
"size": [
315,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6,
14,
25,
45,
63
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"girl_dino_1024.png",
"image"
]
},
{
"id": 6,
"type": "LayerUtility: RoundedRectangle",
"pos": [
-3487.47900390625,
2197.4248046875
],
"size": [
354.73419189453125,
338
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 6
},
{
"name": "object_mask",
"type": "MASK",
"link": 23,
"shape": 7
},
{
"name": "crop_box",
"type": "BOX",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [],
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": [
22,
41
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerUtility: RoundedRectangle"
},
"widgets_values": [
50,
2,
8,
8,
8,
8,
"mask_area",
8,
-8,
8,
8
],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 20,
"type": "LayerUtility: ImageBlendAdvance V3",
"pos": [
-2670.533447265625,
2212.40869140625
],
"size": [
345.9118347167969,
339.0574645996094
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "layer_image",
"type": "IMAGE",
"link": 60
},
{
"name": "background_image",
"type": "IMAGE",
"link": null,
"shape": 7
},
{
"name": "layer_mask",
"type": "MASK",
"link": 41,
"shape": 7
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
62
],
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerUtility: ImageBlendAdvance V3"
},
"widgets_values": [
false,
"normal",
100,
50,
50,
"None",
1,
1,
0,
"lanczos",
0
],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 25,
"type": "LayerStyle: DropShadow V3",
"pos": [
-2236.183349609375,
2527.528564453125
],
"size": [
315,
266
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "layer_image",
"type": "IMAGE",
"link": 63
},
{
"name": "background_image",
"type": "IMAGE",
"link": 62,
"shape": 7
},
{
"name": "layer_mask",
"type": "MASK",
"link": 64,
"shape": 7
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
65
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LayerStyle: DropShadow V3"
},
"widgets_values": [
false,
"normal",
50,
10,
10,
6,
16,
"#000000"
],
"color": "rgba(20, 95, 121, 0.7)"
},
{
"id": 10,
"type": "LayerMask: BiRefNetUltra",
"pos": [
-3822.2421875,
2542.404052734375
],
"size": [
277.20001220703125,
255.6139373779297
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 14
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [],
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": [
23,
64
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerMask: BiRefNetUltra"
},
"widgets_values": [
"VITMatte",
6,
6,
0.01,
0.99,
true,
"cuda",
2
],
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 14,
"type": "LayerUtility: ImageBlend V2",
"pos": [
-3049.285888671875,
2058.662353515625
],
"size": [
314.8190612792969,
146
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "background_image",
"type": "IMAGE",
"link": 45
},
{
"name": "layer_image",
"type": "IMAGE",
"link": 21
},
{
"name": "layer_mask",
"type": "MASK",
"link": 22,
"shape": 7
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
60
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LayerUtility: ImageBlend V2"
},
"widgets_values": [
false,
"color",
100
],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 12,
"type": "LayerUtility: ColorImage V2",
"pos": [
-3490.97900390625,
1946.5667724609375
],
"size": [
358.17816162109375,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "size_as",
"type": "*",
"link": 25,
"shape": 7
},
{
"name": "color",
"type": "STRING",
"link": 66,
"widget": {
"name": "color"
}
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
21
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LayerUtility: ColorImage V2"
},
"widgets_values": [
"custom",
512,
512,
"#F284F0"
],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 27,
"type": "LayerUtility: ColorPicker",
"pos": [
-3836.872802734375,
1967.681640625
],
"size": [
210,
94
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "value",
"type": "STRING",
"links": [
66
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LayerUtility: ColorPicker"
},
"widgets_values": [
"#4f6fcf",
"HEX"
],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
-1868.6793212890625,
2173.0986328125
],
"size": [
551.9151611328125,
378.61322021484375
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
}
],
"links": [
[
6,
2,
0,
6,
0,
"IMAGE"
],
[
14,
2,
0,
10,
0,
"IMAGE"
],
[
21,
12,
0,
14,
1,
"IMAGE"
],
[
22,
6,
1,
14,
2,
"MASK"
],
[
23,
10,
1,
6,
1,
"MASK"
],
[
25,
2,
0,
12,
0,
"*"
],
[
41,
6,
1,
20,
2,
"MASK"
],
[
45,
2,
0,
14,
0,
"IMAGE"
],
[
60,
14,
0,
20,
0,
"IMAGE"
],
[
62,
20,
0,
25,
1,
"IMAGE"
],
[
63,
2,
0,
25,
0,
"IMAGE"
],
[
64,
10,
1,
25,
2,
"MASK"
],
[
65,
25,
0,
13,
0,
"IMAGE"
],
[
66,
27,
0,
12,
1,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6934334949441395,
"offset": [
4564.611247752034,
-1416.0628969763088
]
}
},
"version": 0.4
}