diff --git a/README.md b/README.md new file mode 100644 index 0000000..94cbd4f --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# ComfyUI Workflows + +## Face Swap + +![Face Swap Image](./face-swap.png) \ No newline at end of file diff --git a/face-swap.json b/face-swap.json new file mode 100644 index 0000000..79d04af --- /dev/null +++ b/face-swap.json @@ -0,0 +1,192 @@ +{ + "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 +} \ No newline at end of file diff --git a/face-swap.png b/face-swap.png new file mode 100644 index 0000000..2666a39 Binary files /dev/null and b/face-swap.png differ