diff --git a/example_workflows/image_style_transfer.jpg b/example_workflows/image_style_transfer.jpg new file mode 100644 index 0000000..55614fd Binary files /dev/null and b/example_workflows/image_style_transfer.jpg differ diff --git a/example_workflows/image_style_transfer.json b/example_workflows/image_style_transfer.json new file mode 100644 index 0000000..7cf1150 --- /dev/null +++ b/example_workflows/image_style_transfer.json @@ -0,0 +1,680 @@ +{ + "id": "a8e8ebf3-8dc8-4d76-ad73-dfe0b945cc77", + "revision": 0, + "last_node_id": 80, + "last_link_id": 190, + "nodes": [ + { + "id": 2, + "type": "HMFaceToolkitsLoader", + "pos": [ + 45.41996383666992, + 769.9866333007812 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "slot_index": 0, + "links": [ + 122, + 129, + 147, + 149, + 173, + 174 + ] + } + ], + "properties": { + "Node name for S&R": "HMFaceToolkitsLoader" + }, + "widgets_values": [ + 0, + "huggingface" + ] + }, + { + "id": 61, + "type": "GetFaceLandmarks", + "pos": [ + 519.7196655273438, + 938.032958984375 + ], + "size": [ + 170.62362670898438, + 46 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 129 + }, + { + "name": "images", + "type": "IMAGE", + "link": 188 + } + ], + "outputs": [ + { + "name": "landmarks", + "type": "FACELANDMARKS222", + "links": [ + 145, + 177 + ] + } + ], + "properties": { + "Node name for S&R": "GetFaceLandmarks" + }, + "widgets_values": [] + }, + { + "id": 60, + "type": "GetFaceLandmarks", + "pos": [ + 518.9132690429688, + 612.9461669921875 + ], + "size": [ + 170.62362670898438, + 46 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 122 + }, + { + "name": "images", + "type": "IMAGE", + "link": 121 + } + ], + "outputs": [ + { + "name": "landmarks", + "type": "FACELANDMARKS222", + "links": [ + 143, + 178 + ] + } + ], + "properties": { + "Node name for S&R": "GetFaceLandmarks" + }, + "widgets_values": [] + }, + { + "id": 67, + "type": "GetHeadPose", + "pos": [ + 814.1528930664062, + 495.9793701171875 + ], + "size": [ + 270, + 98 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 147 + }, + { + "name": "images", + "type": "IMAGE", + "link": 151 + }, + { + "name": "landmarks", + "type": "FACELANDMARKS222", + "link": 143 + } + ], + "outputs": [ + { + "name": "head_pose", + "type": "HEAD_POSE", + "links": [ + 183 + ] + } + ], + "properties": { + "Node name for S&R": "GetHeadPose" + }, + "widgets_values": [ + true + ] + }, + { + "id": 75, + "type": "GetExpression2", + "pos": [ + 814.1359252929688, + 689.6795654296875 + ], + "size": [ + 191.63729858398438, + 66 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 173 + }, + { + "name": "images", + "type": "IMAGE", + "link": 175 + }, + { + "name": "landmarks", + "type": "FACELANDMARKS222", + "link": 178 + } + ], + "outputs": [ + { + "name": "expression", + "type": "EXPRESSION", + "links": [ + 184 + ] + } + ], + "properties": { + "Node name for S&R": "GetExpression2" + }, + "widgets_values": [] + }, + { + "id": 69, + "type": "GetHeadPose", + "pos": [ + 819.799560546875, + 860.5927734375 + ], + "size": [ + 270, + 98 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 149 + }, + { + "name": "images", + "type": "IMAGE", + "link": 189 + }, + { + "name": "landmarks", + "type": "FACELANDMARKS222", + "link": 145 + } + ], + "outputs": [ + { + "name": "head_pose", + "type": "HEAD_POSE", + "links": [ + 185 + ] + } + ], + "properties": { + "Node name for S&R": "GetHeadPose" + }, + "widgets_values": [ + true + ] + }, + { + "id": 76, + "type": "GetExpression2", + "pos": [ + 833.6573486328125, + 1042.0396728515625 + ], + "size": [ + 191.63729858398438, + 66 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "face_toolkits", + "type": "FACE_TOOLKITS", + "link": 174 + }, + { + "name": "images", + "type": "IMAGE", + "link": 190 + }, + { + "name": "landmarks", + "type": "FACELANDMARKS222", + "link": 177 + } + ], + "outputs": [ + { + "name": "expression", + "type": "EXPRESSION", + "links": [ + 186 + ] + } + ], + "properties": { + "Node name for S&R": "GetExpression2" + }, + "widgets_values": [] + }, + { + "id": 78, + "type": "HMImagePipelineLoader", + "pos": [ + 797.7930297851562, + 188.84007263183594 + ], + "size": [ + 298.3472595214844, + 226 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "hm_image_pipeline", + "type": "HMIMAGEPIPELINE", + "links": [ + 182 + ] + } + ], + "properties": { + "Node name for S&R": "HMImagePipelineLoader" + }, + "widgets_values": [ + "[preset]DisneyPixarCartoonB", + "[preset]BabyFaceV1", + "same as checkpoint", + "v5", + "x1", + "huggingface", + 1, + "fp32" + ] + }, + { + "id": 79, + "type": "HMPipelineImage", + "pos": [ + 1334.226318359375, + 613.9535522460938 + ], + "size": [ + 270, + 306 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "hm_image_pipeline", + "type": "HMIMAGEPIPELINE", + "link": 182 + }, + { + "name": "ref_head_pose", + "type": "HEAD_POSE", + "link": 183 + }, + { + "name": "ref_expression", + "type": "EXPRESSION", + "link": 184 + }, + { + "name": "drive_head_pose", + "type": "HEAD_POSE", + "link": 185 + }, + { + "name": "drive_expression", + "type": "EXPRESSION", + "link": 186 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 187 + ] + }, + { + "name": "LATENT", + "type": "LATENT", + "links": null + } + ], + "properties": { + "Node name for S&R": "HMPipelineImage" + }, + "widgets_values": [ + 0, + "(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, + 485743939425196, + "randomize", + 1.5, + 0 + ] + }, + { + "id": 58, + "type": "LoadImage", + "pos": [ + 41.47996520996094, + 358.5067138671875 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 121, + 151, + 175, + 188, + 189, + 190 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "chillout.jpg", + "image" + ] + }, + { + "id": 80, + "type": "PreviewImage", + "pos": [ + 1703.6793212890625, + 613.1461791992188 + ], + "size": [ + 210, + 258 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 187 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 121, + 58, + 0, + 60, + 1, + "IMAGE" + ], + [ + 122, + 2, + 0, + 60, + 0, + "FACE_TOOLKITS" + ], + [ + 129, + 2, + 0, + 61, + 0, + "FACE_TOOLKITS" + ], + [ + 143, + 60, + 0, + 67, + 2, + "FACELANDMARKS222" + ], + [ + 145, + 61, + 0, + 69, + 2, + "FACELANDMARKS222" + ], + [ + 147, + 2, + 0, + 67, + 0, + "FACE_TOOLKITS" + ], + [ + 149, + 2, + 0, + 69, + 0, + "FACE_TOOLKITS" + ], + [ + 151, + 58, + 0, + 67, + 1, + "IMAGE" + ], + [ + 173, + 2, + 0, + 75, + 0, + "FACE_TOOLKITS" + ], + [ + 174, + 2, + 0, + 76, + 0, + "FACE_TOOLKITS" + ], + [ + 175, + 58, + 0, + 75, + 1, + "IMAGE" + ], + [ + 177, + 61, + 0, + 76, + 2, + "FACELANDMARKS222" + ], + [ + 178, + 60, + 0, + 75, + 2, + "FACELANDMARKS222" + ], + [ + 182, + 78, + 0, + 79, + 0, + "HMIMAGEPIPELINE" + ], + [ + 183, + 67, + 0, + 79, + 1, + "HEAD_POSE" + ], + [ + 184, + 75, + 0, + 79, + 2, + "EXPRESSION" + ], + [ + 185, + 69, + 0, + 79, + 3, + "HEAD_POSE" + ], + [ + 186, + 76, + 0, + 79, + 4, + "EXPRESSION" + ], + [ + 187, + 79, + 0, + 80, + 0, + "IMAGE" + ], + [ + 188, + 58, + 0, + 61, + 1, + "IMAGE" + ], + [ + 189, + 58, + 0, + 69, + 1, + "IMAGE" + ], + [ + 190, + 58, + 0, + 76, + 1, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8264462809917358, + "offset": [ + 496.5037384564152, + -71.873413496035 + ] + }, + "frontendVersion": "1.19.2" + }, + "version": 0.4 +} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7c61fba..72c587e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_hellomeme" description = "This repository is the official implementation of the [a/HelloMeme](https://arxiv.org/pdf/2410.22901) ComfyUI interface" -version = "1.3.6" +version = "1.3.7" license = {file = "LICENSE"} [project.urls]