583 lines
9.4 KiB
JSON
583 lines
9.4 KiB
JSON
{
|
|
"last_node_id": 12,
|
|
"last_link_id": 11,
|
|
"nodes": [
|
|
{
|
|
"id": 5,
|
|
"type": "CropFace",
|
|
"pos": [
|
|
478.8068542480469,
|
|
372.0702209472656
|
|
],
|
|
"size": [
|
|
315,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 5
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CropFace"
|
|
},
|
|
"widgets_values": [
|
|
"retinaface_resnet50"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "ImageResize+",
|
|
"pos": [
|
|
859.4075927734375,
|
|
369.8701171875
|
|
],
|
|
"size": [
|
|
315,
|
|
218
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 4
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageResize+"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
"nearest",
|
|
"stretch",
|
|
"always",
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"type": "ApplyHairTransfer",
|
|
"pos": [
|
|
1234.5072021484375,
|
|
369.8703308105469
|
|
],
|
|
"size": [
|
|
315,
|
|
218
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "HAIR_MODEL",
|
|
"link": 2
|
|
},
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 3
|
|
},
|
|
{
|
|
"name": "bald_image",
|
|
"type": "IMAGE",
|
|
"link": 6
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ApplyHairTransfer"
|
|
},
|
|
"widgets_values": [
|
|
518584428870031,
|
|
"randomize",
|
|
20,
|
|
1.5,
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1989.1070556640625,
|
|
243.37020874023438
|
|
],
|
|
"size": [
|
|
388.20001220703125,
|
|
389
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1567.8070068359375,
|
|
244.4701690673828
|
|
],
|
|
"size": [
|
|
390.3999938964844,
|
|
389
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "ImageResize+",
|
|
"pos": [
|
|
503.0068054199219,
|
|
689.97021484375
|
|
],
|
|
"size": [
|
|
315,
|
|
218
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 10
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageResize+"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
"nearest",
|
|
"stretch",
|
|
"always",
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "CropFace",
|
|
"pos": [
|
|
164.20681762695312,
|
|
621.7704467773438
|
|
],
|
|
"size": [
|
|
315,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 11
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
10
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CropFace"
|
|
},
|
|
"widgets_values": [
|
|
"retinaface_resnet50"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "LoadStableHairTransferModel",
|
|
"pos": [
|
|
851.7073974609375,
|
|
153.1702423095703
|
|
],
|
|
"size": [
|
|
340.20001220703125,
|
|
154
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "HAIR_MODEL",
|
|
"links": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadStableHairTransferModel"
|
|
},
|
|
"widgets_values": [
|
|
"dreamshaper_8.safetensors",
|
|
"hair_encoder_model.bin",
|
|
"hair_adapter_model.bin",
|
|
"hair_controlnet_model.bin",
|
|
"AUTO"
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "ApplyHairRemover",
|
|
"pos": [
|
|
831.9071655273438,
|
|
648.1704711914062
|
|
],
|
|
"size": [
|
|
315,
|
|
174
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "bald_model",
|
|
"type": "BALD_MODEL",
|
|
"link": 8
|
|
},
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 9
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
6,
|
|
7
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ApplyHairRemover"
|
|
},
|
|
"widgets_values": [
|
|
901365913589048,
|
|
"randomize",
|
|
20,
|
|
1,
|
|
1.5
|
|
]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "LoadStableHairRemoverModel",
|
|
"pos": [
|
|
476.6069030761719,
|
|
476.5704040527344
|
|
],
|
|
"size": [
|
|
327.5999755859375,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "bald_model",
|
|
"type": "BALD_MODEL",
|
|
"links": [
|
|
8
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadStableHairRemoverModel"
|
|
},
|
|
"widgets_values": [
|
|
"dreamshaper_8.safetensors",
|
|
"hair_bald_model.bin",
|
|
"AUTO"
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-192.19314575195312,
|
|
165.27015686035156
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
5
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"G2.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-193.29295349121094,
|
|
535.97021484375
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
11
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"G1.png",
|
|
"image"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
3,
|
|
0,
|
|
1,
|
|
0,
|
|
"HAIR_MODEL"
|
|
],
|
|
[
|
|
3,
|
|
4,
|
|
0,
|
|
1,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
4,
|
|
5,
|
|
0,
|
|
4,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
5,
|
|
6,
|
|
0,
|
|
5,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
6,
|
|
7,
|
|
0,
|
|
1,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
7,
|
|
7,
|
|
0,
|
|
8,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
8,
|
|
9,
|
|
0,
|
|
7,
|
|
0,
|
|
"BALD_MODEL"
|
|
],
|
|
[
|
|
9,
|
|
10,
|
|
0,
|
|
7,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
10,
|
|
11,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
11,
|
|
12,
|
|
0,
|
|
11,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9090909090909095,
|
|
"offset": [
|
|
-1049.7070285394457,
|
|
-163.3452473866328
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |