{ "last_node_id": 17, "last_link_id": 20, "nodes": [ { "id": 10, "type": "CLIPSetLastLayer", "pos": [ 357, 130 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 10, "slot_index": 0 } ], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 11 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPSetLastLayer" }, "widgets_values": [ -2 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 707, 130 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 11 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 4 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "1girl, (realistic, best quality, raw photo, film gain:1.1), portrait, in the city, summer day" ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1547, 130 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 8 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 9 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 706, 339 ], "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "text, watermark, low quality, 3d, 2d" ] }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ 10, 131 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 1 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 5, 10 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 8, 16 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "Realistic-Vision-v5.safetensors" ] }, { "id": 3, "type": "KSampler", "pos": [ 1187, 130 ], "size": { "0": 328.98828125, "1": 474 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 }, { "name": "positive", "type": "CONDITIONING", "link": 4 }, { "name": "negative", "type": "CONDITIONING", "link": 6 }, { "name": "latent_image", "type": "LATENT", "link": 17 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 7 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 1, "randomize", 20, 8, "euler_ancestral", "normal", 0.65 ] }, { "id": 9, "type": "SaveImage", "pos": [ 1787, 130 ], "size": { "0": 359.5138854980469, "1": 460.59747314453125 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "ComfyUI" ] }, { "id": 16, "type": "ConstrainImage|pysssss", "pos": [ 609, 586 ], "size": { "0": 315, "1": 154 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 19 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 20 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 1024, 1024, 0, 0, "no" ] }, { "id": 14, "type": "VAEEncode", "pos": [ 955, 587 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 20 }, { "name": "vae", "type": "VAE", "link": 16, "slot_index": 1 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 17 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 11, "type": "LoadImage", "pos": [ 266, 421 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 19 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "image.jpg", "image" ] }, { "id": 17, "type": "Note", "pos": [ 11, -87 ], "size": { "0": 310.9923400878906, "1": 167.09852600097656 }, "flags": {}, "order": 2, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "#Workflow hỗ trợ\n\nComfyUI Colab:\n- Creator: stablediffusion.vn\n- Website: sdvn.me | comfy.vn | fluxai.vn\n- Document: bit.ly/sdvn-lib\n- Skills training: hungdiffusion.com" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 1, 4, 0, 3, 0, "MODEL" ], [ 4, 6, 0, 3, 1, "CONDITIONING" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 6, 7, 0, 3, 2, "CONDITIONING" ], [ 7, 3, 0, 8, 0, "LATENT" ], [ 8, 4, 2, 8, 1, "VAE" ], [ 9, 8, 0, 9, 0, "IMAGE" ], [ 10, 4, 1, 10, 0, "CLIP" ], [ 11, 10, 0, 6, 0, "CLIP" ], [ 16, 4, 2, 14, 1, "VAE" ], [ 17, 14, 0, 3, 3, "LATENT" ], [ 19, 11, 0, 16, 0, "IMAGE" ], [ 20, 16, 0, 14, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.9090909090909091, "offset": [ 316.96473938288784, 197.4839450487136 ] } }, "version": 0.4 }