{ "last_node_id": 29, "last_link_id": 36, "nodes": [ { "id": 6, "type": "PreviewImage", "pos": [ 1220, 420 ], "size": { "0": 520.2628173828125, "1": 534.4839477539062 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 5, "type": "VAEDecode", "pos": [ 1220, 320 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 4 }, { "name": "vae", "type": "VAE", "link": 5, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 9, 11 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 7, "type": "EmptyLatentImage", "pos": [ 890, 620 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 10 ], "shape": 3 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 512, 1 ] }, { "id": 1, "type": "CheckpointLoaderSimple", "pos": [ 54, 376 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 1, 13 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 2, 3, 14 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 5, 16 ], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "dreamshaper_8.safetensors" ] }, { "id": 14, "type": "SAMLoader", "pos": [ 1769, 443 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "SAM_MODEL", "type": "SAM_MODEL", "links": [ 24 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SAMLoader" }, "widgets_values": [ "sam_vit_b_01ec64.pth", "AUTO" ] }, { "id": 9, "type": "PreviewImage", "pos": [ 2690, 490 ], "size": { "0": 572, "1": 631 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 18 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 28, "type": "MaskToImage", "pos": [ 2700, 180 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 34 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 35 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 29, "type": "PreviewImage", "pos": [ 2977, 188 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 35 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 8, "type": "FaceDetailer", "pos": [ 2120, 320 ], "size": { "0": 506.4000244140625, "1": 880 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 11 }, { "name": "model", "type": "MODEL", "link": 13 }, { "name": "clip", "type": "CLIP", "link": 14 }, { "name": "vae", "type": "VAE", "link": 16 }, { "name": "positive", "type": "CONDITIONING", "link": 36, "slot_index": 4 }, { "name": "negative", "type": "CONDITIONING", "link": 17 }, { "name": "bbox_detector", "type": "BBOX_DETECTOR", "link": 28, "slot_index": 6 }, { "name": "sam_model_opt", "type": "SAM_MODEL", "link": 24 }, { "name": "segm_detector_opt", "type": "SEGM_DETECTOR", "link": null }, { "name": "detailer_hook", "type": "DETAILER_HOOK", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 18 ], "shape": 3, "slot_index": 0 }, { "name": "cropped_refined", "type": "IMAGE", "links": [], "shape": 6, "slot_index": 1 }, { "name": "cropped_enhanced_alpha", "type": "IMAGE", "links": null, "shape": 6 }, { "name": "mask", "type": "MASK", "links": [ 34 ], "shape": 3, "slot_index": 3 }, { "name": "detailer_pipe", "type": "DETAILER_PIPE", "links": null, "shape": 3 }, { "name": "cnet_images", "type": "IMAGE", "links": null, "shape": 6 } ], "properties": { "Node name for S&R": "FaceDetailer" }, "widgets_values": [ 384, true, 512, 709096675860879, "fixed", 20, 8, "dpmpp_2m", "karras", 0.5, 5, true, true, 0.5, 10, 3, "center-1", 0, 0.93, 0, 0.7, "False", 10, "", 1, false, 0 ] }, { "id": 2, "type": "KSampler", "pos": [ 880, 320 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 }, { "name": "positive", "type": "CONDITIONING", "link": 8, "slot_index": 1 }, { "name": "negative", "type": "CONDITIONING", "link": 7, "slot_index": 2 }, { "name": "latent_image", "type": "LATENT", "link": 10, "slot_index": 3 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 4 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 30909902791668, "fixed", 20, 8, "dpmpp_2m", "karras", 1 ] }, { "id": 4, "type": "CLIPTextEncode", "pos": [ 430, 570 ], "size": { "0": 400, "1": 200 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 3 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 7, 17 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "embedding:BadDream, embedding:UnrealisticDream" ] }, { "id": 3, "type": "CLIPTextEncode", "pos": [ 430, 320 ], "size": { "0": 400, "1": 200 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 2 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 8, 36 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photo of a woman standing on a sidewalk, (medium shot:1.1), natural lighting, highly detailed, masterpiece, red dress, canon 5d mark iv" ] }, { "id": 22, "type": "UltralyticsDetectorProvider", "pos": [ 1770, 310 ], "size": { "0": 315, "1": 78 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "BBOX_DETECTOR", "type": "BBOX_DETECTOR", "links": [ 28 ], "shape": 3, "slot_index": 0 }, { "name": "SEGM_DETECTOR", "type": "SEGM_DETECTOR", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "UltralyticsDetectorProvider" }, "widgets_values": [ "bbox/face_yolov8m.pt" ] } ], "links": [ [ 1, 1, 0, 2, 0, "MODEL" ], [ 2, 1, 1, 3, 0, "CLIP" ], [ 3, 1, 1, 4, 0, "CLIP" ], [ 4, 2, 0, 5, 0, "LATENT" ], [ 5, 1, 2, 5, 1, "VAE" ], [ 7, 4, 0, 2, 2, "CONDITIONING" ], [ 8, 3, 0, 2, 1, "CONDITIONING" ], [ 9, 5, 0, 6, 0, "IMAGE" ], [ 10, 7, 0, 2, 3, "LATENT" ], [ 11, 5, 0, 8, 0, "IMAGE" ], [ 13, 1, 0, 8, 1, "MODEL" ], [ 14, 1, 1, 8, 2, "CLIP" ], [ 16, 1, 2, 8, 3, "VAE" ], [ 17, 4, 0, 8, 5, "CONDITIONING" ], [ 18, 8, 0, 9, 0, "IMAGE" ], [ 24, 14, 0, 8, 7, "SAM_MODEL" ], [ 28, 22, 0, 8, 6, "BBOX_DETECTOR" ], [ 34, 8, 3, 28, 0, "MASK" ], [ 35, 28, 0, 29, 0, "IMAGE" ], [ 36, 3, 0, 8, 4, "CONDITIONING" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }