{ "last_node_id": 260, "last_link_id": 286, "nodes": [ { "id": 208, "type": "GetImageSize", "pos": [ 604.1518972167969, 1569.6291094512935 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 285 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 208 ], "slot_index": 0, "shape": 3 }, { "name": "height", "type": "INT", "links": [ 209 ], "slot_index": 1, "shape": 3 } ], "properties": { "Node name for S&R": "GetImageSize" } }, { "id": 43, "type": "PreviewImage", "pos": [ 1772.151897216797, 1525.6291094512935 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 71 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 35, "type": "MaskToImage", "pos": [ 1075.1518972167967, 1657.6291094512935 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 57 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 72 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 1, "type": "CheckpointLoaderSimple", "pos": [ 2207, 2033 ], "size": { "0": 389, "1": 98 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 274 ], "slot_index": 0, "shape": 3 }, { "name": "CLIP", "type": "CLIP", "links": [ 5, 6, 275 ], "slot_index": 1, "shape": 3 }, { "name": "VAE", "type": "VAE", "links": [ 204, 276 ], "slot_index": 2, "shape": 3 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "realisticVisionV60B1_v60B1InpaintingVAE.safetensors" ] }, { "id": 255, "type": "ToBasicPipe", "pos": [ -268, 1754 ], "size": { "0": 241.79998779296875, "1": 106 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 274 }, { "name": "clip", "type": "CLIP", "link": 275 }, { "name": "vae", "type": "VAE", "link": 276 }, { "name": "positive", "type": "CONDITIONING", "link": 279 }, { "name": "negative", "type": "CONDITIONING", "link": 277 } ], "outputs": [ { "name": "basic_pipe", "type": "BASIC_PIPE", "links": [ 272 ], "shape": 3 } ], "properties": { "Node name for S&R": "ToBasicPipe" } }, { "id": 207, "type": "FS: Fit Image And Resize", "pos": [ 1228, 2077 ], "size": { "0": 315, "1": 234 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 286 }, { "name": "vae", "type": "VAE", "link": 204 } ], "outputs": [ { "name": "Latent", "type": "LATENT", "links": null, "shape": 3 }, { "name": "Image", "type": "IMAGE", "links": [ 201, 268 ], "slot_index": 1, "shape": 3 }, { "name": "Fit Width", "type": "INT", "links": null, "shape": 3 }, { "name": "Fit Height", "type": "INT", "links": null, "shape": 3 }, { "name": "Aspect Ratio", "type": "FLOAT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "FS: Fit Image And Resize" }, "widgets_values": [ 1096, "lanczos", "false", 1, 0 ] }, { "id": 260, "type": "LoadImageListFromDir //Inspire", "pos": [ 540, 2234 ], "size": { "0": 315, "1": 170 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [], "slot_index": 0, "shape": 6 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 6 }, { "name": "FILE PATH", "type": "STRING", "links": null, "shape": 6 } ], "properties": { "Node name for S&R": "LoadImageListFromDir //Inspire" }, "widgets_values": [ "C:\\Users\\PC\\Downloads\\Telegram Desktop\\Thư mục mới", 10, 0, false ] }, { "id": 252, "type": "MaskDetailerPipe", "pos": [ 510, 2002 ], "size": { "0": 569.4000244140625, "1": 850.0000610351562 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 268 }, { "name": "mask", "type": "MASK", "link": 269 }, { "name": "basic_pipe", "type": "BASIC_PIPE", "link": 272, "slot_index": 2 }, { "name": "refiner_basic_pipe_opt", "type": "BASIC_PIPE", "link": null }, { "name": "detailer_hook", "type": "DETAILER_HOOK", "link": null }, { "name": "scheduler_func_opt", "type": "SCHEDULER_FUNC", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 280 ], "slot_index": 0, "shape": 3 }, { "name": "cropped_refined", "type": "IMAGE", "links": null, "shape": 6 }, { "name": "cropped_enhanced_alpha", "type": "IMAGE", "links": null, "shape": 6 }, { "name": "basic_pipe", "type": "BASIC_PIPE", "links": null, "shape": 3 }, { "name": "refiner_basic_pipe_opt", "type": "BASIC_PIPE", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "MaskDetailerPipe" }, "widgets_values": [ 384, true, 1024, true, 916796394804383, "randomize", 20, 2, "dpmpp_2m_sde_gpu", "karras", 1, 56, 2, 10, 1, 1, 1, true, 20, false, true ] }, { "id": 44, "type": "PreviewImage", "pos": [ 1500, 1589 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 72 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 217, "type": "Crop Image TargetSize (JPS)", "pos": [ 944, 1849 ], "size": { "0": 315, "1": 178 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 280 }, { "name": "target_w", "type": "INT", "link": 208, "widget": { "name": "target_w" } }, { "name": "target_h", "type": "INT", "link": 209, "slot_index": 2, "widget": { "name": "target_h" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 263 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "Crop Image TargetSize (JPS)" }, "widgets_values": [ 0, 0, "center", 0, "lanczos", 0 ] }, { "id": 27, "type": "GroundingDinoModelLoader (segment anything)", "pos": [ 250, 1526 ], "size": { "0": 361.20001220703125, "1": 58 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "GROUNDING_DINO_MODEL", "type": "GROUNDING_DINO_MODEL", "links": [ 42 ], "shape": 3 } ], "properties": { "Node name for S&R": "GroundingDinoModelLoader (segment anything)" }, "widgets_values": [ "GroundingDINO_SwinT_OGC (694MB)" ] }, { "id": 26, "type": "SAMModelLoader (segment anything)", "pos": [ 241, 1795 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "SAM_MODEL", "type": "SAM_MODEL", "links": [ 41 ], "shape": 3 } ], "properties": { "Node name for S&R": "SAMModelLoader (segment anything)" }, "widgets_values": [ "sam_hq_vit_h (2.57GB)" ] }, { "id": 25, "type": "GroundingDinoSAMSegment (segment anything)", "pos": [ 906, 1442 ], "size": { "0": 352.79998779296875, "1": 122 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "sam_model", "type": "SAM_MODEL", "link": 41, "slot_index": 0 }, { "name": "grounding_dino_model", "type": "GROUNDING_DINO_MODEL", "link": 42, "slot_index": 1 }, { "name": "image", "type": "IMAGE", "link": 201 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 71 ], "slot_index": 0, "shape": 3 }, { "name": "MASK", "type": "MASK", "links": [ 49 ], "slot_index": 1, "shape": 3 } ], "properties": { "Node name for S&R": "GroundingDinoSAMSegment (segment anything)" }, "widgets_values": [ "clothes , bikini", 0.38 ] }, { "id": 47, "type": "SaveImage", "pos": [ 1991, 1294 ], "size": { "0": 2049.498779296875, "1": 1617.298583984375 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 263 } ], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "panda bot " ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 1858, 1958 ], "size": { "0": 210, "1": 120 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 279 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "1girl posing naked for a photo seductively ,(nude:1.5), topless, boudoir, perky tits, skin texture, no clothes, undress, nsfw, sensual, medium sized breasts, perfect anatomy," ], "color": "#232", "bgcolor": "#353" }, { "id": 32, "type": "GrowMask", "pos": [ 413, 1944 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 49 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 57, 269 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 20, true ] }, { "id": 8, "type": "CLIPTextEncode", "pos": [ 922, 1749 ], "size": { "0": 210, "1": 120 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 6 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 277 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(clothes:1.5), dressed, saree, bikini, shirt, bra, petite, skinny" ], "color": "#322", "bgcolor": "#533" }, { "id": 115, "type": "LoadImage", "pos": [ -1738, 1686 ], "size": { "0": 2012.1669921875, "1": 1589.0584716796875 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 285, 286 ], "slot_index": 0, "shape": 3 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "pasted/image (330).png", "image" ] } ], "links": [ [ 5, 1, 1, 7, 0, "CLIP" ], [ 6, 1, 1, 8, 0, "CLIP" ], [ 41, 26, 0, 25, 0, "SAM_MODEL" ], [ 42, 27, 0, 25, 1, "GROUNDING_DINO_MODEL" ], [ 49, 25, 1, 32, 0, "MASK" ], [ 57, 32, 0, 35, 0, "MASK" ], [ 71, 25, 0, 43, 0, "IMAGE" ], [ 72, 35, 0, 44, 0, "IMAGE" ], [ 201, 207, 1, 25, 2, "IMAGE" ], [ 204, 1, 2, 207, 1, "VAE" ], [ 208, 208, 0, 217, 1, "INT" ], [ 209, 208, 1, 217, 2, "INT" ], [ 263, 217, 0, 47, 0, "IMAGE" ], [ 268, 207, 1, 252, 0, "IMAGE" ], [ 269, 32, 0, 252, 1, "MASK" ], [ 272, 255, 0, 252, 2, "BASIC_PIPE" ], [ 274, 1, 0, 255, 0, "MODEL" ], [ 275, 1, 1, 255, 1, "CLIP" ], [ 276, 1, 2, 255, 2, "VAE" ], [ 277, 8, 0, 255, 4, "CONDITIONING" ], [ 279, 7, 0, 255, 3, "CONDITIONING" ], [ 280, 252, 0, 217, 0, "IMAGE" ], [ 285, 115, 0, 208, 0, "IMAGE" ], [ 286, 115, 0, 207, 0, "IMAGE" ] ], "groups": [ { "title": "Group", "bounding": [ -500, 1454, 4711, 1714 ], "color": "#3f789e", "font_size": 24, "locked": false } ], "config": {}, "extra": { "ds": { "scale": 0.9849732675808471, "offset": [ -1204.6726163117644, -1579.9441086661864 ] } }, "version": 0.4 }