yanokusnir-ai/one-node-flux-2-klein — reverse-engineered prompt

Reverse engineered prompt

Build me a ComfyUI custom node that wraps the whole FLUX.2 klein workflow into one clean widget, so I do not have to wire up a bunch of nodes by hand. I want it to feel like one all in one panel with simple controls and quick mode switching.

It should support text to image, image to image, edit with one or two reference images, paint mode with sketching, inpaint and outpaint, plus face swap from a source image onto a target. The paint area should feel usable, with layers, brushes, shapes, fullscreen, paste from clipboard, and easy resizing. I also want a gallery where I can reuse results, model and LoRA selection, refresh without restarting, and optional support for external model, clip, and VAE inputs.

Please make it work with official FLUX.2 klein models, including 4B and 9B, and handle the extra pieces needed for face swap and background removal when available. If inpaint and outpaint need an extra helper node, include that setup too. Look up current docs online if you need to.

Want more depth? Deep Reverse