FLUX.2 Klein Alpha

Extract foregrounds as transparent PNGs, including soft edges, shadows and partial transparency.

GitHub code and demo FLUX model weights Paper Paper PDF

Download Model
vae/ RGBA VAE for FLUX.2
loras/extract_4b.safetensors Foreground extractor for Klein Base 4B
loras/extract_9b.safetensors Foreground extractor for Klein Base 9B
loras/remove_9b.safetensors Object removal for Klein Base 9B

The demo includes a 4B / 9B extractor selector and an auto-background mode: mark an object, generate its background, then extract it as RGBA. You can also provide a composite and background directly.

Extract-4B examples

Extract-9B preserves a soft shadow

Download and run

hf download trmz/flux2-klein-alpha --local-dir weights

Follow the demo setup. Choose 4B or 9B under Extractor model. Start directly with 4B using EXTRACT_MODEL=4B.

Use prompt Foreground, guidance 4. Both extractors run at six steps.

Licences

By Xavier Jara. VAE method: AlphaVAE. Training/inference: ai-toolkit.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for trmz/flux2-klein-alpha

Adapter
(102)
this model

Space using trmz/flux2-klein-alpha 1

Paper for trmz/flux2-klein-alpha