{ "last_node_id": 65, "last_link_id": 133, "nodes": [ { "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": 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": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 115, 116, 125 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "yao.jpg", "image" ] }, { "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, 126 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "GetFaceLandmarks" }, "widgets_values": [] }, { "id": 2, "type": "HMFaceToolkitsLoader", "pos": [ 43, 699 ], "size": [ 315, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "face_toolkits", "type": "FACE_TOOLKITS", "links": [ 57, 62, 65, 119, 127 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HMFaceToolkitsLoader" }, "widgets_values": [ 0 ] }, { "id": 61, "type": "GetDriveExpression", "pos": [ 857, 823 ], "size": [ 292.20001220703125, 66 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "face_toolkits", "type": "FACE_TOOLKITS", "link": 127 }, { "name": "images", "type": "IMAGE", "link": 125 }, { "name": "landmarks", "type": "FACELANDMARKS222", "link": 126 } ], "outputs": [ { "name": "drive_exp", "type": "DRIVE_EXPRESSION", "links": [ 124 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "GetDriveExpression" }, "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": 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": 124, "shape": 7 }, { "name": "drive_exp2", "type": "DRIVE_EXPRESSION2", "link": null, "shape": 7 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 131 ], "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, 12021, "randomize", 2 ] }, { "id": 65, "type": "ImageUpscaleWithModel", "pos": [ 1630, 489 ], "size": [ 340.20001220703125, 46 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 130 }, { "name": "image", "type": "IMAGE", "link": 131 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 133 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" } }, { "id": 59, "type": "PreviewImage", "pos": [ 2006, 588 ], "size": [ 210, 246 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 133 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 64, "type": "UpscaleModelLoader", "pos": [ 1270, 397 ], "size": [ 315, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 130 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "RealESRGAN_x2.pth" ] } ], "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" ], [ 124, 61, 0, 58, 4, "DRIVE_EXPRESSION" ], [ 125, 57, 0, 61, 1, "IMAGE" ], [ 126, 43, 0, 61, 2, "FACELANDMARKS222" ], [ 127, 2, 0, 61, 0, "FACE_TOOLKITS" ], [ 128, 62, 0, 39, 0, "IMAGE" ], [ 129, 63, 0, 58, 0, "HMIMAGEPIPELINE" ], [ 130, 64, 0, 65, 0, "UPSCALE_MODEL" ], [ 131, 58, 0, 65, 1, "IMAGE" ], [ 133, 65, 0, 59, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.8264462809917359, "offset": [ 12.461092318990445, -168.96359429993936 ] } }, "version": 0.4 }