{ "id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e", "revision": 0, "last_node_id": 366, "last_link_id": 680, "nodes": [ { "id": 143, "type": "VAEDecode", "pos": [ 1671.3329854906892, 514.2950064405973 ], "size": [ 220, 46 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 315 }, { "name": "vae", "type": "VAE", "link": 404 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 489 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAEDecode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 149, "type": "VAELoader", "pos": [ 239.0009335952939, 1052.3935937642214 ], "size": [ 364.42708333333337, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 249, 404 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAELoader", "models": [ { "name": "flux2-vae.safetensors", "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors", "directory": "vae" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux2-vae.safetensors" ] }, { "id": 151, "type": "ImageScaleToTotalPixels", "pos": [ 189.68564682163498, 1272.5436864038147 ], "size": [ 270, 106 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 242 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 237, 248 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "ImageScaleToTotalPixels", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "nearest-exact", 1, 1 ] }, { "id": 159, "type": "ConditioningZeroOut", "pos": [ 565.4740325408494, 1231.2871659196933 ], "size": [ 204.134765625, 26 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 666 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 256 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "ConditioningZeroOut" }, "widgets_values": [] }, { "id": 146, "type": "CLIPLoader", "pos": [ 239.0009335952939, 882.393565462644 ], "size": [ 364.42708333333337, 106 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 664 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen_3_8b_fp8mixed.safetensors", "url": "https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors", "directory": "text_encoders" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_3_8b_fp8mixed.safetensors", "flux2", "default" ] }, { "id": 153, "type": "GetImageSize", "pos": [ 519.8681956485644, 1321.6569786337577 ], "size": [ 187.5, 124 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 237 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 580, 618 ] }, { "name": "height", "type": "INT", "links": [ 581, 619 ] }, { "name": "batch_size", "type": "INT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "GetImageSize", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 155, "type": "VAEEncode", "pos": [ 420.54672364928257, 1512.8146111137085 ], "size": [ 190, 46 ], "flags": { "collapsed": false }, "order": 10, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 248 }, { "name": "vae", "type": "VAE", "link": 249 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 244, 245 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAEEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 145, "type": "UNETLoader", "pos": [ 239.0009335952939, 732.3935488095262 ], "size": [ 364.42708333333337, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 679 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "UNETLoader", "models": [ { "name": "flux-2-klein-base-9b-fp8.safetensors", "url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8/resolve/main/flux-2-klein-base-9b-fp8.safetensors", "directory": "diffusion_models" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux-2-klein-9b.safetensors", "default" ] }, { "id": 342, "type": "Flux2Scheduler", "pos": [ 1053.4040870665262, 1268.8467423778711 ], "size": [ 270, 106 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 618 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 619 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 649 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "Flux2Scheduler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 4, 1024, 1024 ] }, { "id": 308, "type": "KSamplerSelect", "pos": [ 1169.5835831798363, 938.4382979804076 ], "size": [ 270, 58 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 538 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ] }, { "id": 179, "type": "EmptyFlux2LatentImage", "pos": [ 1379.5810614311752, 1082.0065452677125 ], "size": [ 210, 106 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 580 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 581 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 632 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "EmptyFlux2LatentImage" }, "widgets_values": [ 768, 1120, 1 ] }, { "id": 156, "type": "ReferenceLatent", "pos": [ 831.959313434671, 1211.604227113157 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 14, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 665 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 245 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 668 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "ReferenceLatent", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 188, "type": "SamplerCustomAdvanced", "pos": [ 1540.234966891086, 639.2743849373356 ], "size": [ 212.3638671875, 326.0000000000001 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 308 }, { "name": "guider", "type": "GUIDER", "link": 309 }, { "name": "sampler", "type": "SAMPLER", "link": 538 }, { "name": "sigmas", "type": "SIGMAS", "link": 649 }, { "name": "latent_image", "type": "LATENT", "link": 632 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 315 ] }, { "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "SamplerCustomAdvanced", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 76, "type": "LoadImage", "pos": [ -162.62527034491245, 735.922582037096 ], "size": [ 320, 470 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 242 ] }, { "name": "MASK", "type": "MASK", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "LoadImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "image": "clipspace/clipspace-painted-masked-1775487319656.png [input]" }, "widgets_values": [ "flux2klein-9b-lora-loader-and-updated-z-image-turbo-lora-v0-88mh9eg8ueqg1.webp", "image" ] }, { "id": 154, "type": "ReferenceLatent", "pos": [ 796.8667131338681, 1465.5861010293393 ], "size": [ 204.134765625, 46 ], "flags": { "collapsed": false }, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 256 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 244 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 680 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "ReferenceLatent", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 185, "type": "RandomNoise", "pos": [ 1169.366132437718, 813.2618624376989 ], "size": [ 270, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 308 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "RandomNoise", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 385795140905191, "fixed" ] }, { "id": 280, "type": "SaveImage", "pos": [ 1901.016995348784, 616.3465210152955 ], "size": [ 390.63202233286324, 556.3589491665177 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 489 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "SaveImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Flux2-Klein-4b-base" ] }, { "id": 351, "type": "CLIPTextEncode", "pos": [ 691.6685466106483, 763.4902645386464 ], "size": [ 400, 200 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 664 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 665, 666 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "from a closeup angle the woman is riding a motorcycle in a country-road, remove the blur artifacts and increase the quality of the photo, add a subtle professional lighting to the aesthetic of the photo, increase the quality to macro detailed quality" ] }, { "id": 355, "type": "Flux2KleinTextRefBalance", "pos": [ 912.2039183346554, 424.449330203181 ], "size": [ 301.2388671875, 150 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 670 }, { "name": "conditioning", "type": "CONDITIONING", "link": 671 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 677 ] }, { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 645 ] } ], "properties": { "Node name for S&R": "Flux2KleinTextRefBalance" }, "widgets_values": [ 0.995, false ] }, { "id": 359, "type": "Flux2KleinRefLatentController", "pos": [ 545.339329547726, 412.74474068855216 ], "size": [ 325.4927734375, 174 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 679 }, { "name": "conditioning", "type": "CONDITIONING", "link": 668 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 670 ] }, { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 671 ] } ], "properties": { "Node name for S&R": "Flux2KleinRefLatentController" }, "widgets_values": [ 104.6, 0, "none", 0.5, false ] }, { "id": 186, "type": "CFGGuider", "pos": [ 1201.3920543640156, 668.135146305139 ], "size": [ 270, 98 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 677 }, { "name": "positive", "type": "CONDITIONING", "link": 645 }, { "name": "negative", "type": "CONDITIONING", "link": 680 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 309 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "CFGGuider", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1 ] } ], "links": [ [ 237, 151, 0, 153, 0, "IMAGE" ], [ 242, 76, 0, 151, 0, "IMAGE" ], [ 244, 155, 0, 154, 1, "LATENT" ], [ 245, 155, 0, 156, 1, "LATENT" ], [ 248, 151, 0, 155, 0, "IMAGE" ], [ 249, 149, 0, 155, 1, "VAE" ], [ 256, 159, 0, 154, 0, "CONDITIONING" ], [ 308, 185, 0, 188, 0, "NOISE" ], [ 309, 186, 0, 188, 1, "GUIDER" ], [ 315, 188, 0, 143, 0, "LATENT" ], [ 404, 149, 0, 143, 1, "VAE" ], [ 489, 143, 0, 280, 0, "IMAGE" ], [ 538, 308, 0, 188, 2, "SAMPLER" ], [ 580, 153, 0, 179, 0, "INT" ], [ 581, 153, 1, 179, 1, "INT" ], [ 618, 153, 0, 342, 0, "INT" ], [ 619, 153, 1, 342, 1, "INT" ], [ 632, 179, 0, 188, 4, "LATENT" ], [ 645, 355, 1, 186, 1, "CONDITIONING" ], [ 649, 342, 0, 188, 3, "SIGMAS" ], [ 664, 146, 0, 351, 0, "CLIP" ], [ 665, 351, 0, 156, 0, "CONDITIONING" ], [ 666, 351, 0, 159, 0, "CONDITIONING" ], [ 668, 156, 0, 359, 1, "CONDITIONING" ], [ 670, 359, 0, 355, 0, "MODEL" ], [ 671, 359, 1, 355, 1, "CONDITIONING" ], [ 677, 355, 0, 186, 0, "MODEL" ], [ 679, 145, 0, 359, 0, "MODEL" ], [ 680, 154, 0, 186, 2, "CONDITIONING" ] ], "groups": [ { "id": 1, "title": "Models", "bounding": [ 235.3342654854337, 648.5324313508688, 380, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Prompt", "bounding": [ 640.5981902873282, 661.1731853632924, 470, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "frontendVersion": "1.41.20", "workflowRendererVersion": "LG", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true, "ds": { "scale": 0.672749994932561, "offset": [ 470.1331440300429, -186.8030813442128 ] } }, "version": 0.4 }