You have a finished poster or illustration as one flat PNG, and now you need to move the title, swap the background or animate the character. Normally that means hours of masking. Ming-Image-0.2-Design-Layer from inclusionAI (Ant Group’s open AI lab) does it in one go: it splits a flat image into separate transparent PNG layers, one per object, ordered front to back.
The weights went up on 1 December 2026 under the MIT licence. Version 0.2 adds two new modes: a 2D character-rigging split for animation, and box-guided extraction where you point at exactly what you want pulled out.
There is a catch: the only validated local setup is a single 80 GB GPU. This guide explains what the model does, how to try it free online, how to run it if you have the hardware (or rent it), the layer spec format, how to turn the output into a Photoshop or GIMP file, and what to expect on a consumer card.
All details are checked against the official model card, GitHub repo and Hugging Face Space as of 6 December 2026.
- What: splits a flat illustration or poster into editable RGBA PNG layers.
- New in 0.2: character-rigging decomposition and bounding-box-guided extraction.
- Size: 6B diffusion transformer; full repo about 65 GB.
- Hardware: validated on one 80 GB GPU in BF16. No official low-VRAM mode yet.
- Try it free: the official Hugging Face Space runs it on ZeroGPU.
- Licence: MIT.
Only need to cut out one subject? My local background removal guide is a lighter option that runs on any GPU.
What Design-Layer Does
Background removal gives you two pieces: subject and background. Layer decomposition goes further. It looks at a whole design and separates it into many parts: the background, each character, each prop, the headline and so on. Each part comes out as its own PNG with transparency, and the model also fills in what was hidden behind objects so each layer is usable on its own.
The output is a stack of files such as layer_01.png, layer_02.png and so on, ordered from front to back, plus a composite preview.
| Item | Detail |
|---|---|
| Developer | inclusionAI |
| Weights released | 1 December 2026 |
| Diffusion transformer | 6B parameters |
| Repo size | About 65.2 GB (includes MLLM, VAE and connector folders) |
| Precision | BF16 |
| Default sampling | 12 steps, CFG 2.0 |
| Resolution | 512 or 1024 (keeps input aspect ratio) |
| Output | RGBA PNG layers |
| Licence | MIT |
It has a sibling, Ming-Image-0.2-Design, a 6B text-to-image model aimed at graphic design (posters, layouts, typography) that came out about six days earlier. Kombitz called it the strongest open-weight design model at the moment. The two pair well: generate a poster with Design, then split it with Design-Layer.
The Three Modes
All three use the same command, --task layer-decompose. What changes is the prompt file you give it.
1. General decomposition
You give it a layer spec file that says how many layers you want and describes each one. Or you skip the file and just pass --num-layers N to let the model decide what goes where.
2. Character rigging (new in 0.2)
For 2D animation. The model splits a character into semantic body and clothing parts (head, arms, torso, legs, garments), ordered by how they overlap. Those parts can then be rigged in tools like Spine, Live2D-style workflows or After Effects puppet tools. The card says a “character-rigging prompt rewriter” first plans the parts list.
3. Bounding-box guided (new in 0.2)
You list boxes around the objects you want. Coordinates are normalised to a 1000 x 1000 grid in x1, y1, x2, y2 order, so a box covering the left half of the image would be roughly 0 0 499 999 whatever the real pixel size. No prompt rewriting is needed in this mode, which makes it the most predictable for designers.
Try It Free Online
The easiest route by far is the official Space: inclusionAI/Ming-Image-0.2-Design-Layer, titled “Ming Image Layer Decomposition Studio”.
- Open the Space and upload your image.
- Choose the number of layers.
- Run it and download the transparent PNG layers and the composite canvas.
It runs on ZeroGPU, which is shared hardware. You may wait in a queue, and free accounts have daily GPU time limits. Signing in to Hugging Face usually gives you more time. For a handful of designs this is all most people need.
Hardware Reality Check
The model card is direct: the validated configuration is “one CUDA GPU with 80 GiB VRAM” in BF16. The older 0.1 README calls 80 GB the “default and minimum validated deployment”.
What that means for you:
- RTX 4090 / 5090 (24 to 32 GB): not officially supported. There is no CPU offload or FP8 switch in the official code that I could find.
- Community FP8 repack: one exists,
jmcgomes/Ming-Image-0.2-Design-Layer-fp8. I have not verified its size, how much VRAM it needs or whether it works with the official script, so treat it as experimental. - Rented GPU: an hour on a cloud A100 80GB or H100 is the realistic local-style option today. Batch all your images into one session to keep the cost down.
- ComfyUI: no node or GGUF version exists yet.
Kombitz’s advice is to wait for smaller community repacks if you only have a consumer card. Meanwhile, the Space is the practical choice. If you want to know what fits on your own card, my VRAM guide breaks it down.
Install and Run Locally
If you have an 80 GB card or a rented one, setup is short. From the model card:
git clone https://github.com/inclusionAI/Ming-Image
cd Ming-Image
pip install -r requirements.txt
Then run a decomposition. This is the card’s general example, split over lines for reading:
python infer.py --model inclusionAI/Ming-Image-0.2-Design-Layer --task layer-decompose --input-image assets/layer_samples/christmas_poster_input.png --prompt assets/layer_samples/christmas_poster_prompt.txt --attn-implementation flash_attention_2 --resolution 512 --output-dir outputs/layers
For the other modes, the card uses the same command with a different input, prompt and output folder:
- Rigging:
rigging_input.png,rigging_prompt.txt, outputoutputs/layers_rigging - Bounding boxes:
bbox_input.png,bbox_prompt.txt, outputoutputs/layers_bbox
Points to note:
--resolutionis 512 or 1024. Start at 512 to check the split, then rerun at 1024 for the final.- The default attention is
eager; FlashAttention 2 is optional and faster. The 0.1 README warns that--attn-implementation sdpafails at load time. - The first run downloads about 65 GB, so give it time and disk space.
- The card also links a vLLM-Omni recipe for serving it.
Writing a Layer Spec
The prompt file tells the model how many layers to make and what each one is. The basic shape, following the card’s description, is:
Number of layers: 4
Layer 1: the headline text "WINTER SALE" in red at the top
Layer 2: a smiling snowman in the centre
Layer 3: snowflakes scattered across the image
Layer 4: the blue gradient background
Order matters: layer 1 is the front, the last layer is the back. Be specific about colour and position, because that is how the model knows which pixels belong to which layer.
The card says a prompt enhancer can write detailed specs for you, and names Ling-3.2-flash or qwen3.8-27B for this. Any good local LLM works: give it the image description and ask for a numbered layer list with colours and positions. My Ollama vision models guide shows how to have a local model describe an image first.
If you do not want to write a spec, pass --num-layers 4 (or any number) instead of --prompt.
Turn the Layers into a PSD or GIMP File
The model writes PNGs, not a PSD. Getting them into an editor is easy:
- Photoshop: File, Scripts, Load Files into Stack. Select all the layer PNGs. Then reorder so
layer_01is on top. - GIMP: File, Open as Layers, select all PNGs, then arrange the stack.
- Photopea (free, browser): open the first PNG, then drag the rest in as layers. Export as PSD.
- Krita / Affinity: import each PNG as a file layer.
Check whether your layers are full canvas size or cropped. If a layer opens in the wrong place, it was cropped and you will need to position it against the composite preview. Test with one image first.
Practical Uses
- Edit AI posters: fix a misspelled headline by replacing just the text layer.
- Resize designs: move layers around to turn a square post into a story or banner.
- Parallax and motion: animate layers at different speeds for a 2.5D effect in After Effects, CapCut or DaVinci Resolve.
- Character animation: use the rigging mode to get body parts ready for a 2D rig.
- Feed other AI tools: send a single layer into an image-to-video model so only that element moves.
Limits
- No independent scores yet. Kombitz noted “There are no independent scores yet.”
- Big hardware. 80 GB validated; no official low-memory path.
- Illustrations, not photos. It is trained for graphic design, posters and characters. Busy photographs are not its target.
- Specs matter. Vague layer descriptions lead to mixed-up layers.
- Hidden areas are guessed. What was behind an object is generated, so check it before you move layers far apart.
Common Problems and Fixes
| Problem | Cause | Fix |
|---|---|---|
| CUDA out of memory | GPU under 80 GB | Use the Space or rent an 80 GB GPU |
| Error at load with sdpa | Unsupported attention option | Use eager (default) or flash_attention_2 |
| Objects merged into one layer | Spec too vague or too few layers | Add colours and positions, or raise the layer count |
| Wrong object extracted | Ambiguous description | Use bounding-box mode |
| Space queue too long | Shared ZeroGPU | Sign in, try off-peak, or run locally |
| Layers misaligned in Photoshop | Cropped layers | Align against the composite preview |
FAQ
What is Ming-Image-0.2-Design-Layer?
An open model from inclusionAI that splits a flat image into separate transparent PNG layers.
Is it free?
Yes. It is MIT licensed, and the official Hugging Face Space lets you try it without installing anything.
Can I run it on an RTX 4090?
Not officially. The validated setup is an 80 GB GPU. A community FP8 repack exists but is unverified.
Does it export PSD files?
No. It writes PNG layers, which you can stack into a PSD in Photoshop, GIMP or Photopea.
What is the bounding-box mode?
You give box coordinates on a 1000 x 1000 grid and the model extracts exactly those objects as layers.
Is there a ComfyUI node?
Not yet, as far as I could find.
Does it work on photos?
It is built for illustrations, posters and characters. Photos are not its focus.
Sources
- Ming-Image-0.2-Design-Layer model card (modes, commands, settings, hardware, licence)
- Ming-Image on GitHub
- Official Hugging Face Space
- Kombitz roundup, 5 December 2026




