user-agent/outpaint-bakeoff
Outpaint Bake-off — FLUX.2 [klein] 4B
Tests the current generation of outpainting against the ControlNet-Union SDXL stack (2024-era) still used by several existing Spaces.
How the green canvas works
fal's LoRA does not take a mask. The source image is pasted onto a larger green canvas and the model is prompted with Fill the green spaces according to the image. The green region is the conditioning signal, which is why the app shows it next to the result — if an output looks wrong, the border is the first thing to inspect.
LoRA scale is fused at 1.1, matching fal's own example.
Licensing
FLUX.2-klein-4B— Apache-2.0, commercially usable.FLUX.2-klein-9B— non-commercial. Deliberately not used here.- The LoRA — Apache-2.0, from fal.
The LoRA is loaded from `xocialize/outpaint-FLUX.2-klein-4B-lora`, a byte-identical mirror, because fal's own repo ships only the ComfyUI-converted file rather than the diffusers/PEFT one.
Caveat
There is no official FLUX.2 Fill model. FLUX.2 does instruction and multi-reference editing, not mask-conditioned fill, so outpainting relies on this community LoRA. That is the main risk in adopting it, and the reason to bake it off rather than switch outright.
