{ "last_node_id": 87, "last_link_id": 174, "nodes": [ { "id": 25, "type": "VAELoader", "pos": [ 620, 1120 ], "size": [ 315, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "shape": 3, "links": [ 70, 147 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.safetensors" ] }, { "id": 51, "type": "UnetLoaderGGUF", "pos": [ 620, 1240 ], "size": [ 315, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 102, 150 ], "slot_index": 0 } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "5aa6e98ad74e2fa826f80c8dbded5ec3dd09ba1f", "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "fluxDevQ5KMGGUFQuantizationA_v10.gguf" ] }, { "id": 29, "type": "KSamplerSelect", "pos": [ 1410, 1050 ], "size": [ 250, 60 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "shape": 3, "links": [ 152 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ] }, { "id": 84, "type": "EmptySD3LatentImage", "pos": [ 1410, 1340 ], "size": [ 250, 110 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 158 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 32, "type": "RandomNoise", "pos": [ 1410, 750 ], "size": [ 250, 82 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "shape": 3, "links": [ 157 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "RandomNoise" }, "widgets_values": [ 1028751694899398, "randomize" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 74, "type": "ControlNetLoader", "pos": [ 620, 1350 ], "size": [ 320, 60 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "CONTROL_NET", "label": "CONTROL_NET", "type": "CONTROL_NET", "shape": 3, "links": [ 126 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "FLUX.1-dev-Controlnet-Inpainting-Beta/diffusion_pytorch_model.safetensors" ] }, { "id": 59, "type": "SamplerCustomAdvanced", "pos": [ 1700, 870 ], "size": [ 240, 110 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "noise", "label": "noise", "type": "NOISE", "link": 157, "slot_index": 0 }, { "name": "guider", "label": "guider", "type": "GUIDER", "link": 110, "slot_index": 1 }, { "name": "sampler", "label": "sampler", "type": "SAMPLER", "link": 152, "slot_index": 2 }, { "name": "sigmas", "label": "sigmas", "type": "SIGMAS", "link": 153, "slot_index": 3 }, { "name": "latent_image", "label": "latent_image", "type": "LATENT", "link": 158, "slot_index": 4 } ], "outputs": [ { "name": "output", "label": "output", "type": "LATENT", "shape": 3, "links": [ 151 ], "slot_index": 0 }, { "name": "denoised_output", "label": "denoised_output", "type": "LATENT", "shape": 3, "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "SamplerCustomAdvanced" }, "widgets_values": [] }, { "id": 50, "type": "DualCLIPLoaderGGUF", "pos": [ 620, 950 ], "size": [ 315, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 149, 159 ], "slot_index": 0 } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "5aa6e98ad74e2fa826f80c8dbded5ec3dd09ba1f", "Node name for S&R": "DualCLIPLoaderGGUF" }, "widgets_values": [ "t5-v1_1-xxl-encoder-Q3_K_L.gguf", "clip_l.safetensors", "flux" ] }, { "id": 71, "type": "ControlNetInpaintingAliMamaApply", "pos": [ 1060, 1210 ], "size": [ 270, 210 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "positive", "label": "positive", "type": "CONDITIONING", "link": 155 }, { "name": "negative", "label": "negative", "type": "CONDITIONING", "link": 160 }, { "name": "control_net", "label": "control_net", "type": "CONTROL_NET", "link": 126 }, { "name": "vae", "label": "vae", "type": "VAE", "link": 147 }, { "name": "image", "label": "image", "type": "IMAGE", "link": 165 }, { "name": "mask", "label": "mask", "type": "MASK", "link": 166 } ], "outputs": [ { "name": "positive", "label": "positive", "type": "CONDITIONING", "shape": 3, "links": [ 137 ], "slot_index": 0 }, { "name": "negative", "label": "negative", "type": "CONDITIONING", "shape": 3, "links": [ 138 ], "slot_index": 1 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "ControlNetInpaintingAliMamaApply" }, "widgets_values": [ 0.7000000000000001, 0, 1 ] }, { "id": 85, "type": "CLIPTextEncodeFlux", "pos": [ 990, 990 ], "size": [ 370, 166 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "clip", "label": "clip", "type": "CLIP", "link": 159 } ], "outputs": [ { "name": "CONDITIONING", "label": "CONDITIONING", "type": "CONDITIONING", "shape": 3, "links": [ 160 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "CLIPTextEncodeFlux" }, "widgets_values": [ "", "bad, ugly, distorted, blurry", 3.5 ], "color": "#322", "bgcolor": "#533" }, { "id": 80, "type": "CFGGuider", "pos": [ 1410, 890 ], "size": [ 250, 100 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 150 }, { "name": "positive", "type": "CONDITIONING", "link": 137 }, { "name": "negative", "type": "CONDITIONING", "link": 138 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "shape": 3, "links": [ 110 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "CFGGuider" }, "widgets_values": [ 1 ] }, { "id": 10, "type": "SaveImage", "pos": [ 1630, 250 ], "size": [ 290, 350 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 167, "slot_index": 0 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26" }, "widgets_values": [ "%date:yyyyMMddhhmmss%" ] }, { "id": 54, "type": "PreviewImage", "pos": [ 1730, 1060 ], "size": [ 210, 246 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 106 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 23, "type": "VAEDecode", "pos": [ 1720, 750 ], "size": [ 210, 46 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 151 }, { "name": "vae", "type": "VAE", "link": 70 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 106, 168 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 87, "type": "InpaintStitchImproved", "pos": [ 1200, 70 ], "size": [ 240, 46 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "stitcher", "type": "STITCHER", "link": 164 }, { "name": "inpainted_image", "type": "IMAGE", "link": 168 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 167 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "InpaintStitchImproved" } }, { "id": 86, "type": "InpaintCropImproved", "pos": [ 510, 70 ], "size": [ 390, 578 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 161 }, { "name": "mask", "type": "MASK", "shape": 7, "link": 162 }, { "name": "optional_context_mask", "type": "MASK", "shape": 7, "link": 163 } ], "outputs": [ { "name": "stitcher", "type": "STITCHER", "links": [ 164 ], "slot_index": 0 }, { "name": "cropped_image", "type": "IMAGE", "links": [ 165 ], "slot_index": 1 }, { "name": "cropped_mask", "type": "MASK", "links": [ 166 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "InpaintCropImproved" }, "widgets_values": [ "bilinear", "bicubic", true, "ensure minimum resolution", 1024, 1024, 16384, 16384, true, 0, false, 32, 0.1, true, 1, 1, 1, 1, 1.2, true, 1024, 1024, "32" ] }, { "id": 3, "type": "LoadImage", "pos": [ 40, 70 ], "size": [ 370, 450 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "shape": 3, "links": [ 161 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "shape": 3, "links": [ 162 ], "slot_index": 1 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoadImage" }, "widgets_values": [ "clipspace/clipspace-mask-682793.8999999911.png [input]", "image" ] }, { "id": 16, "type": "LoadImage", "pos": [ 40, 610 ], "size": [ 370, 450 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "shape": 3, "links": [], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "shape": 3, "links": [ 163 ], "slot_index": 1 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoadImage" }, "widgets_values": [ "clipspace/clipspace-mask-667975.png [input]", "image" ] }, { "id": 73, "type": "CLIPTextEncodeFlux", "pos": [ 990, 650 ], "size": [ 370, 290 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "clip", "label": "clip", "type": "CLIP", "link": 149 } ], "outputs": [ { "name": "CONDITIONING", "label": "CONDITIONING", "type": "CONDITIONING", "shape": 3, "links": [ 155 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "CLIPTextEncodeFlux" }, "widgets_values": [ "a bottle full of red liquid, reflected on the floor", "watercolor painting", 3.5 ], "color": "#232", "bgcolor": "#353" }, { "id": 52, "type": "Note", "pos": [ 20, 1110 ], "size": [ 470, 330 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [], "properties": { "text": "" }, "widgets_values": [ "Models used:\n\n- Flux Dev Q5 GGUF from https://civitai.com/models/711483/flux-dev-q5km-gguf-quantization-a-nice-balance-of-speed-and-quality-in-under-9-gigabytes?modelVersionId=795785.\n Put it in models/unet/\n\n- Flux 1. dev controlet inpainting beta from https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta\n Put it in models/controlnet/\n\n- t5 GGUF Q3_K_L from https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/tree/main\n Put it in models/clip/\n\n- clip_l from https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors\n Put it in models/clip/\n\n- ae VAE from https://huggingface.co/black-forest-labs/FLUX.1-schnell/blob/main/ae.safetensors\n Put it in models/vae/\n\n" ], "color": "#432", "bgcolor": "#653" }, { "id": 30, "type": "BasicScheduler", "pos": [ 1410, 1170 ], "size": [ 250, 110 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 102, "slot_index": 0 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "shape": 3, "links": [ 153 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "simple", 8, 1 ] } ], "links": [ [ 70, 25, 0, 23, 1, "VAE" ], [ 102, 51, 0, 30, 0, "MODEL" ], [ 106, 23, 0, 54, 0, "IMAGE" ], [ 110, 80, 0, 59, 1, "GUIDER" ], [ 126, 74, 0, 71, 2, "CONTROL_NET" ], [ 137, 71, 0, 80, 1, "CONDITIONING" ], [ 138, 71, 1, 80, 2, "CONDITIONING" ], [ 147, 25, 0, 71, 3, "VAE" ], [ 149, 50, 0, 73, 0, "CLIP" ], [ 150, 51, 0, 80, 0, "MODEL" ], [ 151, 59, 0, 23, 0, "LATENT" ], [ 152, 29, 0, 59, 2, "SAMPLER" ], [ 153, 30, 0, 59, 3, "SIGMAS" ], [ 155, 73, 0, 71, 0, "CONDITIONING" ], [ 157, 32, 0, 59, 0, "NOISE" ], [ 158, 84, 0, 59, 4, "LATENT" ], [ 159, 50, 0, 85, 0, "CLIP" ], [ 160, 85, 0, 71, 1, "CONDITIONING" ], [ 161, 3, 0, 86, 0, "IMAGE" ], [ 162, 3, 1, 86, 1, "MASK" ], [ 163, 16, 1, 86, 2, "MASK" ], [ 164, 86, 0, 87, 0, "STITCHER" ], [ 165, 86, 1, 71, 4, "IMAGE" ], [ 166, 86, 2, 71, 5, "MASK" ], [ 167, 87, 0, 10, 0, "IMAGE" ], [ 168, 23, 0, 87, 1, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.8264462809917354, "offset": [ 22.553158958959973, 78.18877073994109 ] }, "ue_links": [] }, "version": 0.4 }