{ "last_node_id": 66, "last_link_id": 136, "nodes": [ { "id": 2, "type": "HMFaceToolkitsLoader", "pos": [ 43, 699 ], "size": [ 315, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "face_toolkits", "type": "FACE_TOOLKITS", "links": [ 57, 62, 65, 119, 132 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HMFaceToolkitsLoader" }, "widgets_values": [ 0 ] }, { "id": 39, "type": "CropPortrait", "pos": [ 516, 537 ], "size": [ 241.79998779296875, 46 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 128 }, { "name": "face_toolkits", "type": "FACE_TOOLKITS", "link": 57 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 118 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CropPortrait" }, "widgets_values": [] }, { "id": 43, "type": "GetFaceLandmarks", "pos": [ 465, 771 ], "size": [ 292.20001220703125, 46 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "face_toolkits", "type": "FACE_TOOLKITS", "link": 62 }, { "name": "images", "type": "IMAGE", "link": 115 } ], "outputs": [ { "name": "landmarks", "type": "FACELANDMARKS222", "links": [ 64, 130 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "GetFaceLandmarks" }, "widgets_values": [] }, { "id": 44, "type": "GetDrivePose", "pos": [ 852, 661 ], "size": [ 304.79998779296875, 66 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "face_toolkits", "type": "FACE_TOOLKITS", "link": 65 }, { "name": "images", "type": "IMAGE", "link": 116 }, { "name": "landmarks", "type": "FACELANDMARKS222", "link": 64 } ], "outputs": [ { "name": "drive_pose", "type": "DRIVE_POSE", "links": [ 120 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "GetDrivePose" }, "widgets_values": [] }, { "id": 57, "type": "LoadImage", "pos": [ 45, 867 ], "size": [ 315, 314 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 115, 116, 131 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "yao.jpg", "image" ] }, { "id": 58, "type": "HMPipelineImage", "pos": [ 1274, 584 ], "size": [ 315, 302 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "hm_image_pipeline", "type": "HMIMAGEPIPELINE", "link": 129 }, { "name": "face_toolkits", "type": "FACE_TOOLKITS", "link": 119 }, { "name": "ref_image", "type": "IMAGE", "link": 118 }, { "name": "drive_pose", "type": "DRIVE_POSE", "link": 120 }, { "name": "drive_exp", "type": "DRIVE_EXPRESSION", "link": null, "shape": 7 }, { "name": "drive_exp2", "type": "DRIVE_EXPRESSION2", "link": 133, "shape": 7 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 134 ], "slot_index": 0 }, { "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, 39876, "randomize", 2 ] }, { "id": 59, "type": "PreviewImage", "pos": [ 2040, 610 ], "size": [ 210, 246 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 135 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 62, "type": "LoadImage", "pos": [ 52, 289 ], "size": [ 315, 314 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 128 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "majicmix2.jpg", "image" ] }, { "id": 63, "type": "HMImagePipelineLoader", "pos": [ 817, 358 ], "size": [ 352.79998779296875, 130 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "hm_image_pipeline", "type": "HMIMAGEPIPELINE", "links": [ 129 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HMImagePipelineLoader" }, "widgets_values": [ "SD1.5", "None", "same as checkpoint", 0 ] }, { "id": 64, "type": "GetDriveExpression2", "pos": [ 850, 827 ], "size": [ 304.79998779296875, 66 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "face_toolkits", "type": "FACE_TOOLKITS", "link": 132 }, { "name": "images", "type": "IMAGE", "link": 131 }, { "name": "landmarks", "type": "FACELANDMARKS222", "link": 130 } ], "outputs": [ { "name": "drive_exp2", "type": "DRIVE_EXPRESSION2", "links": [ 133 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "GetDriveExpression2" }, "widgets_values": [] }, { "id": 65, "type": "UpscaleModelLoader", "pos": [ 1282, 374 ], "size": [ 315, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 136 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "RealESRGAN_x2.pth" ] }, { "id": 66, "type": "ImageUpscaleWithModel", "pos": [ 1644, 503 ], "size": [ 340.20001220703125, 46 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 136 }, { "name": "image", "type": "IMAGE", "link": 134 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 135 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" }, "widgets_values": [] } ], "links": [ [ 57, 2, 0, 39, 1, "FACE_TOOLKITS" ], [ 62, 2, 0, 43, 0, "FACE_TOOLKITS" ], [ 64, 43, 0, 44, 2, "FACELANDMARKS222" ], [ 65, 2, 0, 44, 0, "FACE_TOOLKITS" ], [ 115, 57, 0, 43, 1, "IMAGE" ], [ 116, 57, 0, 44, 1, "IMAGE" ], [ 118, 39, 0, 58, 2, "IMAGE" ], [ 119, 2, 0, 58, 1, "FACE_TOOLKITS" ], [ 120, 44, 0, 58, 3, "DRIVE_POSE" ], [ 128, 62, 0, 39, 0, "IMAGE" ], [ 129, 63, 0, 58, 0, "HMIMAGEPIPELINE" ], [ 130, 43, 0, 64, 2, "FACELANDMARKS222" ], [ 131, 57, 0, 64, 1, "IMAGE" ], [ 132, 2, 0, 64, 0, "FACE_TOOLKITS" ], [ 133, 64, 0, 58, 5, "DRIVE_EXPRESSION2" ], [ 134, 58, 0, 66, 1, "IMAGE" ], [ 135, 66, 0, 59, 0, "IMAGE" ], [ 136, 65, 0, 66, 0, "UPSCALE_MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.8264462809917359, "offset": [ 12.461092318990445, -168.96359429993936 ] } }, "version": 0.4 }