From 94ebe624103b84e6546f9a6602c7a53f416037f0 Mon Sep 17 00:00:00 2001 From: songkey-win Date: Sun, 10 Nov 2024 23:20:33 +0800 Subject: [PATCH] lc --- meme.py | 24 +- .../hellomeme_image_cropref_workflow.json | 546 +++++++++--------- workflows/hellomeme_image_workflow.json | 412 ++++++------- .../hellomeme_video_cropref_workflow.json | 32 +- workflows/hellomeme_video_workflow.json | 26 +- 5 files changed, 524 insertions(+), 516 deletions(-) diff --git a/meme.py b/meme.py index 99eb6d2..f615383 100644 --- a/meme.py +++ b/meme.py @@ -55,6 +55,7 @@ class HMImagePipelineLoader: } } RETURN_TYPES = ("HMIMAGEPIPELINE", ) + RETURN_NAMES = ("hm_image_pipeline", ) FUNCTION = "load_pipeline" CATEGORY = "hellomeme" def load_pipeline(self, checkpoint_path=None, lora_path=None, gpu_id=0): @@ -102,6 +103,7 @@ class HMVideoPipelineLoader: } RETURN_TYPES = ("HMVIDEOPIPELINE",) + RETURN_NAMES = ("hm_video_pipeline",) FUNCTION = "load_pipeline" CATEGORY = "hellomeme" @@ -146,6 +148,7 @@ class HMFaceToolkitsLoader: } RETURN_TYPES = ("FACE_TOOLKITS",) + RETURN_NAMES = ("face_toolkits",) FUNCTION = "load_face_toolkits" CATEGORY = "hellomeme" def load_face_toolkits(self, gpu_id): @@ -170,6 +173,7 @@ class GetReferenceImageRT: } RETURN_TYPES = ("REFRT",) + RETURN_NAMES = ("ref_rt",) FUNCTION = "get_reference_image_rt" CATEGORY = "hellomeme" @@ -228,8 +232,8 @@ class GetImageDriveParams: } } - RETURN_TYPES = ("DRIVE_IMAGE_PARAMS",) - RETURN_NAMES = ("drive_image_params",) + RETURN_TYPES = ("DRIVE_PARAMS",) + RETURN_NAMES = ("drive_params",) FUNCTION = "get_face_params" CATEGORY = "hellomeme" def get_face_params(self, face_toolkits, image, ref_rt, gpu_id): @@ -272,7 +276,7 @@ class HMPipelineImage: "required": { "pipeline": ("HMIMAGEPIPELINE",), "image": ("IMAGE",), - "drive_image_params": ("DRIVE_IMAGE_PARAMS",), + "drive_params": ("DRIVE_PARAMS",), "prompt": ("STRING", {"default": '(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture'}), "negative_prompt": ("STRING", {"default": ''}), "steps": ("INT", {"default": 25, "min": 1, "max": 1000}), @@ -285,7 +289,7 @@ class HMPipelineImage: FUNCTION = "sample" CATEGORY = "hellomeme" - def sample(self, pipeline, image, drive_image_params, prompt, negative_prompt, steps=25, seed=-1, guidance_scale=2.0): + def sample(self, pipeline, image, drive_params, prompt, negative_prompt, steps=25, seed=-1, guidance_scale=2.0): image_np = (image[0] * 255).cpu().numpy().astype(np.uint8) image_np = cv2.resize(image_np, (512, 512)) image_pil = Image.fromarray(image_np) @@ -299,7 +303,7 @@ class HMPipelineImage: prompt=[prompt], strength=1.0, image=image_pil, - drive_params=copy.deepcopy(drive_image_params), + drive_params=drive_params, num_inference_steps=steps, negative_prompt=[negative_prompt], guidance_scale=guidance_scale, @@ -319,8 +323,8 @@ class GetVideoDriveParams: "trans_ratio": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.01}), } } - RETURN_TYPES = ("DRIVE_VIDEO_PARAMS",) - RETURN_NAMES = ("drive_video_params",) + RETURN_TYPES = ("DRIVE_PARAMS",) + RETURN_NAMES = ("drive_params",) FUNCTION = "get_face_params" CATEGORY = "hellomeme" def get_face_params(self, face_toolkits, images, ref_rt, trans_ratio): @@ -356,7 +360,7 @@ class HMPipelineVideo: { "pipeline": ("HMVIDEOPIPELINE",), "image": ("IMAGE",), - "drive_video_params": ("DRIVE_VIDEO_PARAMS",), + "drive_params": ("DRIVE_PARAMS",), "prompt": ("STRING", {"default": '(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture'}), "negative_prompt": ("STRING", {"default": ''}), "steps": ("INT", {"default": 25, "min": 1, "max": 1000}), @@ -369,7 +373,7 @@ class HMPipelineVideo: FUNCTION = "sample" CATEGORY = "hellomeme" - def sample(self, pipeline, image, drive_video_params, prompt, negative_prompt, steps=25, seed=-1, guidance_scale=2.0): + def sample(self, pipeline, image, drive_params, prompt, negative_prompt, steps=25, seed=-1, guidance_scale=2.0): image_np = (image[0] * 255).cpu().numpy().astype(np.uint8) image_np = cv2.resize(image_np, (512, 512)) image_pil = Image.fromarray(image_np) @@ -382,7 +386,7 @@ class HMPipelineVideo: prompt=[prompt], strength=1.0, image=image_pil, - drive_params=copy.deepcopy(drive_video_params), + drive_params=drive_params, num_inference_steps=steps, negative_prompt=[negative_prompt], guidance_scale=guidance_scale, diff --git a/workflows/hellomeme_image_cropref_workflow.json b/workflows/hellomeme_image_cropref_workflow.json index 1d82a3f..6cf394b 100644 --- a/workflows/hellomeme_image_cropref_workflow.json +++ b/workflows/hellomeme_image_cropref_workflow.json @@ -1,16 +1,16 @@ { - "last_node_id": 16, - "last_link_id": 24, + "last_node_id": 31, + "last_link_id": 40, "nodes": [ { - "id": 1, + "id": 28, "type": "HMImagePipelineLoader", "pos": { - "0": 226, - "1": 356 + "0": 111, + "1": 102 }, "size": { - "0": 315, + "0": 352.79998779296875, "1": 106 }, "flags": {}, @@ -22,7 +22,7 @@ "name": "HMIMAGEPIPELINE", "type": "HMIMAGEPIPELINE", "links": [ - 7 + 34 ], "slot_index": 0 } @@ -37,11 +37,91 @@ ] }, { - "id": 9, + "id": 29, + "type": "PreviewImage", + "pos": { + "0": 1825, + "1": 420 + }, + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 35 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 26, + "type": "HMPipelineImage", + "pos": { + "0": 1407.3828125, + "1": 432.0332336425781 + }, + "size": { + "0": 315, + "1": 218 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "pipeline", + "type": "HMIMAGEPIPELINE", + "link": 34 + }, + { + "name": "image", + "type": "IMAGE", + "link": 39 + }, + { + "name": "drive_params", + "type": "DRIVE_PARAMS", + "link": 32 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 35 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMPipelineImage" + }, + "widgets_values": [ + "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture", + "", + 25, + 467, + "randomize", + 2 + ] + }, + { + "id": 25, "type": "LoadImage", "pos": { - "0": 227, - "1": 915 + "0": 120, + "1": 796 }, "size": { "0": 315, @@ -56,7 +136,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 18 + 31 ], "slot_index": 0 }, @@ -78,8 +158,8 @@ "id": 8, "type": "LoadImage", "pos": { - "0": 233, - "1": 536 + "0": 120, + "1": 414 }, "size": { "0": 315, @@ -94,7 +174,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 19 + 36 ], "slot_index": 0 }, @@ -116,8 +196,8 @@ "id": 2, "type": "HMFaceToolkitsLoader", "pos": { - "0": 211, - "1": 180 + "0": 124, + "1": 276 }, "size": { "0": 315, @@ -133,8 +213,8 @@ "type": "FACE_TOOLKITS", "links": [ 13, - 16, - 20 + 27, + 37 ], "slot_index": 0 } @@ -146,208 +226,12 @@ 0 ] }, - { - "id": 10, - "type": "PreviewImage", - "pos": { - "0": 1714, - "1": 603 - }, - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 11 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [] - }, - { - "id": 6, - "type": "HMPipelineImage", - "pos": { - "0": 1311, - "1": 561 - }, - "size": { - "0": 315, - "1": 218 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "pipeline", - "type": "HMIMAGEPIPELINE", - "link": 7 - }, - { - "name": "image", - "type": "IMAGE", - "link": 24 - }, - { - "name": "drive_image_params", - "type": "DRIVE_IMAGE_PARAMS", - "link": 15 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 11 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "HMPipelineImage" - }, - "widgets_values": [ - "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture", - "", - 25, - 51131, - "randomize", - 2 - ] - }, - { - "id": 15, - "type": "CropReferenceImage", - "pos": { - "0": 602, - "1": 353 - }, - "size": { - "0": 252, - "1": 46 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 19 - }, - { - "name": "face_toolkits", - "type": "FACE_TOOLKITS", - "link": 20 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 21, - 23, - 24 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "CropReferenceImage" - } - }, - { - "id": 14, - "type": "GetImageDriveParams", - "pos": { - "0": 847, - "1": 617 - }, - "size": { - "0": 330, - "1": 98 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "face_toolkits", - "type": "FACE_TOOLKITS", - "link": 16 - }, - { - "name": "image", - "type": "IMAGE", - "link": 18 - }, - { - "name": "ref_rt", - "type": "REFRT", - "link": 17 - } - ], - "outputs": [ - { - "name": "drive_image_params", - "type": "DRIVE_IMAGE_PARAMS", - "links": [ - 15 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "GetImageDriveParams" - }, - "widgets_values": [ - 0 - ] - }, - { - "id": 16, - "type": "PreviewImage", - "pos": { - "0": 1306, - "1": 165 - }, - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 23 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 11, "type": "GetReferenceImageRT", "pos": { - "0": 961, - "1": 327 + "0": 639, + "1": 512 }, "size": { "0": 241.79998779296875, @@ -365,7 +249,7 @@ { "name": "image", "type": "IMAGE", - "link": 21 + "link": 38 } ], "outputs": [ @@ -373,7 +257,7 @@ "name": "REFRT", "type": "REFRT", "links": [ - 17 + 26 ], "slot_index": 0 } @@ -382,25 +266,125 @@ "Node name for S&R": "GetReferenceImageRT" }, "widgets_values": [] + }, + { + "id": 22, + "type": "GetVideoDriveParams", + "pos": { + "0": 960, + "1": 552 + }, + "size": { + "0": 330, + "1": 98 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 27 + }, + { + "name": "images", + "type": "IMAGE", + "link": 31 + }, + { + "name": "ref_rt", + "type": "REFRT", + "link": 26 + } + ], + "outputs": [ + { + "name": "drive_params", + "type": "DRIVE_PARAMS", + "links": [ + 32 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GetVideoDriveParams" + }, + "widgets_values": [ + 0 + ] + }, + { + "id": 31, + "type": "PreviewImage", + "pos": { + "0": 934, + "1": 134 + }, + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 40 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 30, + "type": "CropReferenceImage", + "pos": { + "0": 488, + "1": 306 + }, + "size": { + "0": 252, + "1": 46 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 36 + }, + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 37 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 38, + 39, + 40 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CropReferenceImage" + } } ], "links": [ - [ - 7, - 1, - 0, - 6, - 0, - "HMIMAGEPIPELINE" - ], - [ - 11, - 6, - 0, - 10, - 0, - "IMAGE" - ], [ 13, 2, @@ -410,75 +394,91 @@ "FACE_TOOLKITS" ], [ - 15, - 14, - 0, - 6, - 2, - "DRIVE_PARAMS" - ], - [ - 16, - 2, - 0, - 14, - 0, - "FACE_TOOLKITS" - ], - [ - 17, + 26, 11, 0, - 14, + 22, 2, "REFRT" ], [ - 18, - 9, + 27, + 2, 0, - 14, + 22, + 0, + "FACE_TOOLKITS" + ], + [ + 31, + 25, + 0, + 22, 1, "IMAGE" ], [ - 19, - 8, + 32, + 22, 0, - 15, + 26, + 2, + "DRIVE_PARAMS" + ], + [ + 34, + 28, + 0, + 26, + 0, + "HMIMAGEPIPELINE" + ], + [ + 35, + 26, + 0, + 29, 0, "IMAGE" ], [ - 20, + 36, + 8, + 0, + 30, + 0, + "IMAGE" + ], + [ + 37, 2, 0, - 15, + 30, 1, "FACE_TOOLKITS" ], [ - 21, - 15, + 38, + 30, 0, 11, 1, "IMAGE" ], [ - 23, - 15, - 0, - 16, + 39, + 30, 0, + 26, + 1, "IMAGE" ], [ - 24, - 15, + 40, + 30, + 0, + 31, 0, - 6, - 1, "IMAGE" ] ], @@ -486,10 +486,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.90909090909091, + "scale": 0.9090909090909091, "offset": [ - 351.63753729960956, - 23.084463313010133 + 328.0506633321691, + 3.5667581298829703 ] } }, diff --git a/workflows/hellomeme_image_workflow.json b/workflows/hellomeme_image_workflow.json index eb7af40..2560c4c 100644 --- a/workflows/hellomeme_image_workflow.json +++ b/workflows/hellomeme_image_workflow.json @@ -1,13 +1,13 @@ { - "last_node_id": 14, - "last_link_id": 18, + "last_node_id": 29, + "last_link_id": 35, "nodes": [ { "id": 11, "type": "GetReferenceImageRT", "pos": { - "0": 621, - "1": 262 + "0": 536, + "1": 516 }, "size": { "0": 241.79998779296875, @@ -33,7 +33,7 @@ "name": "REFRT", "type": "REFRT", "links": [ - 17 + 26 ], "slot_index": 0 } @@ -43,138 +43,12 @@ }, "widgets_values": [] }, - { - "id": 14, - "type": "GetImageDriveParams", - "pos": { - "0": 987, - "1": 226 - }, - "size": { - "0": 330, - "1": 98 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "face_toolkits", - "type": "FACE_TOOLKITS", - "link": 16 - }, - { - "name": "image", - "type": "IMAGE", - "link": 18 - }, - { - "name": "ref_rt", - "type": "REFRT", - "link": 17 - } - ], - "outputs": [ - { - "name": "drive_image_params", - "type": "DRIVE_IMAGE_PARAMS", - "links": [ - 15 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "GetImageDriveParams" - }, - "widgets_values": [ - 0 - ] - }, - { - "id": 6, - "type": "HMPipelineImage", - "pos": { - "0": 1325, - "1": 654 - }, - "size": { - "0": 315, - "1": 170 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "pipeline", - "type": "HMIMAGEPIPELINE", - "link": 7 - }, - { - "name": "image", - "type": "IMAGE", - "link": 9 - }, - { - "name": "drive_image_params", - "type": "DRIVE_IMAGE_PARAMS", - "link": 15 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 11 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "HMPipelineImage" - }, - "widgets_values": [ - "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture", - "", - 25, - 2 - ] - }, - { - "id": 10, - "type": "PreviewImage", - "pos": { - "0": 1695, - "1": 652 - }, - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 11 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [] - }, { "id": 2, "type": "HMFaceToolkitsLoader", "pos": { - "0": 211, - "1": 180 + "0": 124, + "1": 276 }, "size": { "0": 315, @@ -190,7 +64,7 @@ "type": "FACE_TOOLKITS", "links": [ 13, - 16 + 27 ], "slot_index": 0 } @@ -203,36 +77,50 @@ ] }, { - "id": 1, - "type": "HMImagePipelineLoader", + "id": 22, + "type": "GetVideoDriveParams", "pos": { - "0": 226, - "1": 356 + "0": 932, + "1": 503 }, "size": { - "0": 315, - "1": 106 + "0": 330, + "1": 98 }, "flags": {}, - "order": 1, + "order": 5, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 27 + }, + { + "name": "images", + "type": "IMAGE", + "link": 31 + }, + { + "name": "ref_rt", + "type": "REFRT", + "link": 26 + } + ], "outputs": [ { - "name": "HMIMAGEPIPELINE", - "type": "HMIMAGEPIPELINE", + "name": "drive_params", + "type": "DRIVE_PARAMS", "links": [ - 7 + 32 ], "slot_index": 0 } ], "properties": { - "Node name for S&R": "HMImagePipelineLoader" + "Node name for S&R": "GetVideoDriveParams" }, "widgets_values": [ - "None", - "None", 0 ] }, @@ -240,15 +128,15 @@ "id": 8, "type": "LoadImage", "pos": { - "0": 233, - "1": 536 + "0": 120, + "1": 414 }, "size": { "0": 315, "1": 314 }, "flags": {}, - "order": 2, + "order": 1, "mode": 0, "inputs": [], "outputs": [ @@ -256,8 +144,8 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 9, - 12 + 12, + 33 ], "slot_index": 0 }, @@ -276,11 +164,125 @@ ] }, { - "id": 9, + "id": 28, + "type": "HMImagePipelineLoader", + "pos": { + "0": 111, + "1": 102 + }, + "size": { + "0": 352.79998779296875, + "1": 106 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "HMIMAGEPIPELINE", + "type": "HMIMAGEPIPELINE", + "links": [ + 34 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMImagePipelineLoader" + }, + "widgets_values": [ + "None", + "None", + 0 + ] + }, + { + "id": 29, + "type": "PreviewImage", + "pos": { + "0": 1825, + "1": 420 + }, + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 35 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 26, + "type": "HMPipelineImage", + "pos": { + "0": 1407.3828125, + "1": 432.0332336425781 + }, + "size": { + "0": 315, + "1": 218 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "pipeline", + "type": "HMIMAGEPIPELINE", + "link": 34 + }, + { + "name": "image", + "type": "IMAGE", + "link": 33 + }, + { + "name": "drive_params", + "type": "DRIVE_PARAMS", + "link": 32 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 35 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMPipelineImage" + }, + "widgets_values": [ + "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture", + "", + 25, + 87153, + "randomize", + 2 + ] + }, + { + "id": 25, "type": "LoadImage", "pos": { - "0": 227, - "1": 915 + "0": 120, + "1": 796 }, "size": { "0": 315, @@ -295,7 +297,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 18 + 31 ], "slot_index": 0 }, @@ -315,30 +317,6 @@ } ], "links": [ - [ - 7, - 1, - 0, - 6, - 0, - "HMIMAGEPIPELINE" - ], - [ - 9, - 8, - 0, - 6, - 1, - "IMAGE" - ], - [ - 11, - 6, - 0, - 10, - 0, - "IMAGE" - ], [ 12, 8, @@ -356,46 +334,70 @@ "FACE_TOOLKITS" ], [ - 15, - 14, - 0, - 6, - 2, - "DRIVE_PARAMS" - ], - [ - 16, - 2, - 0, - 14, - 0, - "FACE_TOOLKITS" - ], - [ - 17, + 26, 11, 0, - 14, + 22, 2, "REFRT" ], [ - 18, - 9, + 27, + 2, 0, - 14, + 22, + 0, + "FACE_TOOLKITS" + ], + [ + 31, + 25, + 0, + 22, 1, "IMAGE" + ], + [ + 32, + 22, + 0, + 26, + 2, + "DRIVE_PARAMS" + ], + [ + 33, + 8, + 0, + 26, + 1, + "IMAGE" + ], + [ + 34, + 28, + 0, + 26, + 0, + "HMIMAGEPIPELINE" + ], + [ + 35, + 26, + 0, + 29, + 0, + "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { - "scale": 1, + "scale": 0.9090909090909091, "offset": [ - 150, - -42.66668701171875 + 328.0506633321691, + 3.5667581298829703 ] } }, diff --git a/workflows/hellomeme_video_cropref_workflow.json b/workflows/hellomeme_video_cropref_workflow.json index 6905946..354fff1 100644 --- a/workflows/hellomeme_video_cropref_workflow.json +++ b/workflows/hellomeme_video_cropref_workflow.json @@ -19,7 +19,7 @@ "inputs": [], "outputs": [ { - "name": "HMVIDEOPIPELINE", + "name": "hm_video_pipeline", "type": "HMVIDEOPIPELINE", "links": [ 16 @@ -92,7 +92,7 @@ "inputs": [], "outputs": [ { - "name": "FACE_TOOLKITS", + "name": "face_toolkits", "type": "FACE_TOOLKITS", "links": [ 13, @@ -116,10 +116,10 @@ "0": 120, "1": 841 }, - "size": [ - 303.46875, - 535.46875 - ], + "size": { + "0": 303.46875, + "1": 238 + }, "flags": {}, "order": 3, "mode": 0, @@ -260,8 +260,8 @@ "link": 33 }, { - "name": "drive_video_params", - "type": "DRIVE_VIDEO_PARAMS", + "name": "drive_params", + "type": "DRIVE_PARAMS", "link": 29 } ], @@ -282,7 +282,7 @@ "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture", "", 25, - 22541, + 75328, "randomize", 2 ] @@ -315,7 +315,7 @@ ], "outputs": [ { - "name": "REFRT", + "name": "ref_rt", "type": "REFRT", "links": [ 26 @@ -361,8 +361,8 @@ ], "outputs": [ { - "name": "drive_video_params", - "type": "DRIVE_VIDEO_PARAMS", + "name": "drive_params", + "type": "DRIVE_PARAMS", "links": [ 29 ], @@ -466,7 +466,7 @@ "hidden": false, "paused": false, "params": { - "filename": "HelloMeme_00005-audio.mp4", + "filename": "HelloMeme_00014-audio.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", @@ -587,10 +587,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.90909090909091, + "scale": 0.9090909090909091, "offset": [ - 351.63753729960956, - 23.81778545656482 + 328.0506633321691, + 3.5667581298829703 ] } }, diff --git a/workflows/hellomeme_video_workflow.json b/workflows/hellomeme_video_workflow.json index 748362b..2ea7cb3 100644 --- a/workflows/hellomeme_video_workflow.json +++ b/workflows/hellomeme_video_workflow.json @@ -11,7 +11,7 @@ }, "size": { "0": 315, - "1": 170 + "1": 218 }, "flags": {}, "order": 6, @@ -28,8 +28,8 @@ "link": 17 }, { - "name": "drive_video_params", - "type": "DRIVE_VIDEO_PARAMS", + "name": "drive_params", + "type": "DRIVE_PARAMS", "link": 29 } ], @@ -50,6 +50,8 @@ "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture", "", 25, + 97398, + "randomize", 2 ] }, @@ -70,7 +72,7 @@ "inputs": [], "outputs": [ { - "name": "FACE_TOOLKITS", + "name": "face_toolkits", "type": "FACE_TOOLKITS", "links": [ 13, @@ -114,7 +116,7 @@ ], "outputs": [ { - "name": "REFRT", + "name": "ref_rt", "type": "REFRT", "links": [ 26 @@ -190,7 +192,7 @@ "hidden": false, "paused": false, "params": { - "filename": "HelloMeme_00001-audio.mp4", + "filename": "HelloMeme_00016-audio.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", @@ -233,8 +235,8 @@ ], "outputs": [ { - "name": "drive_video_params", - "type": "DRIVE_VIDEO_PARAMS", + "name": "drive_params", + "type": "DRIVE_PARAMS", "links": [ 29 ], @@ -265,7 +267,7 @@ "inputs": [], "outputs": [ { - "name": "HMVIDEOPIPELINE", + "name": "hm_video_pipeline", "type": "HMVIDEOPIPELINE", "links": [ 16 @@ -491,10 +493,10 @@ "config": {}, "extra": { "ds": { - "scale": 1, + "scale": 0.9090909090909091, "offset": [ - 0, - 0 + 328.0506633321691, + 3.5667581298829703 ] } },