diff --git a/workflows/hellomeme_image_cropref_workflow.json b/workflows/hellomeme_image_cropref_workflow.json new file mode 100644 index 0000000..1d82a3f --- /dev/null +++ b/workflows/hellomeme_image_cropref_workflow.json @@ -0,0 +1,497 @@ +{ + "last_node_id": 16, + "last_link_id": 24, + "nodes": [ + { + "id": 1, + "type": "HMImagePipelineLoader", + "pos": { + "0": 226, + "1": 356 + }, + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "HMIMAGEPIPELINE", + "type": "HMIMAGEPIPELINE", + "links": [ + 7 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMImagePipelineLoader" + }, + "widgets_values": [ + "None", + "None", + 0 + ] + }, + { + "id": 9, + "type": "LoadImage", + "pos": { + "0": 227, + "1": 915 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 18 + ], + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "yao.jpg", + "image" + ] + }, + { + "id": 8, + "type": "LoadImage", + "pos": { + "0": 233, + "1": 536 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 19 + ], + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "majicmix2.jpg", + "image" + ] + }, + { + "id": 2, + "type": "HMFaceToolkitsLoader", + "pos": { + "0": 211, + "1": 180 + }, + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FACE_TOOLKITS", + "type": "FACE_TOOLKITS", + "links": [ + 13, + 16, + 20 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMFaceToolkitsLoader" + }, + "widgets_values": [ + 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 + }, + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 13 + }, + { + "name": "image", + "type": "IMAGE", + "link": 21 + } + ], + "outputs": [ + { + "name": "REFRT", + "type": "REFRT", + "links": [ + 17 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GetReferenceImageRT" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 7, + 1, + 0, + 6, + 0, + "HMIMAGEPIPELINE" + ], + [ + 11, + 6, + 0, + 10, + 0, + "IMAGE" + ], + [ + 13, + 2, + 0, + 11, + 0, + "FACE_TOOLKITS" + ], + [ + 15, + 14, + 0, + 6, + 2, + "DRIVE_PARAMS" + ], + [ + 16, + 2, + 0, + 14, + 0, + "FACE_TOOLKITS" + ], + [ + 17, + 11, + 0, + 14, + 2, + "REFRT" + ], + [ + 18, + 9, + 0, + 14, + 1, + "IMAGE" + ], + [ + 19, + 8, + 0, + 15, + 0, + "IMAGE" + ], + [ + 20, + 2, + 0, + 15, + 1, + "FACE_TOOLKITS" + ], + [ + 21, + 15, + 0, + 11, + 1, + "IMAGE" + ], + [ + 23, + 15, + 0, + 16, + 0, + "IMAGE" + ], + [ + 24, + 15, + 0, + 6, + 1, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.90909090909091, + "offset": [ + 351.63753729960956, + 23.084463313010133 + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/workflows/hellomeme_video_cropref_workflow.json b/workflows/hellomeme_video_cropref_workflow.json new file mode 100644 index 0000000..6905946 --- /dev/null +++ b/workflows/hellomeme_video_cropref_workflow.json @@ -0,0 +1,598 @@ +{ + "last_node_id": 26, + "last_link_id": 34, + "nodes": [ + { + "id": 14, + "type": "HMVideoPipelineLoader", + "pos": { + "0": 116, + "1": 105 + }, + "size": { + "0": 352.79998779296875, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "HMVIDEOPIPELINE", + "type": "HMVIDEOPIPELINE", + "links": [ + 16 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMVideoPipelineLoader" + }, + "widgets_values": [ + "None", + "None", + 0 + ] + }, + { + "id": 8, + "type": "LoadImage", + "pos": { + "0": 120, + "1": 414 + }, + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 12, + 31 + ], + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "majicmix2.jpg", + "image" + ] + }, + { + "id": 2, + "type": "HMFaceToolkitsLoader", + "pos": { + "0": 124, + "1": 276 + }, + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FACE_TOOLKITS", + "type": "FACE_TOOLKITS", + "links": [ + 13, + 27, + 32 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMFaceToolkitsLoader" + }, + "widgets_values": [ + 0 + ] + }, + { + "id": 20, + "type": "VHS_LoadVideoFFmpeg", + "pos": { + "0": 120, + "1": 841 + }, + "size": [ + 303.46875, + 535.46875 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null, + "shape": 7 + }, + { + "name": "vae", + "type": "VAE", + "link": null, + "shape": 7 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 28 + ], + "slot_index": 0 + }, + { + "name": "mask", + "type": "MASK", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 25 + ], + "slot_index": 2 + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null + } + ], + "properties": { + "Node name for S&R": "VHS_LoadVideoFFmpeg" + }, + "widgets_values": { + "video": "jgz.mp4", + "force_rate": 15, + "force_size": "Disabled", + "custom_width": 512, + "custom_height": 512, + "frame_load_cap": 0, + "start_time": 0, + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "force_rate": 15, + "frame_load_cap": 0, + "start_time": 0, + "filename": "jgz.mp4", + "type": "input", + "format": "video/mp4" + }, + "muted": false + } + } + }, + { + "id": 25, + "type": "CropReferenceImage", + "pos": { + "0": 617, + "1": 287 + }, + "size": { + "0": 252, + "1": 46 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 31 + }, + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 32 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 33, + 34 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CropReferenceImage" + }, + "widgets_values": [] + }, + { + "id": 15, + "type": "HMPipelineVideo", + "pos": { + "0": 1366, + "1": 390 + }, + "size": { + "0": 315, + "1": 218 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "pipeline", + "type": "HMVIDEOPIPELINE", + "link": 16 + }, + { + "name": "image", + "type": "IMAGE", + "link": 33 + }, + { + "name": "drive_video_params", + "type": "DRIVE_VIDEO_PARAMS", + "link": 29 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 24 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "HMPipelineVideo" + }, + "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, + 22541, + "randomize", + 2 + ] + }, + { + "id": 11, + "type": "GetReferenceImageRT", + "pos": { + "0": 565, + "1": 529 + }, + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 13 + }, + { + "name": "image", + "type": "IMAGE", + "link": 12 + } + ], + "outputs": [ + { + "name": "REFRT", + "type": "REFRT", + "links": [ + 26 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GetReferenceImageRT" + }, + "widgets_values": [] + }, + { + "id": 22, + "type": "GetVideoDriveParams", + "pos": { + "0": 951, + "1": 562 + }, + "size": { + "0": 330, + "1": 98 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 27 + }, + { + "name": "images", + "type": "IMAGE", + "link": 28 + }, + { + "name": "ref_rt", + "type": "REFRT", + "link": 26 + } + ], + "outputs": [ + { + "name": "drive_video_params", + "type": "DRIVE_VIDEO_PARAMS", + "links": [ + 29 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GetVideoDriveParams" + }, + "widgets_values": [ + 0 + ] + }, + { + "id": 26, + "type": "PreviewImage", + "pos": { + "0": 995, + "1": 115 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 34 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 21, + "type": "VHS_VideoCombine", + "pos": { + "0": 1863, + "1": 613 + }, + "size": [ + 214.7587890625, + 518.7587890625 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 24 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 25, + "shape": 7 + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null, + "shape": 7 + }, + { + "name": "vae", + "type": "VAE", + "link": null, + "shape": 7 + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": [] + } + ], + "properties": { + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 15, + "loop_count": 0, + "filename_prefix": "HelloMeme", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "HelloMeme_00005-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 15 + }, + "muted": false + } + } + } + ], + "links": [ + [ + 12, + 8, + 0, + 11, + 1, + "IMAGE" + ], + [ + 13, + 2, + 0, + 11, + 0, + "FACE_TOOLKITS" + ], + [ + 16, + 14, + 0, + 15, + 0, + "HMVIDEOPIPELINE" + ], + [ + 24, + 15, + 0, + 21, + 0, + "IMAGE" + ], + [ + 25, + 20, + 2, + 21, + 1, + "AUDIO" + ], + [ + 26, + 11, + 0, + 22, + 2, + "REFRT" + ], + [ + 27, + 2, + 0, + 22, + 0, + "FACE_TOOLKITS" + ], + [ + 28, + 20, + 0, + 22, + 1, + "IMAGE" + ], + [ + 29, + 22, + 0, + 15, + 2, + "DRIVE_PARAMS" + ], + [ + 31, + 8, + 0, + 25, + 0, + "IMAGE" + ], + [ + 32, + 2, + 0, + 25, + 1, + "FACE_TOOLKITS" + ], + [ + 33, + 25, + 0, + 15, + 1, + "IMAGE" + ], + [ + 34, + 25, + 0, + 26, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.90909090909091, + "offset": [ + 351.63753729960956, + 23.81778545656482 + ] + } + }, + "version": 0.4 +} \ No newline at end of file