Alibaba's Qwen releases a model that splits images into layers
Every designer knows the frustration. You open an image in Photoshop, and there it is — a beautiful photo, but everything's baked together on a single layer. Want to move just the coffee cup? You're in for an hour of careful masking. Want to change the wall color without affecting the furniture? Good luck.
AI image editors promised to fix this, but they created a different problem. Ask them to move that coffee cup, and they'll regenerate the entire image. Sure, the cup moved, but now the lighting looks different. The shadows are wrong. Something indefinable about the scene has shifted.
Qwen-Image-Layered takes a different approach entirely. Instead of editing your image, it deconstructs it — separating every distinct element into its own transparent layer, like a Photoshop file that creates itself.
Qwen-Image-Layered Demo - Layer Decomposition in Action
The "Aha" Moment
The best way to understand this is to see it in action. You feed the model a photo of a room with a person, a chair, and some plants. Instead of giving you back an edited version, it gives you five separate images:
The person, cleanly cut out with perfect edges, on a transparent background. The chair, same deal. Each plant. The floor. The wall. Everything separated, ready to be individually manipulated.
Now moving that coffee cup isn't an AI editing task — it's just dragging a layer in Photoshop. Changing the wall color is a 30-second job. You're back in control.
How does Qwen-Image-Layered split an image into layers?
The researchers at Alibaba's Qwen team built three innovations that make this possible.
First, they solved the transparency problem. Normal AI image models work with RGB — red, green, blue. But Photoshop layers need RGBA, where the "A" is the alpha channel that defines transparency. Getting AI to understand transparency edges without creating ugly halos or artifacts required building a specialized component they call RGBA-VAE.
Second, they made decomposition flexible. A simple portrait might need three layers. A complex street scene might need eight. The model adapts to the complexity of what you give it, producing exactly as many layers as the scene actually requires.
Third, they found clever training data. Here's the problem: you can't just download a dataset of properly layered images. They don't exist at scale. So the team built a pipeline to extract training data from real Photoshop documents — learning how professional designers actually organize their layers.
Why This Matters
Traditional AI image editing is inherently reconstructive. Every edit regenerates pixels. Every regeneration introduces drift. Small changes compound into noticeable differences.
Layer-based editing is inherently preservative. The background pixels don't change when you edit the foreground. The lighting stays consistent because you're not asking the AI to re-imagine it.
This is the difference between "AI as author" and "AI as tool." Qwen-Image-Layered doesn't make creative decisions for you — it gives you clean materials to make your own.
The Practical Details
The model exports to formats designers actually use: PSD for Photoshop, PPTX for presentations, and ZIP for everything else. You can go straight from AI decomposition to professional editing software.
Running it requires recent versions of Hugging Face Transformers (4.51.3+) and the latest diffusers library. The recommended resolution is 640 pixels for best results, with 1024 available but less tested. Each decomposition takes about 50 inference steps.
The code and model weights are released under Apache 2.0 — fully open for commercial use. Within days of release, the community had created quantized versions, 8-bit variants, and demo spaces on Hugging Face.
Who Should Pay Attention
If you're a designer who regularly masks complex images, this could save you hours. If you're building an image editing application, this gives you a fundamentally different approach to non-destructive editing. If you're researching computer vision, this paper offers a fresh perspective on how to think about image structure.
The underlying idea — that AI should decompose problems into manipulable components rather than just generating final outputs — has implications beyond image editing.
The Research Paper
For those who want to dive deeper, the full paper is available on arXiv (2512.15603). At 12 pages with 8 figures, it's a readable introduction to the architecture. The team includes researchers from Alibaba's Qwen lab alongside Heung-Yeung Shum (former Microsoft Research Asia head) and Lionel Ni (former HKUST provost).
The paper already hit #2 on Papers with Code's daily rankings, and the GitHub repository has gathered over 1,100 stars. This isn't obscure research — it's a tool people are already using.
Qwen-Image-Layered is available now on GitHub and Hugging Face. The research paper is at arXiv:2512.15603.
Sources
- https://arxiv.org/abs/2512.15603
- https://github.com/QwenLM/Qwen-Image-Layered
- https://qwen.ai/blog?id=qwen-image-layered
Related stories
- Alibaba releases Qwen3.8-27B, an open model that runs on one GPU
- Many correct AI answers on hard science tests skip the reasoning
- A drone spins its body against its propeller to be harder to see
- Flapping-wing robot takes off from water using wings alone
- Perplexity CEO says AI inference is moving onto your laptop
- Microsoft Unveils Project Solara: A Chip-to-Cloud Platform for Agent-First Devices
More from Debug Duck
- NVIDIA and Groq Enter $20 Billion Licensing Agreement
- NVIDIA licenses Groq's technology in a reported $20 billion deal
- OpenAI's Uncomfortable Admission: AI Agents May Always Be Hackable
- OpenAI says prompt injection in ChatGPT Atlas may never be solved
- NVIDIA releases ALCHEMI Toolkit-Ops for GPU chemistry simulations