From 81508114a1ba40a1eed9f7512fdb407004931369 Mon Sep 17 00:00:00 2001 From: Sam Khoze <68170403+SamKhoze@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:39:45 -0700 Subject: [PATCH] Add files via upload --- Workflows/DeepFuze_FaceSwapping.json | 566 +++++++++++++++++++++++++++ 1 file changed, 566 insertions(+) create mode 100644 Workflows/DeepFuze_FaceSwapping.json diff --git a/Workflows/DeepFuze_FaceSwapping.json b/Workflows/DeepFuze_FaceSwapping.json new file mode 100644 index 0000000..615f54e --- /dev/null +++ b/Workflows/DeepFuze_FaceSwapping.json @@ -0,0 +1,566 @@ +{ + "last_node_id": 21, + "last_link_id": 23, + "nodes": [ + { + "id": 3, + "type": "VHS_LoadVideo", + "pos": [ + 180, + 550 + ], + "size": [ + 235.1999969482422, + 389.10511467512265 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 21 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "frame_count", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "audio", + "type": "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": 48, + "skip_first_frames": 0, + "select_every_nth": 1, + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "frame_load_cap": 48, + "skip_first_frames": 0, + "force_rate": 0, + "filename": "960x506_25fps_Roto.mp4", + "type": "input", + "format": "video/mp4", + "select_every_nth": 1 + } + } + } + }, + { + "id": 6, + "type": "DeepFuzeFaceSwap", + "pos": [ + 490, + 300 + ], + "size": { + "0": 317.4000244140625, + "1": 454 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "source_images", + "type": "IMAGE", + "link": 22, + "slot_index": 0 + }, + { + "name": "target_images", + "type": "IMAGE", + "link": 21 + }, + { + "name": "audio", + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 15, + 16, + 17, + 18 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "frame_count", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 8 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DeepFuzeFaceSwap" + }, + "widgets_values": [ + "gfpgan_1.4", + "inswapper_128", + "clear_reality_x4", + "retinaface", + 0, + 0, + 0, + 0, + 0, + "cuda", + 24, + 0, + "deepfuze", + false, + true + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 20, + "type": "LoadImage", + "pos": [ + 90, + 150 + ], + "size": [ + 315, + 313.9999885559082 + ], + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 22 + ], + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "16829651070526.jpg", + "image" + ] + }, + { + "id": 14, + "type": "DeepfuzePreview", + "pos": [ + 848, + 140 + ], + "size": { + "0": 315, + "1": 342 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 15 + } + ], + "properties": { + "Node name for S&R": "DeepfuzePreview" + }, + "widgets_values": [ + 0, + 0, + 0, + 0 + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 17, + "type": "FILM VFI", + "pos": [ + 1254, + 104 + ], + "size": { + "0": 443.4000244140625, + "1": 126 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 17 + }, + { + "name": "optional_interpolation_states", + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 7, + 23 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "FILM VFI" + }, + "widgets_values": [ + "film_net_fp32.pt", + 10, + 2 + ] + }, + { + "id": 18, + "type": "VHS_VideoCombine", + "pos": [ + 1256, + 391 + ], + "size": [ + 315, + 310 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 18 + }, + { + "name": "audio", + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": {} + } + } + }, + { + "id": 15, + "type": "PreviewImage", + "pos": [ + 852, + 568 + ], + "size": { + "0": 305.6710510253906, + "1": 260.34246826171875 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 16 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 8, + "type": "VHS_VideoCombine", + "pos": [ + 2072, + 217 + ], + "size": [ + 315, + 310 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 7 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 8 + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": {} + } + } + }, + { + "id": 21, + "type": "PreviewImage", + "pos": [ + 1719, + 364 + ], + "size": { + "0": 305.6710510253906, + "1": 260.34246826171875 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 23 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 7, + 17, + 0, + 8, + 0, + "IMAGE" + ], + [ + 8, + 6, + 2, + 8, + 1, + "AUDIO" + ], + [ + 15, + 6, + 0, + 14, + 0, + "IMAGE" + ], + [ + 16, + 6, + 0, + 15, + 0, + "IMAGE" + ], + [ + 17, + 6, + 0, + 17, + 0, + "IMAGE" + ], + [ + 18, + 6, + 0, + 18, + 0, + "IMAGE" + ], + [ + 21, + 3, + 0, + 6, + 1, + "IMAGE" + ], + [ + 22, + 20, + 0, + 6, + 0, + "IMAGE" + ], + [ + 23, + 17, + 0, + 21, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.620921323059155, + "offset": [ + 1293.2502046099862, + 341.8373665602116 + ] + } + }, + "version": 0.4 +} \ No newline at end of file