one-node-flux-2-klein  by yanokusnir-ai

ComfyUI node for integrated AI image creation and editing

Created 1 month ago
324 stars

Top 83.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This ComfyUI custom node simplifies FLUX.2 [klein] workflows by consolidating image generation, editing, inpainting, outpainting, and faceswap into a single widget. It targets ComfyUI users seeking a streamlined, no-graph-building experience for advanced AI image manipulation.

How It Works

The project integrates the full FLUX.2 [klein] functionality into one ComfyUI node, eliminating complex graph construction. It offers five distinct modes—T2I, I2I, Edit, Paint (Sketch, Inpaint, Outpaint), and Faceswap—within a single UI widget for a consolidated and intuitive interface.

Quick Start & Requirements

Install by cloning this repo and ComfyUI-Inpaint-CropAndStitch into ComfyUI/custom_nodes/, then restart ComfyUI. Prerequisites include ComfyUI, the dependency node, and FLUX.2 [klein] models: diffusion model, text encoder (e.g., qwen_3_8b), VAE (flux2-vae), and Faceswap LoRA (BFS Head Swap v1). BiRefNet is optional for background removal. Models must be placed in designated subfolders.

Highlighted Details

Features five modes: T2I, I2I, EDIT, FACESWAP, and PAINT. PAINT mode includes Sketch (layers, brushes), Inpaint (masking), and Outpaint (expansion). Recent updates (June 2026) add more LoRA slots, an option to downscale reference images (reducing VRAM), persistent custom settings, clipboard pasting, improved Sketch features (fullscreen, larger brush), negative LoRA strength, and external model loader support (GGUF). A "Refresh models" button avoids ComfyUI restarts, and tablet/pen input with pressure sensitivity is supported for Sketch.

Maintenance & Community

Development appears active with recent updates (June 2026). However, the README lacks links to community channels, a roadmap, or details on contributors/sponsorships.

Licensing & Compatibility

The node itself is open source with no restrictions. Model compatibility varies: FLUX.2 [klein] 4B is Apache 2.0 (commercial use allowed), while the 9B variant uses the FLUX Non-Commercial License (personal/research only). Users must comply with model-specific licenses.

Limitations & Caveats

Functionality depends on correct installation of FLUX.2 models and the ComfyUI-Inpaint-CropAndStitch dependency. Commercial use is prohibited with the FLUX.2 9B model. Direct links to the FLUX.2 model repository and the YouTube tutorial are missing from the README.

Health Check
Last Commit

4 days ago

Responsiveness

Inactive

Pull Requests (30d)
7
Issues (30d)
42
Star History
324 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.