|
{ |
|
"last_node_id": 25, |
|
"last_link_id": 21, |
|
"nodes": [ |
|
{ |
|
"id": 1, |
|
"type": "LoadImage", |
|
"pos": [ |
|
78, |
|
78 |
|
], |
|
"size": { |
|
"0": 219, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 0, |
|
"mode": 0, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
3 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"CzjdP4NXUAAp97B.jpg", |
|
"image" |
|
] |
|
}, |
|
{ |
|
"id": 9, |
|
"type": "ImpactMakeImageBatch", |
|
"pos": [ |
|
639, |
|
190 |
|
], |
|
"size": { |
|
"0": 151.45999145507812, |
|
"1": 106 |
|
}, |
|
"flags": {}, |
|
"order": 8, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "image1", |
|
"type": "IMAGE", |
|
"link": 3 |
|
}, |
|
{ |
|
"name": "image2", |
|
"type": "IMAGE", |
|
"link": 4 |
|
}, |
|
{ |
|
"name": "image3", |
|
"type": "IMAGE", |
|
"link": 5 |
|
}, |
|
{ |
|
"name": "image4", |
|
"type": "IMAGE", |
|
"link": 6 |
|
}, |
|
{ |
|
"name": "image5", |
|
"type": "IMAGE", |
|
"link": null |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
7 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ImpactMakeImageBatch" |
|
} |
|
}, |
|
{ |
|
"id": 13, |
|
"type": "PreviewImage", |
|
"pos": [ |
|
1625, |
|
537 |
|
], |
|
"size": { |
|
"0": 266.20001220703125, |
|
"1": 348.47998046875 |
|
}, |
|
"flags": {}, |
|
"order": 11, |
|
"mode": 4, |
|
"inputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"link": 10 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "PreviewImage" |
|
} |
|
}, |
|
{ |
|
"id": 8, |
|
"type": "LoadImage", |
|
"pos": [ |
|
368, |
|
86 |
|
], |
|
"size": { |
|
"0": 219, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 1, |
|
"mode": 0, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
5 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"740full.jpg", |
|
"image" |
|
] |
|
}, |
|
{ |
|
"id": 7, |
|
"type": "LoadImage", |
|
"pos": [ |
|
358, |
|
458 |
|
], |
|
"size": { |
|
"0": 219, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 2, |
|
"mode": 0, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
6 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"original.jpg", |
|
"image" |
|
] |
|
}, |
|
{ |
|
"id": 6, |
|
"type": "LoadImage", |
|
"pos": [ |
|
74, |
|
445 |
|
], |
|
"size": { |
|
"0": 219, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 3, |
|
"mode": 0, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
4 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"happy-hour-20200817-1020.jpg", |
|
"image" |
|
] |
|
}, |
|
{ |
|
"id": 2, |
|
"type": "ReActorBuildFaceModel", |
|
"pos": [ |
|
874, |
|
197 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 106 |
|
}, |
|
"flags": {}, |
|
"order": 10, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"link": 7 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorBuildFaceModel" |
|
}, |
|
"widgets_values": [ |
|
false, |
|
"default", |
|
"Mean" |
|
] |
|
}, |
|
{ |
|
"id": 15, |
|
"type": "Note", |
|
"pos": [ |
|
824, |
|
42 |
|
], |
|
"size": { |
|
"0": 582.9181518554688, |
|
"1": 82.49797821044922 |
|
}, |
|
"flags": {}, |
|
"order": 4, |
|
"mode": 0, |
|
"properties": { |
|
"text": "" |
|
}, |
|
"widgets_values": [ |
|
"load your face images here, turn \"save_mode\" to ON, add a model name to \"face_model_name\", select a compute method. Most of the time \"Mean\" is fine. Files are saved in ComfyUI\\models\\reactor\\faces" |
|
], |
|
"color": "#432", |
|
"bgcolor": "#653" |
|
}, |
|
{ |
|
"id": 11, |
|
"type": "ReActorLoadFaceModel", |
|
"pos": [ |
|
926, |
|
576 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 58 |
|
}, |
|
"flags": {}, |
|
"order": 5, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "FACE_MODEL", |
|
"type": "FACE_MODEL", |
|
"links": [ |
|
8 |
|
], |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorLoadFaceModel" |
|
}, |
|
"widgets_values": [ |
|
"Gigi Hadid 1.safetensors" |
|
] |
|
}, |
|
{ |
|
"id": 10, |
|
"type": "ReActorFaceSwap", |
|
"pos": [ |
|
1279, |
|
538 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 338 |
|
}, |
|
"flags": {}, |
|
"order": 9, |
|
"mode": 4, |
|
"inputs": [ |
|
{ |
|
"name": "input_image", |
|
"type": "IMAGE", |
|
"link": 21, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "source_image", |
|
"type": "IMAGE", |
|
"link": null |
|
}, |
|
{ |
|
"name": "face_model", |
|
"type": "FACE_MODEL", |
|
"link": 8, |
|
"slot_index": 2 |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
10 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "FACE_MODEL", |
|
"type": "FACE_MODEL", |
|
"links": null, |
|
"shape": 3, |
|
"slot_index": 1 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorFaceSwap" |
|
}, |
|
"widgets_values": [ |
|
true, |
|
"inswapper_128.onnx", |
|
"retinaface_resnet50", |
|
"GFPGANv1.4.pth", |
|
1, |
|
1, |
|
"no", |
|
"no", |
|
"0", |
|
"0", |
|
1 |
|
] |
|
}, |
|
{ |
|
"id": 25, |
|
"type": "JWImageResizeByFactor", |
|
"pos": [ |
|
1675, |
|
975 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 82 |
|
}, |
|
"flags": { |
|
"collapsed": true |
|
}, |
|
"order": 6, |
|
"mode": 4, |
|
"inputs": [ |
|
{ |
|
"name": "image", |
|
"type": "IMAGE", |
|
"link": null, |
|
"slot_index": 0 |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [], |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "JWImageResizeByFactor" |
|
}, |
|
"widgets_values": [ |
|
0.5, |
|
"bicubic" |
|
] |
|
}, |
|
{ |
|
"id": 14, |
|
"type": "LoadImage", |
|
"pos": [ |
|
924, |
|
681 |
|
], |
|
"size": { |
|
"0": 326.87603759765625, |
|
"1": 328.41680908203125 |
|
}, |
|
"flags": {}, |
|
"order": 7, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
21 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"ComfyUI_temp_edrqc_00040_.png", |
|
"image" |
|
] |
|
} |
|
], |
|
"links": [ |
|
[ |
|
3, |
|
1, |
|
0, |
|
9, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
4, |
|
6, |
|
0, |
|
9, |
|
1, |
|
"IMAGE" |
|
], |
|
[ |
|
5, |
|
8, |
|
0, |
|
9, |
|
2, |
|
"IMAGE" |
|
], |
|
[ |
|
6, |
|
7, |
|
0, |
|
9, |
|
3, |
|
"IMAGE" |
|
], |
|
[ |
|
7, |
|
9, |
|
0, |
|
2, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
8, |
|
11, |
|
0, |
|
10, |
|
2, |
|
"FACE_MODEL" |
|
], |
|
[ |
|
10, |
|
10, |
|
0, |
|
13, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
21, |
|
14, |
|
0, |
|
10, |
|
0, |
|
"IMAGE" |
|
] |
|
], |
|
"groups": [ |
|
{ |
|
"title": "Test your models", |
|
"bounding": [ |
|
916, |
|
463, |
|
985, |
|
553 |
|
], |
|
"color": "#3f789e", |
|
"font_size": 24, |
|
"locked": false |
|
} |
|
], |
|
"config": {}, |
|
"extra": { |
|
"0246.VERSION": [ |
|
0, |
|
0, |
|
4 |
|
], |
|
"groupNodes": {} |
|
}, |
|
"version": 0.4 |
|
} |