๐จ FLUX.2 [klein] 4B AIO Workflow v1
Official workflow for FLUX.2 [klein] 4B AIO models
โจ What's Included
โก Optimized Text-to-Image generation
๐ผ Optional upscaling pipeline
๐พ Auto-save with full metadata
๐ Before/After image comparison
๐ Built-in LoRA support (toggle on/off)
๐ Pre-configured for 1024ร1024 native resolution
๐ Compatible Models
๐ก FP8-AIO (~7.7 GB) โ Recommended
๐ต FP16-AIO (~15 GB) โ Older GPUs
๐ข BF16-AIO (~15 GB) โ Best Quality
All versions work with this workflow!
โ๏ธ Pre-Configured Settings
Steps: 4 (step-distilled)
CFG: 1.0 โ ๏ธ
Sampler: euler
Scheduler: simple
Resolution: 1024ร1024
โ ๏ธ CRITICAL: Keep CFG at 1.0!
This is a distilled model. Higher CFG = worse results!
๐ฆ Required Custom Nodes
Install via ComfyUI Manager:
rgthree-comfy โ Image comparison, LoRA toggle
comfyui_image_metadata_extension โ Auto-save metadata
๐ Quick Start
Download workflow (.json)
Import into ComfyUI
Select your FLUX.2 [klein] 4B AIO model
Write your prompt
Generate!
๐ Model Installation
ComfyUI/models/checkpoints/
โโโ flux-2-klein-4b-fp8-aio.safetensors
๐ก Workflow Features
๐จ Base Generation
Natural language prompts
4-6 steps for best results
No negative prompts needed
๐ผ Upscaling (Optional)
1.5x scale by default
Denoise 0.3 preserves details
Adjustable to your needs
๐พ Auto-Save
PNG with full metadata
Easy CivitAI uploads
All settings preserved
๐ Image Comparison
Side-by-side view
Base vs Upscaled
Slide comparison mode
๐ฏ Tips
Portrait: Set resolution to 768ร1024 or 832ร1216
Landscape: Set resolution to 1024ร768 or 1216ร832
Square: Keep 1024ร1024 (native, best quality)
LoRAs: Toggle via "Fast Groups Bypasser" node
๐ Links
Model Download: CivitAI Model Page
Original Model: Black Forest Labs
rgthree-comfy: GitHub
Metadata Extension: GitHub
Version: 1.0
Updated: January 2026
License: Apache 2.0
Sub-second image generation made simple! โก
Description
FAQ
Comments (6)
File consists of only two PNGs
UPDATE:
Thanks again for all the feedback! I wanted to give an update regarding the issue some of you have reported. When using the FP8 AIO model, some users ran into a CLIPTextEncode error, saying the clip input was invalid or the text encoder couldnโt be recognized.
Iโve realized that this might be caused by the script I wrote, which probably doesnโt set the right parameters for ComfyUIโs AIO version. Iโm not entirely sure why it worked on my version, but to avoid confusion for everyone, Iโve deleted the current upload on Civitai.
Iโll redownload ComfyUI without any custom nodes tonight and try to reproduce and fix the problem. Once everything is working correctly, Iโll re-upload the model. Thanks for your patience!
UPDATE 2:
After extensive debugging, I found the root cause of the issue - and it's NOT the model files!
The Problem:
The AIO models are correctly formatted. The issue is that ComfyUI's Flux2 class has the clip_target() method
returning None (marked as "TODO" in the code). This means ComfyUI currently does NOT support loading text encoders
from Flux2 AIO checkpoints - regardless of how the model is formatted.
When you load a Flux2 AIO checkpoint:
- โ UNET loads correctly
- โ VAE loads correctly
- โ Text Encoder is completely ignored (because of the missing implementation)
This is a ComfyUI limitation, not a model issue.
The relevant code in comfy/supported_models.py (line ~772):
```python
class Flux2(Flux):
def clip_target(self, state_dict={}):
return None # TODO โ This is the problem
Workaround (until ComfyUI fixes this):
You need to modify ComfyUI/comfy/supported_models.py and replace the clip_target() method in the Flux2 class. I've
submitted a GitHub issue with the fix:
๐ https://github.com/Comfy-Org/ComfyUI/issues/12032
Once ComfyUI implements this, the AIO models will work out of the box with the standard "Load Checkpoint" node.
I'll re-upload the models once this is resolved or provide a detailed guide on how to apply the fix manually. Sorry
for the confusion - I didn't realize my local ComfyUI had this method already implemented! because I wanted to create the AIO versions with comfyui first
UPDATE 3:
There are currently three ways to use the AIO version. It turns out that the files themselves are completely fine โ the actual issue is that ComfyUI does not recognize the text encoder in certain versions.
Fix 1: Follow the instructions from UPDATE 2.
Fix 2: Update ComfyUI to the newer beta version from 2026-01-22, where this issue has already been fixed.
Fix 3: Wait for the next stable ComfyUI release after v0.10.0, which should also include this fix.
Thanks again to everyone for the great feedback. I apologize for any inconvenience this may have caused, and I hope you still have lots of fun generating.
May the AI be with you ๐

