Summary

AlphaAnything is a lightweight framework from Tsinghua University, ByteDance, and Peking University that extends pretrained RGB image generators to RGBA, producing images with true transparency, released in November 2026. It works directly in the original latent space without RGBA reconstruction pretraining: LoRA modules in the generative transformer plus an alpha branch on the frozen RGB VAE decoder, trained with an Endpoint-Aware Alpha Loss. Two tasks are supported: text-to-RGBA, generating a transparent layer from a prompt, and image-to-RGBA, extracting a described object from an existing image as an editable transparent layer.

Key Features

Text-to-RGBA generation: creates transparent-background image layers directly from text prompts
Image-to-RGBA extraction: isolates a described object from an existing image as an editable transparent layer, preserving fine detail
Handles partial transparency — glass, thin fabrics, feathers, hair — via the Endpoint-Aware Alpha Loss, not just hard cut-outs
Four ready-made adapters across FLUX.2 Klein 9B and Qwen-Image / Qwen-Image-Edit backbones
Frozen RGB VAE decoder: RGB decoding stays identical to the pretrained base model for any fixed latent
Fast 4-step inference by loading the FLUX.2 Klein adapters onto the distilled FLUX.2-klein-9B model
Python API and persistent HTTP server (FastAPI) with zero-weight-reload switching between RGB and RGBA and across adapters
Full training recipes and 8,963-image RGBA training dataset released alongside the code

About AlphaAnything


Four adapters are released: text-to-RGBA and image-to-RGBA for FLUX.2 Klein Base 9B, which also load onto the 4-step distilled FLUX.2-klein-9B for fast inference, plus text-to-RGBA for Qwen-Image-2512 and image-to-RGBA for Qwen-Image-Edit-2511. Because the RGB decoder stays frozen, RGB decoding is identical to the pretrained base model for any fixed latent, and the framework handles partial transparency such as glass, thin fabrics, feathers, and hair, not just hard cut-outs. An 8,963-image RGBA training dataset and the full training recipes are released alongside the code, and a third-party ComfyUI port exists.


AlphaAnything is free: the code is Apache 2.0, and checkpoints are licensed per directory to match their upstream base models, with the Qwen-Image adapters under Apache 2.0 and the FLUX.2 Klein adapters under the FLUX Non-Commercial License, so the FLUX adapters are for non-commercial use only. It ships a Python API and a persistent FastAPI HTTP server with zero-weight-reload switching between RGB and RGBA and across adapters. It is aimed at designers and developers who need transparent layers for compositing, stickers, product shots, and layered editing without a separate matting step.

FAQs about AlphaAnything

Get more likes & reach the top of search results by adding this button on your site!

Embed button preview - Light theme
Embed button preview - Dark theme
TurboType Banner

Subscribe to the AI Search Newsletter

Get top updates in AI to your inbox every weekend. It's free!