High school grad builds RGBA VAE for FLUX.2, enabling true transparent image output

Superb_Composer_3389 · reddit · 2026-09-30

A developer fresh out of high school spent months making FLUX.2 Klein output natively transparent images, releasing weights alongside a first-ever paper.

Components:

Numbers (small test set): Extract-9B hits IoU 0.934 on 20 held-out objects, identical scores at 6 vs 25 steps (11 s/image, 10 GB VRAM in fp8). The RGBA VAE costs 10–18% colour error vs stock — the price of fitting alpha.

Limitations: Remove-9B struggles with flat graphics; no tests above 512². An extractor trained on Qwen-Image-2.1 matches accuracy, runs faster, but needs two GPUs; the paper compares them (author favors Qwen).

Weights are on Hugging Face under a non-commercial licence, with a Gradio demo. Credits AlphaVAE and ostris' ai-toolkit.

Related event: High School Grad Adds Just 2,305 Parameters to Give FLUX.2 Native Transparency(2 posts)→

Original post →

More from Multimodal

Multimodal channel →