{ "last_node_id": 55, "last_link_id": 93, "nodes": [ { "id": 11, "type": "DualCLIPLoader", "pos": [ -1920, -140 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 10, 48 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "t5xxl_fp16.safetensors", "clip_l.safetensors", "flux" ], "color": "#323", "bgcolor": "#535" }, { "id": 40, "type": "CLIPTextEncode", "pos": [ -1560, -50 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 48 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 67 ], "slot_index": 0 } ], "title": "Negative Prompt (unused?)", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "color": "#222", "bgcolor": "#000" }, { "id": 48, "type": "ImpactGaussianBlurMask", "pos": [ -1553, 174 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 79 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 80 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImpactGaussianBlurMask" }, "widgets_values": [ 5, 5 ], "color": "#322", "bgcolor": "#533" }, { "id": 39, "type": "FluxGuidance", "pos": [ -1115, -269 ], "size": { "0": 211.60000610351562, "1": 60.10865020751953 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 65 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "FluxGuidance" }, "widgets_values": [ 3.5 ], "color": "#322", "bgcolor": "#533" }, { "id": 22, "type": "BasicGuider", "pos": [ -569, -272 ], "size": { "0": 161.1999969482422, "1": 49.40689468383789 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 93, "slot_index": 0 }, { "name": "conditioning", "type": "CONDITIONING", "link": 77, "slot_index": 1 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 78 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "BasicGuider" }, "color": "#223", "bgcolor": "#335" }, { "id": 16, "type": "KSamplerSelect", "pos": [ -340, -160 ], "size": { "0": 268.9030456542969, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 19 ], "shape": 3 } ], "properties": { "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ], "color": "#322", "bgcolor": "#533" }, { "id": 25, "type": "RandomNoise", "pos": [ -340, 120 ], "size": { "0": 261.626708984375, "1": 82 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 37 ], "shape": 3 } ], "properties": { "Node name for S&R": "RandomNoise" }, "widgets_values": [ 77224639208646, "randomize" ], "color": "#322", "bgcolor": "#533" }, { "id": 49, "type": "DifferentialDiffusion", "pos": [ -1114, -346 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 88 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 91 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "DifferentialDiffusion" }, "color": "#223", "bgcolor": "#335" }, { "id": 53, "type": "CR Model Input Switch", "pos": [ -850, -329 ], "size": { "0": 210, "1": 78 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "model1", "type": "MODEL", "link": 92 }, { "name": "model2", "type": "MODEL", "link": 91 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 93 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "title": "Inpainting Text? Yes/No", "properties": { "Node name for S&R": "CR Model Input Switch" }, "widgets_values": [ 1 ], "color": "#322", "bgcolor": "#533" }, { "id": 37, "type": "InpaintModelConditioning", "pos": [ -847, -204 ], "size": { "0": 211.5891876220703, "1": 106 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 65 }, { "name": "negative", "type": "CONDITIONING", "link": 67 }, { "name": "vae", "type": "VAE", "link": 71, "slot_index": 2 }, { "name": "pixels", "type": "IMAGE", "link": 47 }, { "name": "mask", "type": "MASK", "link": 80 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 77 ], "shape": 3, "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [], "shape": 3, "slot_index": 1 }, { "name": "latent", "type": "LATENT", "links": [ 46 ], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "InpaintModelConditioning" }, "color": "#223", "bgcolor": "#335" }, { "id": 13, "type": "SamplerCustomAdvanced", "pos": [ -350, -320 ], "size": { "0": 277.75390625, "1": 106 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 37, "slot_index": 0 }, { "name": "guider", "type": "GUIDER", "link": 78, "slot_index": 1 }, { "name": "sampler", "type": "SAMPLER", "link": 19, "slot_index": 2 }, { "name": "sigmas", "type": "SIGMAS", "link": 20, "slot_index": 3 }, { "name": "latent_image", "type": "LATENT", "link": 46, "slot_index": 4 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 70 ], "shape": 3, "slot_index": 0 }, { "name": "denoised_output", "type": "LATENT", "links": [], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced" }, "color": "#232", "bgcolor": "#353" }, { "id": 8, "type": "VAEDecode", "pos": [ -31, -316 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 70 }, { "name": "vae", "type": "VAE", "link": 12 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 89, 90 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "color": "#223", "bgcolor": "#335" }, { "id": 51, "type": "Save IMG Prompt", "pos": [ -27, -206 ], "size": { "0": 316.115966796875, "1": 375.4992370605469 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 90 } ], "properties": { "Node name for S&R": "Save IMG Prompt" }, "widgets_values": [ "D:\\AI\\Images\\Output\\CF [time(%Y-%m-%d)]", "[time(%Y-%m-%d%I-%M%p)]", "_", 4, "false", "png", "txt", 100, "false", "false", "true", "true", "false", "true" ], "color": "#223", "bgcolor": "#335" }, { "id": 52, "type": "PreviewImage", "pos": [ 325, -315 ], "size": { "0": 588.7388916015625, "1": 567.4049072265625 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 89 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#432", "bgcolor": "#653" }, { "id": 35, "type": "LoadAndResizeImage", "pos": [ -1921, 165 ], "size": { "0": 315, "1": 522 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 47 ], "shape": 3, "slot_index": 0 }, { "name": "mask", "type": "MASK", "links": [ 79 ], "shape": 3, "slot_index": 1 }, { "name": "width", "type": "INT", "links": null, "shape": 3 }, { "name": "height", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadAndResizeImage" }, "widgets_values": [ "clipspace/clipspace-mask-1625192.099999994.png [input]", true, 1024, 1024, 1, true, 1, "alpha", "image" ], "color": "#323", "bgcolor": "#535" }, { "id": 55, "type": "Note", "pos": [ -9, 237 ], "size": { "0": 280.70977783203125, "1": 192.50845336914062 }, "flags": {}, "order": 4, "mode": 0, "title": "Saving Images", "properties": { "text": "" }, "widgets_values": [ "Make sure to change:\n\noutput_path \nto a location on your HDD. At the moment the syntax which creates a new folder each day is: \n\nD:\\AI\\Images\\Output\\CF FLUX[time(%Y-%m-%d)]\n\n\nfilename_prefix \nsaves the image with its time of generation although you can organize and change this as you like!" ], "color": "#432", "bgcolor": "#653" }, { "id": 6, "type": "CLIPTextEncode", "pos": [ -1560, -270 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 10 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 64 ], "slot_index": 0 } ], "title": "Positive Prompt", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "beautiful brunette woman taking a selfie, photorealistic" ], "color": "#222", "bgcolor": "#000" }, { "id": 17, "type": "BasicScheduler", "pos": [ -340, -50 ], "size": { "0": 263.2012634277344, "1": 106 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 38, "slot_index": 0 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 20 ], "shape": 3 } ], "properties": { "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "simple", 25, 0.8 ], "color": "#322", "bgcolor": "#533" }, { "id": 54, "type": "Note", "pos": [ -2350, -265 ], "size": { "0": 403.3073425292969, "1": 370.54638671875 }, "flags": {}, "order": 5, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "FLUX dev model Inpainting Workflow\n\nDiffusion Model:\nflux1-dev.safetensors - goes in models/unet\nhttps://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/flux1-dev.safetensors?download=true\n\nDual Clip Loader:\nt5xxl_fp16.safetensors - goes in models/CLIP\nhttps://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true\n\nClip_l.safetensors - goes in models/CLIP\nhttps://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true\n\nVAE:\nae.safetensors - goes in models/VAE\nhttps://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors?download=true\n\nTip: You can set the weight_dtype above to one of the fp8 types if you have memory issues." ], "color": "#432", "bgcolor": "#653" }, { "id": 12, "type": "UNETLoader", "pos": [ -1920, -270 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 6, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 38, 88, 92 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux1-dev.safetensors", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 10, "type": "VAELoader", "pos": [ -1919, 37 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 7, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 12, 71 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.safetensors" ], "color": "#323", "bgcolor": "#535" } ], "links": [ [ 10, 11, 0, 6, 0, "CLIP" ], [ 12, 10, 0, 8, 1, "VAE" ], [ 19, 16, 0, 13, 2, "SAMPLER" ], [ 20, 17, 0, 13, 3, "SIGMAS" ], [ 37, 25, 0, 13, 0, "NOISE" ], [ 38, 12, 0, 17, 0, "MODEL" ], [ 46, 37, 2, 13, 4, "LATENT" ], [ 47, 35, 0, 37, 3, "IMAGE" ], [ 48, 11, 0, 40, 0, "CLIP" ], [ 64, 6, 0, 39, 0, "CONDITIONING" ], [ 65, 39, 0, 37, 0, "CONDITIONING" ], [ 67, 40, 0, 37, 1, "CONDITIONING" ], [ 70, 13, 0, 8, 0, "LATENT" ], [ 71, 10, 0, 37, 2, "VAE" ], [ 77, 37, 0, 22, 1, "CONDITIONING" ], [ 78, 22, 0, 13, 1, "GUIDER" ], [ 79, 35, 1, 48, 0, "MASK" ], [ 80, 48, 0, 37, 4, "MASK" ], [ 88, 12, 0, 49, 0, "MODEL" ], [ 89, 8, 0, 52, 0, "IMAGE" ], [ 90, 8, 0, 51, 0, "IMAGE" ], [ 91, 49, 0, 53, 1, "MODEL" ], [ 92, 12, 0, 53, 0, "MODEL" ], [ 93, 53, 0, 22, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 1.0610764609500007, "offset": [ 2449.8078769767844, 410.7696504071507 ] } }, "version": 0.4 }