{ "last_node_id": 41, "last_link_id": 55, "nodes": [ { "id": 11, "type": "DualCLIPLoader", "pos": [ 48, 288 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 10 ], "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": 31, "type": "PreviewImage", "pos": [ 1910, 110 ], "size": { "0": 724.408203125, "1": 651.4970092773438 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 44 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#432", "bgcolor": "#653" }, { "id": 16, "type": "KSamplerSelect", "pos": [ 1210, 270 ], "size": { "0": 315, "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": [ 1220, 680 ], "size": { "0": 315, "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": [ 747079136407648, "randomize" ], "color": "#322", "bgcolor": "#533" }, { "id": 26, "type": "FluxGuidance", "pos": [ 895, 239 ], "size": { "0": 211.60000610351562, "1": 58 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 41 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 42 ], "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": [ 885, 148 ], "size": { "0": 222.3482666015625, "1": 46 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 39, "slot_index": 0 }, { "name": "conditioning", "type": "CONDITIONING", "link": 42, "slot_index": 1 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 30 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "BasicGuider" }, "color": "#223", "bgcolor": "#335" }, { "id": 13, "type": "SamplerCustomAdvanced", "pos": [ 1206, 99 ], "size": { "0": 304.89373779296875, "1": 117.7389907836914 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 37, "slot_index": 0 }, { "name": "guider", "type": "GUIDER", "link": 30, "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": 52, "slot_index": 4 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 24 ], "shape": 3, "slot_index": 0 }, { "name": "denoised_output", "type": "LATENT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced" }, "color": "#232", "bgcolor": "#353" }, { "id": 8, "type": "VAEDecode", "pos": [ 1565, 101 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 24 }, { "name": "vae", "type": "VAE", "link": 12 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 44, 45, 47 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "color": "#223", "bgcolor": "#335" }, { "id": 32, "type": "Save IMG Prompt", "pos": [ 1550, 210 ], "size": { "0": 309.37066650390625, "1": 370 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 45 } ], "properties": { "Node name for S&R": "Save IMG Prompt" }, "widgets_values": [ "D:\\AI\\Images\\Output\\CF FLUX[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": 34, "type": "CR Upscale Image", "pos": [ 2730, 100 ], "size": { "0": 467.58245849609375, "1": 293.7497253417969 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 47 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 46, 48 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Upscale Image" }, "widgets_values": [ "4x-UltraSharp.pth", "rescale", 4, 1024, "lanczos", "true", 8 ], "color": "#232", "bgcolor": "#353" }, { "id": 36, "type": "Save IMG Prompt", "pos": [ 2838, 466 ], "size": { "0": 252.4358673095703, "1": 378.0312805175781 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 48 } ], "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": 35, "type": "PreviewImage", "pos": [ 3280, 100 ], "size": { "0": 691.7164306640625, "1": 674.45361328125 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 46 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#432", "bgcolor": "#653" }, { "id": 37, "type": "VAEEncode", "pos": [ 491, 651 ], "size": { "0": 140, "1": 50 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 55, "label": "pixels", "slot_index": 0 }, { "name": "vae", "type": "VAE", "link": 53, "label": "vae" } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 50 ], "shape": 3, "label": "LATENT", "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" }, "color": "#223", "bgcolor": "#335" }, { "id": 27, "type": "EmptySD3LatentImage", "pos": [ 1210, 530 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 51 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ], "color": "#322", "bgcolor": "#533" }, { "id": 38, "type": "LoadImage", "pos": [ 83, 647 ], "size": { "0": 357.2669372558594, "1": 349.7933044433594 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 54 ], "shape": 3, "label": "IMAGE", "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "14.png", "image" ], "color": "#323", "bgcolor": "#535" }, { "id": 40, "type": "ConstrainImage|pysssss", "pos": [ 485, 800 ], "size": { "0": 210, "1": 154 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 54 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 55 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 1024, 1024, 1024, 1024, "yes" ], "color": "#322", "bgcolor": "#533" }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 421, 224 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 10 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 41 ], "slot_index": 0 } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "generous 20-year old greek woman with light blonde hair, tan, stunning face" ], "color": "#222", "bgcolor": "#000" }, { "id": 39, "type": "CR Img2Img Process Switch", "pos": [ 732, 635 ], "size": { "0": 315, "1": 78 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "txt2img", "type": "LATENT", "link": 51 }, { "name": "img2img", "type": "LATENT", "link": 50 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 52 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Img2Img Process Switch" }, "widgets_values": [ "img2img" ], "color": "#322", "bgcolor": "#533" }, { "id": 33, "type": "Note", "pos": [ 1560, 640 ], "size": { "0": 280.70977783203125, "1": 192.50845336914062 }, "flags": {}, "order": 5, "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": 41, "type": "Note", "pos": [ 738, 766 ], "size": { "0": 286.3900146484375, "1": 128.43528747558594 }, "flags": {}, "order": 6, "mode": 0, "title": "Img2Img", "properties": { "text": "" }, "widgets_values": [ "This section should only be active is in use, otherwise right click the group and set to never.\n\nAlways adjust the above switch to text or image for the latent image to be sent to the generator." ], "color": "#432", "bgcolor": "#653" }, { "id": 17, "type": "BasicScheduler", "pos": [ 1210, 380 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 12, "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", 20, 0.75 ], "color": "#322", "bgcolor": "#533" }, { "id": 30, "type": "Note", "pos": [ -414, 139 ], "size": { "0": 403.3073425292969, "1": 370.54638671875 }, "flags": {}, "order": 7, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "FLUX dev model Img2Img Basic 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\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": [ 48, 144 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 8, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 38, 39 ], "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": [ 48, 432 ], "size": { "0": 311.81634521484375, "1": 60.429901123046875 }, "flags": {}, "order": 9, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 12, 53 ], "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" ], [ 24, 13, 0, 8, 0, "LATENT" ], [ 30, 22, 0, 13, 1, "GUIDER" ], [ 37, 25, 0, 13, 0, "NOISE" ], [ 38, 12, 0, 17, 0, "MODEL" ], [ 39, 12, 0, 22, 0, "MODEL" ], [ 41, 6, 0, 26, 0, "CONDITIONING" ], [ 42, 26, 0, 22, 1, "CONDITIONING" ], [ 44, 8, 0, 31, 0, "IMAGE" ], [ 45, 8, 0, 32, 0, "IMAGE" ], [ 46, 34, 0, 35, 0, "IMAGE" ], [ 47, 8, 0, 34, 0, "IMAGE" ], [ 48, 34, 0, 36, 0, "IMAGE" ], [ 50, 37, 0, 39, 1, "LATENT" ], [ 51, 27, 0, 39, 0, "LATENT" ], [ 52, 39, 0, 13, 4, "LATENT" ], [ 53, 10, 0, 37, 1, "VAE" ], [ 54, 38, 0, 40, 0, "IMAGE" ], [ 55, 40, 0, 37, 0, "IMAGE" ] ], "groups": [ { "title": "Img2Img", "bounding": [ 53, 558, 662, 469 ], "color": "#3f789e", "font_size": 24, "locked": false } ], "config": {}, "extra": { "ds": { "scale": 1.0610764609500007, "offset": [ 404.527605439733, 204.90287477353962 ] } }, "version": 0.4 }