Ming-Image-0.2-Design-Layer upgrades editable RGBA layer decomposition from
Ming-Image-0.1-Design-Layer with two major new capabilities: 2D
character-rigging decomposition (separating character illustrations into
semantic, occlusion-ordered body and garment parts for downstream editing and
animation) and bounding-box-guided decomposition (extracting specified
foreground elements directly from normalized xyxy boxes without prompt
rewriting). It uses the same inference code and sampling settings as the 0.1
release.
| Model | Task | Params (DiT) | Weights | Blog | Skills | Demo |
|---|---|---|---|---|---|---|
| Ming-Image-0.2-Design-Layer | Editable layer decomposition | 6B | 🤗 Hugging Face 🧩 ModelScope |
Blog | Design · PPT | — |
| Ming-Image-0.2-Design | Visual-design generation | 6B | 🤗 Hugging Face 🧩 ModelScope |
Blog | Design · PPT | — |
| Ming-Image-0.1-Design | Visual-design generation | 6B | 🤗 Hugging Face 🧩 ModelScope |
Blog | Design · PPT | Try it |
| Ming-Image-0.1-Design-Layer | Editable layer decomposition | 6B | 🤗 Hugging Face 🧩 ModelScope |
Blog | Design · PPT | Try it |
Use the companion Ming-Image repository for installation and inference:
git clone https://github.com/inclusionAI/Ming-Image
cd Ming-Image
pip install -r requirements.txt
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
Generate a semantic part plan with the character-rigging prompt rewriter, then decompose into editable RGBA parts:
python infer.py \
--model inclusionAI/Ming-Image-0.2-Design-Layer \
--task layer-decompose \
--input-image assets/layer_samples/rigging_input.png \
--prompt assets/layer_samples/rigging_prompt.txt \
--attn-implementation flash_attention_2 \
--resolution 512 \
--output-dir outputs/layers_rigging
Specify target boxes directly in normalized 0–999 xyxy coordinates on a
1000×1000 scale—no prompt rewriting is required (see
bbox_prompt.txt):
python infer.py \
--model inclusionAI/Ming-Image-0.2-Design-Layer \
--task layer-decompose \
--input-image assets/layer_samples/bbox_input.png \
--prompt assets/layer_samples/bbox_prompt.txt \
--attn-implementation flash_attention_2 \
--resolution 512 \
--output-dir outputs/layers_bbox
Prompt enhancement (PE) for design and character-rigging decomposition can use
Ling-3.2-flash or qwen3.8-27B; see
layer-decomposition prompt rewriting.
We recommend the following inference frameworks to serve the model:
Provide --input-image plus either a detailed layer specification through
--prompt, or omit --prompt and set --num-layers N to create the default
request. When --prompt is supplied, the layer count declared in that prompt
controls the output count. Standalone outputs are saved as RGBA PNG files.
General design decomposition
Decomposing editorial posters, e-commerce visuals, architectural graphics, and structured layouts into clean, independently editable RGBA layers.
Character-rigging decomposition
Separating headwear, hair, eyewear, facial features, limbs, garments, and background in front-to-back occlusion order for 2D animation.
Bounding-box-guided decomposition (no PE)
Extracting overlapping foreground objects directly from normalized 0–999 xyxy bounding boxes.
This model is released under the MIT License.
mllm/model-00005-of-00007.safetensors 4.7 GiBmllm/model-00006-of-00007.safetensors 4.7 GiBmllm/model-00004-of-00007.safetensors 4.7 GiBmllm/model-00002-of-00007.safetensors 4.7 GiBmllm/model-00003-of-00007.safetensors 4.7 GiBmllm/model-00001-of-00007.safetensors 4.7 GiBconnector/model-00001-of-00002.safetensors 4.7 GiBmllm/model-00007-of-00007.safetensors 3.7 GiBtransformer/diffusion_pytorch_model-00001-of-00009.safetensors 2.8 GiBtransformer/diffusion_pytorch_model-00004-of-00009.safetensors 2.8 GiBtransformer/diffusion_pytorch_model-00002-of-00009.safetensors 2.8 GiBtransformer/diffusion_pytorch_model-00003-of-00009.safetensors 2.8 GiBtransformer/diffusion_pytorch_model-00005-of-00009.safetensors 2.7 GiBtransformer/diffusion_pytorch_model-00006-of-00009.safetensors 2.7 GiBtransformer/diffusion_pytorch_model-00007-of-00009.safetensors 2.7 GiBtransformer/diffusion_pytorch_model-00008-of-00009.safetensors 2.7 GiBtransformer/diffusion_pytorch_model-00009-of-00009.safetensors 1.1 GiBconnector/model-00002-of-00002.safetensors 1.1 GiBvae/diffusion_pytorch_model.safetensors 242 MiBmlp/model.safetensors 119 MiB