comfy-ui-workflows/face-swap.json

192 lines
3.1 KiB
JSON
Raw Permalink Normal View History

2023-10-24 20:07:20 +00:00
{
"last_node_id": 5,
"last_link_id": 3,
"nodes": [
{
"id": 5,
"type": "SaveImage",
"pos": [
1337,
207
],
"size": {
"0": 945.2976684570312,
"1": 916.4913940429688
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 3
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 4,
"type": "ReActorFaceSwap",
"pos": [
896,
502
],
"size": {
"0": 348.47991943359375,
"1": 285.94317626953125
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "source_image",
"type": "IMAGE",
"link": 2
},
{
"name": "input_image",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ReActorFaceSwap"
},
"widgets_values": [
true,
"inswapper_128.onnx",
"retinaface_resnet50",
"codeformer.pth",
"no",
"no",
"0",
"0",
2
]
},
{
"id": 1,
"type": "LoadImage",
"pos": [
258,
75
],
"size": {
"0": 534.3468017578125,
"1": 549.0333251953125
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"source.jpg",
"image"
]
},
{
"id": 3,
"type": "LoadImage",
"pos": [
259,
688
],
"size": {
"0": 534.3468017578125,
"1": 549.0333251953125
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"input.png",
"image"
]
}
],
"links": [
[
1,
3,
0,
4,
1,
"IMAGE"
],
[
2,
1,
0,
4,
0,
"IMAGE"
],
[
3,
4,
0,
5,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}