From d7e87556f9bcc75c6c8063c529c70934660c5e17 Mon Sep 17 00:00:00 2001 From: Sam Khoze <68170403+SamKhoze@users.noreply.github.com> Date: Sun, 16 Jun 2024 02:08:22 +0530 Subject: [PATCH] Add files via upload --- Workflows/DeepFuze_FaceSwap.json | 380 +++++++++++++++++++++++++++++++ 1 file changed, 380 insertions(+) create mode 100644 Workflows/DeepFuze_FaceSwap.json diff --git a/Workflows/DeepFuze_FaceSwap.json b/Workflows/DeepFuze_FaceSwap.json new file mode 100644 index 0000000..8ae3565 --- /dev/null +++ b/Workflows/DeepFuze_FaceSwap.json @@ -0,0 +1,380 @@ +{ + "last_node_id": 18, + "last_link_id": 20, + "nodes": [ + { + "id": 8, + "type": "VHS_LoadVideo", + "pos": [ + 974, + 850 + ], + "size": [ + 298.9893798828125, + 423.2583082325797 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "frame_count", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "audio", + "type": "VHS_AUDIO", + "links": null, + "shape": 3 + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "960x506_25fps_Roto.mp4", + "force_rate": 0, + "force_size": "Disabled", + "custom_width": 512, + "custom_height": 512, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "frame_load_cap": 0, + "skip_first_frames": 0, + "force_rate": 0, + "select_every_nth": 1, + "filename": "960x506_25fps_Roto.mp4", + "type": "input", + "format": "video/mp4" + } + } + } + }, + { + "id": 15, + "type": "DeepfuzePreview", + "pos": [ + 1729, + 568 + ], + "size": [ + 315, + 342 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 19 + } + ], + "properties": { + "Node name for S&R": "DeepfuzePreview" + }, + "widgets_values": [ + 0, + 0, + 0, + 0 + ] + }, + { + "id": 9, + "type": "VHS_VideoCombine", + "pos": [ + 2080, + 475 + ], + "size": [ + 315, + 461 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 20 + }, + { + "name": "audio", + "type": "VHS_AUDIO", + "link": null + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 25, + "loop_count": 0, + "filename_prefix": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 5, + "save_metadata": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00002.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4" + } + } + } + }, + { + "id": 7, + "type": "LoadImage", + "pos": [ + 971, + 457 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 16 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "Brad_Pitt.webp", + "image" + ] + }, + { + "id": 16, + "type": "DeepFuzeFaceSwap", + "pos": [ + 1337, + 468 + ], + "size": { + "0": 317.4000244140625, + "1": 454 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "source_images", + "type": "IMAGE", + "link": 16 + }, + { + "name": "target_images", + "type": "IMAGE", + "link": 17 + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 18, + 19, + 20 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "frame_count", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "audio", + "type": "VHS_AUDIO", + "links": null, + "shape": 3 + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DeepFuzeFaceSwap" + }, + "widgets_values": [ + "gfpgan_1.4", + "blendswap_256", + "ultra_sharp_x4", + "retinaface", + 0, + 0, + 0, + 0, + 0, + "cpu", + 25, + 0, + "deepfuze", + false, + true + ] + }, + { + "id": 14, + "type": "PreviewImage", + "pos": [ + 1732, + 999 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 18 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 16, + 7, + 0, + 16, + 0, + "IMAGE" + ], + [ + 17, + 8, + 0, + 16, + 1, + "IMAGE" + ], + [ + 18, + 16, + 0, + 14, + 0, + "IMAGE" + ], + [ + 19, + 16, + 0, + 15, + 0, + "IMAGE" + ], + [ + 20, + 16, + 0, + 9, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.1167815779424781, + "offset": [ + -887.5860107723731, + -348.4685583043991 + ] + } + }, + "version": 0.4 +} \ No newline at end of file