Master FLUX Edits with ComfyUI-Flux2Klein-Enhancer Toolkit

ComfyUI-Flux2Klein-Enhancer is a custom node pack for ComfyUI that gives users precise control over FLUX.2 Klein image generation and editing. It manipulates text conditioning and reference latents to adjust how strongly prompts influence the final output. The pack includes tools for controlling prompt strength, preserving original image content during edits, and targeting specific regions of an image.
Developer capitan01R who built the FLUX.2 Klein LoRA Loader tool also created this toolkit by analyzing the FLUX.2 Klein model's internal architecture through forward-pass hook tracing. The project addresses a common frustration where FLUX.2 Klein sometimes ignores user intent during image editing, either changing too much or failing to preserve important subjects and objects.
Tools for precise image control
- Text conditioning enhancement with adjustable magnitude, contrast, and normalization settings.
- Reference latent controller that adjusts how much original structure stays intact during edits.
- Detail controller dividing prompts into front, middle, and end sections for targeted emphasis.
- Sectioned encoder for reliable subject and object preservation.
- Low VRAM mode using float16 computation for users with limited GPU memory.
Artists and designers who need consistent results when editing images will find value in these controls. Instead of re-running generations hoping for better preservation, users can dial in exact settings to keep subjects intact while changing backgrounds or environments.
Built through architecture analysis
The developer discovered through diagnostic tracing that FLUX.2 Klein processes text and reference latents through separate streams before combining them. This finding enabled the creation of controls that modify each stream independently, something not available in the base model.
A new BETA feature adds mask-guided regional conditioning, which lets users target specific areas while freeing others for prompt control. The developer notes,
'The idea is using a mask to spatially control the reference latent directly in the conditioning stream.'
Users should expect some variability with the mask feature since it remains in experimental stages.
Check out the ComfyUI-Flux2Klein-Enhancer nodes on their GitHub page.