{ "id": "ee1379c6-1cef-48db-824e-07e2bffba37e", "revision": 0, "last_node_id": 14, "last_link_id": 16, "nodes": [ { "id": 10, "type": "Note", "pos": [ -442, -204 ], "size": [ 612, 136 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Originally shared on PromptingPixels.com\nhttps://promptingpixels.com/comfyui-workflows\n" ], "color": "#432", "bgcolor": "#653" }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ -102, 408 ], "size": [ 270, 98 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 3 ] }, { "name": "CLIP", "type": "CLIP", "links": [ 4, 6, 9 ] }, { "name": "VAE", "type": "VAE", "links": [ 8 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" ] }, { "id": 12, "type": "MaskToImage", "pos": [ 1122, 340 ], "size": [ 184.62362670898438, 26 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 14 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "MaskToImage" } }, { "id": 13, "type": "PreviewImage", "pos": [ 1137.009033203125, 464.1217041015625 ], "size": [ 140, 246 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 15 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 238, 408 ], "size": [ 400, 200 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 6 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 7 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "deformed" ] }, { "id": 11, "type": "SAMLoader", "pos": [ 272, 34 ], "size": [ 270, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "SAM_MODEL", "type": "SAM_MODEL", "links": [ 13 ] } ], "properties": { "cnr_id": "comfyui-impact-pack", "ver": "705698faf242851881abd7d1e1774baa3cf47136", "Node name for S&R": "SAMLoader" }, "widgets_values": [ "sam_vit_b_01ec64.pth", "AUTO" ] }, { "id": 9, "type": "UltralyticsDetectorProvider", "pos": [ 272, -102 ], "size": [ 270, 78 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "BBOX_DETECTOR", "type": "BBOX_DETECTOR", "links": [ 12 ] }, { "name": "SEGM_DETECTOR", "type": "SEGM_DETECTOR", "links": null } ], "properties": { "cnr_id": "comfyui-impact-subpack", "ver": "1.3.5", "Node name for S&R": "UltralyticsDetectorProvider" }, "widgets_values": [ "bbox/face_yolov8m.pt" ] }, { "id": 1, "type": "LoadImage", "pos": [ -102, 34 ], "size": [ 274.080078125, 314 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 1 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "LoadImage" }, "widgets_values": [ "deformed face - no glasses.png", "image" ] }, { "id": 5, "type": "CLIPTextEncode", "pos": [ 238, 170 ], "size": [ 400, 200 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 4 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 5 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photo of a bald man" ] }, { "id": 2, "type": "FaceDetailer", "pos": [ 680, 34 ], "size": [ 400, 960 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 1 }, { "name": "model", "type": "MODEL", "link": 3 }, { "name": "clip", "type": "CLIP", "link": 9 }, { "name": "vae", "type": "VAE", "link": 8 }, { "name": "positive", "type": "CONDITIONING", "link": 5 }, { "name": "negative", "type": "CONDITIONING", "link": 7 }, { "name": "bbox_detector", "type": "BBOX_DETECTOR", "link": 12 }, { "name": "sam_model_opt", "shape": 7, "type": "SAM_MODEL", "link": 13 }, { "name": "segm_detector_opt", "shape": 7, "type": "SEGM_DETECTOR", "link": null }, { "name": "detailer_hook", "shape": 7, "type": "DETAILER_HOOK", "link": null }, { "name": "scheduler_func_opt", "shape": 7, "type": "SCHEDULER_FUNC", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 10 ] }, { "name": "cropped_refined", "shape": 6, "type": "IMAGE", "links": null }, { "name": "cropped_enhanced_alpha", "shape": 6, "type": "IMAGE", "links": null }, { "name": "mask", "type": "MASK", "links": [ 14 ] }, { "name": "detailer_pipe", "type": "DETAILER_PIPE", "links": null }, { "name": "cnet_images", "shape": 6, "type": "IMAGE", "links": null } ], "properties": { "cnr_id": "comfyui-impact-pack", "ver": "705698faf242851881abd7d1e1774baa3cf47136", "Node name for S&R": "FaceDetailer" }, "widgets_values": [ 1024, true, 1024, 738304406173929, "fixed", 20, 5, "dpmpp_2m", "karras", 0.5000000000000001, 5, true, true, 0.5, 10, 3, "center-1", 0, 0.93, 0, 0.7, "False", 10, "", 1, false, 20, false, false ] }, { "id": 7, "type": "PreviewImage", "pos": [ 1326, 0 ], "size": [ 816, 782 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 10 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "PreviewImage" }, "widgets_values": [] } ], "links": [ [ 1, 1, 0, 2, 0, "IMAGE" ], [ 3, 4, 0, 2, 1, "MODEL" ], [ 4, 4, 1, 5, 0, "CLIP" ], [ 5, 5, 0, 2, 4, "CONDITIONING" ], [ 6, 4, 1, 6, 0, "CLIP" ], [ 7, 6, 0, 2, 5, "CONDITIONING" ], [ 8, 4, 2, 2, 3, "VAE" ], [ 9, 4, 1, 2, 2, "CLIP" ], [ 10, 2, 0, 7, 0, "IMAGE" ], [ 12, 9, 0, 2, 6, "BBOX_DETECTOR" ], [ 13, 11, 0, 2, 7, "SAM_MODEL" ], [ 14, 2, 3, 12, 0, "MASK" ], [ 15, 12, 0, 13, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.8954302432552405, "offset": [ -514.2577874805779, 46.172804351434294 ] }, "frontendVersion": "1.22.2", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }