FLUX Klein 4B inpaint workflow auto-masks objects with Florence-2 and SAM2
A ComfyUI workflow combines FLUX Klein 4B, a Klein outpaint LoRA, and Florence-2/SAM2 auto-masking for selective inpainting and object isolation.
A ComfyUI workflow pairs FLUX Klein 4B with a Klein outpaint LoRA, an inpaint crop node, and Florence-2/SAM2 auto-masking to handle selective inpainting and object isolation in a single graph. Users can invert the Florence-2/SAM2 mask to isolate a detected object, bypass auto-masking and draw manually, or let the workflow crop around a masked region, run FLUX Klein 4B inpainting on the crop, then composite the result back into the full canvas. A video demo shows the workflow in action.
