CoolFace
Apppublic

user-agent/outpaint-bakeoff

sourceHugging Faceapache-2.0updated 20d agoView on Hugging Face
0likes
App README

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.

ControlNet-Union SDXLFLUX.1-Fill-dev**FLUX.2-klein-4B + LoRA**
Era2024late 2024current
LicenceOpenRAIL / SDXLnon-commercialApache-2.0
VRAM~7 GB + base~24 GB~13 GB
MethodControlNet inpaintmask-based fillgreen-canvas edit

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.