From 3a53435c3208142299e5241e14a707bbd87f2152 Mon Sep 17 00:00:00 2001 From: BigStationW <210248167+BigStationW@users.noreply.github.com> Date: Sun, 25 Jan 2026 12:55:22 +0100 Subject: [PATCH] Add files via upload --- ...w_Flux2_Klein_4b_clip_text_encode_NAG.json | 1383 +++++++++++++++++ 1 file changed, 1383 insertions(+) create mode 100644 workflow/workflow_Flux2_Klein_4b_clip_text_encode_NAG.json diff --git a/workflow/workflow_Flux2_Klein_4b_clip_text_encode_NAG.json b/workflow/workflow_Flux2_Klein_4b_clip_text_encode_NAG.json new file mode 100644 index 0000000..266d632 --- /dev/null +++ b/workflow/workflow_Flux2_Klein_4b_clip_text_encode_NAG.json @@ -0,0 +1,1383 @@ +{ + "id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e", + "revision": 0, + "last_node_id": 165, + "last_link_id": 316, + "nodes": [ + { + "id": 101, + "type": "VAEDecode", + "pos": [ + 1172.9998634427188, + 644.861081144307 + ], + "size": [ + 220, + 46 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 183 + }, + { + "name": "vae", + "type": "VAE", + "link": 184 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 210, + 213, + 303 + ] + } + ], + "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": 119, + "type": "Image Comparer (rgthree)", + "pos": [ + 2384.565730865916, + 426.6764600429618 + ], + "size": [ + 808.4850463867188, + 698.4635620117188 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "image_a", + "type": "IMAGE", + "link": 214 + }, + { + "dir": 3, + "name": "image_b", + "type": "IMAGE", + "link": 213 + } + ], + "outputs": [], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2508182334", + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + { + "name": "A", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_lgjnh_00003_.png&type=temp&subfolder=&rand=0.9095068594152665" + }, + { + "name": "B", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_lgjnh_00004_.png&type=temp&subfolder=&rand=0.9145854023649999" + } + ] + ] + }, + { + "id": 118, + "type": "PreviewImage", + "pos": [ + 1426.257667941008, + 1338.506229453701 + ], + "size": [ + 986.5669761368861, + 656.3806554655366 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 304 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.9.2", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 117, + "type": "PreviewImage", + "pos": [ + 1595.5857937975777, + 378.81085010032746 + ], + "size": [ + 702.4903615819458, + 834.3829905373195 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 210 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.9.2", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 105, + "type": "VAELoader", + "pos": [ + -386.6755833342531, + 922.6228952394456 + ], + "size": [ + 364.42708333333337, + 58 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 184, + 306 + ] + } + ], + "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": 148, + "type": "LoadImage", + "pos": [ + -1020.244582210788, + 919.8042495607388 + ], + "size": [ + 517.545588491732, + 471.196488747049 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 277 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.9.2", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "pasted/image (2).png", + "image" + ] + }, + { + "id": 115, + "type": "ImageScaleToTotalPixelsX", + "pos": [ + -401.5619765196231, + 1168.1277451646702 + ], + "size": [ + 294.68986108764636, + 199 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 277 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 214, + 300, + 307 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 205, + 206 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 207, + 208 + ] + } + ], + "title": "Image 1", + "properties": { + "cnr_id": "scale-image-to-total-pixels-advanced", + "ver": "c88596fe43bf5d887a93f00ce6c29fd0f2fe63a9", + "Node name for S&R": "ImageScaleToTotalPixelsX", + "aux_id": "BigStationW/ComfyUi-Scale-Image-to-Total-Pixels-Advanced" + }, + "widgets_values": [ + 1, + 16, + "crop", + "lanczos" + ] + }, + { + "id": 149, + "type": "LoadImage", + "pos": [ + -1041.8828193592615, + 1533.2464309148675 + ], + "size": [ + 522.785488240366, + 514.163551551683 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 278 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.9.2", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "pasted_image_20260107_091840.png", + "image" + ] + }, + { + "id": 133, + "type": "ImageScaleToTotalPixelsX", + "pos": [ + -320.19693015635283, + 1591.6587584854572 + ], + "size": [ + 235.99569702148438, + 199 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 278 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 301, + 308 + ] + }, + { + "name": "width", + "type": "INT", + "links": [] + }, + { + "name": "height", + "type": "INT", + "links": [] + } + ], + "title": "Image 2", + "properties": { + "cnr_id": "scale-image-to-total-pixels-advanced", + "ver": "c88596fe43bf5d887a93f00ce6c29fd0f2fe63a9", + "Node name for S&R": "ImageScaleToTotalPixelsX", + "aux_id": "BigStationW/ComfyUi-Scale-Image-to-Total-Pixels-Advanced" + }, + "widgets_values": [ + 1, + 16, + "crop", + "lanczos" + ] + }, + { + "id": 102, + "type": "RandomNoise", + "pos": [ + 598.3380618657638, + 674.9781400183973 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 178 + ] + } + ], + "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": [ + 42, + "fixed" + ] + }, + { + "id": 100, + "type": "SamplerCustomAdvanced", + "pos": [ + 926.0530850594249, + 818.2010786465063 + ], + "size": [ + 212.3638671875, + 326 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 178 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 311 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 180 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 181 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 182 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 183 + ] + }, + { + "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": 161, + "type": "AD_image-concat-advanced", + "pos": [ + 880.4386301766506, + 1572.4391435205425 + ], + "size": [ + 335.3365234375, + 210 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 302 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 303 + }, + { + "name": "image3", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "image4", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "image5", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "shape": 6, + "type": "IMAGE", + "links": [ + 304 + ] + } + ], + "properties": { + "cnr_id": "ad-image-concatenation-advanced", + "ver": "a5c09c8a893032dc4a3a3d5ff32fbd195883fbda", + "Node name for S&R": "AD_image-concat-advanced", + "aux_id": "BigStationW/Comfyui-AD-Image-Concatenation-Advanced" + }, + "widgets_values": [ + "horizontal", + true, + "lanczos", + false + ] + }, + { + "id": 159, + "type": "AD_image-concat-advanced", + "pos": [ + 133.61267542035353, + 1612.8498928161046 + ], + "size": [ + 335.3365234375, + 210 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 300 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 301 + }, + { + "name": "image3", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "image4", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "image5", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "shape": 6, + "type": "IMAGE", + "links": [ + 302 + ] + } + ], + "properties": { + "cnr_id": "ad-image-concatenation-advanced", + "ver": "a5c09c8a893032dc4a3a3d5ff32fbd195883fbda", + "Node name for S&R": "AD_image-concat-advanced", + "aux_id": "BigStationW/Comfyui-AD-Image-Concatenation-Advanced" + }, + "widgets_values": [ + "vertical", + true, + "lanczos", + true + ] + }, + { + "id": 109, + "type": "Flux2Scheduler", + "pos": [ + 604.294752511481, + 1221.4067244925698 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 206 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 207 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 181 + ] + } + ], + "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": 164, + "type": "NAGGuider", + "pos": [ + 599.6134036368248, + 820.6968849940349 + ], + "size": [ + 270, + 190 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 313 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 312 + }, + { + "name": "nag_negative", + "type": "CONDITIONING", + "link": 315 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 316 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 311 + ] + } + ], + "properties": { + "aux_id": "scottmudge/ComfyUI-NAG", + "ver": "c6f27116a8259f5b501d498a09e51c82fa72e35f", + "Node name for S&R": "NAGGuider" + }, + "widgets_values": [ + 6, + 2, + 0.25, + 0.75 + ] + }, + { + "id": 99, + "type": "KSamplerSelect", + "pos": [ + 597.8284385855392, + 1085.0740358107976 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 180 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.8.2", + "Node name for S&R": "KSamplerSelect", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 106, + "type": "EmptyFlux2LatentImage", + "pos": [ + 599.9678230440553, + 1366.3134597391752 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 205 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 208 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 182, + 316 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.8.2", + "Node name for S&R": "EmptyFlux2LatentImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 162, + "type": "CLIPTextEncode", + "pos": [ + 105.56547177472774, + 718.2928086841135 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 305 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 309 + ] + } + ], + "title": "CLIP Text Encode (Prompt) - POSITIVE PROMPT", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.10.0", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "A close up of a man in New York" + ] + }, + { + "id": 163, + "type": "ConditioningAddImageReference", + "pos": [ + 569.7903483435842, + 467.7125084259978 + ], + "size": [ + 330.421484375, + 138 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 309 + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": 306 + }, + { + "name": "image1", + "shape": 7, + "type": "IMAGE", + "link": 307 + }, + { + "name": "image2", + "shape": 7, + "type": "IMAGE", + "link": 308 + }, + { + "name": "image3", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 312 + ] + } + ], + "properties": { + "cnr_id": "textencodeeditadvanced", + "ver": "1.0.1", + "Node name for S&R": "ConditioningAddImageReference" + }, + "widgets_values": [ + "0" + ] + }, + { + "id": 165, + "type": "CLIPTextEncode", + "pos": [ + 101.16917840091422, + 980.8393095788399 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 314 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 315 + ] + } + ], + "title": "CLIP Text Encode (Prompt) - NEGATIVE PROMPT", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.10.0", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "yellow cars, background blur" + ] + }, + { + "id": 153, + "type": "Note", + "pos": [ + 587.4024091338096, + 241.64263500468763 + ], + "size": [ + 295.3752268727269, + 155.9647986637765 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If you only want the first image to be processed, go for max_images_allowed = 1\n\nIf you want a pure text2image behavior, go for max_images_allowed = 0" + ], + "color": "#c09430", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 103, + "type": "UNETLoader", + "pos": [ + -335.77117211282047, + 536.5877862367341 + ], + "size": [ + 364.42708333333337, + 82 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 313 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.8.2", + "Node name for S&R": "UNETLoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "Flux Klein\\flux-2-klein-4b.safetensors", + "default" + ] + }, + { + "id": 150, + "type": "CLIPLoader", + "pos": [ + -342.12521085116066, + 719.5455150509996 + ], + "size": [ + 375.4151999999999, + 117.71280000000002 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 305, + 314 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.9.2", + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "qwen_3_4b.safetensors", + "flux2", + "default" + ] + } + ], + "links": [ + [ + 178, + 102, + 0, + 100, + 0, + "NOISE" + ], + [ + 180, + 99, + 0, + 100, + 2, + "SAMPLER" + ], + [ + 181, + 109, + 0, + 100, + 3, + "SIGMAS" + ], + [ + 182, + 106, + 0, + 100, + 4, + "LATENT" + ], + [ + 183, + 100, + 0, + 101, + 0, + "LATENT" + ], + [ + 184, + 105, + 0, + 101, + 1, + "VAE" + ], + [ + 205, + 115, + 1, + 106, + 0, + "INT" + ], + [ + 206, + 115, + 1, + 109, + 0, + "INT" + ], + [ + 207, + 115, + 2, + 109, + 1, + "INT" + ], + [ + 208, + 115, + 2, + 106, + 1, + "INT" + ], + [ + 210, + 101, + 0, + 117, + 0, + "IMAGE" + ], + [ + 213, + 101, + 0, + 119, + 1, + "IMAGE" + ], + [ + 214, + 115, + 0, + 119, + 0, + "IMAGE" + ], + [ + 277, + 148, + 0, + 115, + 0, + "IMAGE" + ], + [ + 278, + 149, + 0, + 133, + 0, + "IMAGE" + ], + [ + 300, + 115, + 0, + 159, + 0, + "IMAGE" + ], + [ + 301, + 133, + 0, + 159, + 1, + "IMAGE" + ], + [ + 302, + 159, + 0, + 161, + 0, + "IMAGE" + ], + [ + 303, + 101, + 0, + 161, + 1, + "IMAGE" + ], + [ + 304, + 161, + 0, + 118, + 0, + "IMAGE" + ], + [ + 305, + 150, + 0, + 162, + 0, + "CLIP" + ], + [ + 306, + 105, + 0, + 163, + 1, + "VAE" + ], + [ + 307, + 115, + 0, + 163, + 2, + "IMAGE" + ], + [ + 308, + 133, + 0, + 163, + 3, + "IMAGE" + ], + [ + 309, + 162, + 0, + 163, + 0, + "CONDITIONING" + ], + [ + 311, + 164, + 0, + 100, + 1, + "GUIDER" + ], + [ + 312, + 163, + 0, + 164, + 1, + "CONDITIONING" + ], + [ + 313, + 103, + 0, + 164, + 0, + "MODEL" + ], + [ + 314, + 150, + 0, + 165, + 0, + "CLIP" + ], + [ + 315, + 165, + 0, + 164, + 2, + "CONDITIONING" + ], + [ + 316, + 106, + 0, + 164, + 3, + "LATENT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.38554328942953375, + "offset": [ + 1394.3991832803854, + 127.21777873611407 + ] + }, + "frontendVersion": "1.37.11", + "workflowRendererVersion": "LG", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file