Update Ming-Image-0.2-Design-Layer model card and gallery assets
Browse filesFiles changed (5)
36 unmodified lines37383936 unmodified linesassets/gallery.webp filter=lfs diff=lfs merge=lfs -textassets/performance.webp filter=lfs diff=lfs merge=lfs -textmllm/tokenizer.json filter=lfs diff=lfs merge=lfs -text36 unmodified lines37383940414236 unmodified linesassets/gallery.webp filter=lfs diff=lfs merge=lfs -textassets/performance.webp filter=lfs diff=lfs merge=lfs -textmllm/tokenizer.json filter=lfs diff=lfs merge=lfs -textassets/ming-image-0.2-design-layer-poster.webp filter=lfs diff=lfs merge=lfs -textassets/ming-image-0.2-design-layer-rigging.webp filter=lfs diff=lfs merge=lfs -textassets/ming-image-0.2-design-layer-bbox.webp filter=lfs diff=lfs merge=lfs -text
7 unmodified lines89101112131415161718192021224 unmodified lines272829303132333435363738394041424344454647485 unmodified lines54555657585960612 unmodified lines6465666768697071727374757677787980818283848586878889909192939495967 unmodified lines- layer-decomposition- rgba- graphic-design---# Ming-Image-0.1-Design-Layer[🧩 ModelScope](https://www.modelscope.cn/models/inclusionAI/Ming-Image-0.1-Design-Layer) · [🤗 Hugging Face](https://huggingface.co/inclusionAI/Ming-Image-0.1-Design-Layer) · [📄 Blog](https://mp.weixin.qq.com/s/VGdtxfM8kbHIQJw50VD_Sw) · [🖥️ Demo](https://huggingface.co/spaces/Xiaolong-Wang/Ming-Image-0.1-Design-Layer)<br>[🎨 Design Skill](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/ling-ui-design) · [📊 PPT Skill](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/image-to-editable-ppt)Ming-Image-0.1-Design-Layer decomposes a flattened design image into arequested number of RGBA layers using an image and a layer plan.## Quick Start4 unmodified linesgit clone https://github.com/inclusionAI/Ming-Imagecd Ming-Imagepip install -r requirements.txtpython infer.py \--model inclusionAI/Ming-Image-0.1-Design-Layer \--task layer-decompose \--input-image assets/layer_samples/card_making_input.png \--prompt assets/layer_samples/card_making_prompt.txt \--attn-implementation flash_attention_2 \--resolution 1024 \--output-dir outputs/layers```This runs the released six-layer card-making example. See the full[layer-decomposition demo](https://github.com/inclusionAI/Ming-Image#layer-decomposition-demo)for the output structure and layer-count behavior.Prompt enhancement (PE) can use `Ling-3.0-flash-VL` or `qwen3.8-27B`; see[layer-decomposition prompt rewriting](https://github.com/inclusionAI/Ming-Image#layer-decomposition-prompt-rewriting).## Deployment5 unmodified lines## Recommended settings- Working-resolution bucket: **1024** (recommended), or **512** for fasterlayer decomposition. The output preserves the input image's aspect ratio.- Sampling steps: **12**.- CFG scale: **2.0**.- Precision: **BF16**.2 unmodified linesProvide `--input-image` plus either a detailed layer specification through`--prompt`, or omit `--prompt` and set `--num-layers N` to create the defaultrequest. When `--prompt` is supplied, the layer count declared in that promptcontrols the output count. The standalone outputs are saved as RGBA PNG files.## Gallery<p align="center"><img src="./assets/showcase.webp" width="100%" alt="Ming-Image-0.1-Design-Layer decomposition example"></p>The example shows the input design, six decomposed layers, and the recomposedresult.<p align="center"><img src="./assets/gallery.webp" width="100%" alt="Ming-Image-0.1-Design-Layer gallery"></p>The gallery shows additional flattened designs, their transparent layers, andthe corresponding recomposed results.## Performance<p align="center"><img src="./assets/performance.webp" width="100%" alt="Layer-decomposition results on the Crello test set"></p>The table reports quantitative layer-decomposition results on the Crello testset; lower RGB L1 and higher Alpha soft IoU are better.## LicenseThis model is released under the [MIT License](./LICENSE).7 unmodified lines891011121314151617181920212223242526272829303132334 unmodified lines3839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293945 unmodified lines1001011021031041051061072 unmodified lines1101111121131141151161171181191201211221231241251261271281291301311321331341351361377 unmodified lines- layer-decomposition- rgba- graphic-design- character-rigging---# Ming-Image-0.2-Design-Layer**Ming-Image-0.2-Design-Layer** upgrades editable RGBA layer decomposition fromMing-Image-0.1-Design-Layer with two major new capabilities: **2Dcharacter-rigging decomposition** (separating character illustrations intosemantic, occlusion-ordered body and garment parts for downstream editing andanimation) and **bounding-box-guided decomposition** (extracting specifiedforeground elements directly from normalized `xyxy` boxes without promptrewriting). It uses the same inference code and sampling settings as the 0.1release.| Model | Task | Params (DiT) | Weights | Blog | Skills | Demo || --- | --- | --- | --- | --- | --- | --- || **Ming-Image-0.2-Design-Layer** | **Editable layer decomposition** | **6B** | [🤗 Hugging Face](https://huggingface.co/inclusionAI/Ming-Image-0.2-Design-Layer)<br>[🧩 ModelScope](https://www.modelscope.cn/models/inclusionAI/Ming-Image-0.2-Design-Layer) | [Blog](https://mp.weixin.qq.com/s/fOt8GVj06-r3Srjf3-2fTg) | [Design](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/ling-ui-design) · [PPT](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/image-to-editable-ppt) | — || Ming-Image-0.2-Design | Visual-design generation | 6B | [🤗 Hugging Face](https://huggingface.co/inclusionAI/Ming-Image-0.2-Design)<br>[🧩 ModelScope](https://www.modelscope.cn/models/inclusionAI/Ming-Image-0.2-Design) | [Blog](https://mp.weixin.qq.com/s/fOt8GVj06-r3Srjf3-2fTg) | [Design](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/ling-ui-design) · [PPT](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/image-to-editable-ppt) | — || Ming-Image-0.1-Design | Visual-design generation | 6B | [🤗 Hugging Face](https://huggingface.co/inclusionAI/Ming-Image-0.1-Design)<br>[🧩 ModelScope](https://www.modelscope.cn/models/inclusionAI/Ming-Image-0.1-Design) | [Blog](https://mp.weixin.qq.com/s/VGdtxfM8kbHIQJw50VD_Sw) | [Design](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/ling-ui-design) · [PPT](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/image-to-editable-ppt) | [Try it](https://huggingface.co/spaces/hugging-apps/ming-image-0-1-design-demo) || Ming-Image-0.1-Design-Layer | Editable layer decomposition | 6B | [🤗 Hugging Face](https://huggingface.co/inclusionAI/Ming-Image-0.1-Design-Layer)<br>[🧩 ModelScope](https://www.modelscope.cn/models/inclusionAI/Ming-Image-0.1-Design-Layer) | [Blog](https://mp.weixin.qq.com/s/VGdtxfM8kbHIQJw50VD_Sw) | [Design](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/ling-ui-design) · [PPT](https://github.com/inclusionAI/ling-cookbook/tree/main/resources/recommended-skills/image-to-editable-ppt) | [Try it](https://huggingface.co/spaces/Xiaolong-Wang/Ming-Image-0.1-Design-Layer) |## Quick Start4 unmodified linesgit clone https://github.com/inclusionAI/Ming-Imagecd Ming-Imagepip install -r requirements.txt```### 1. General design decomposition```bashpython 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```### 2. Character-rigging decompositionGenerate a semantic part plan with the[character-rigging prompt rewriter](https://github.com/inclusionAI/Ming-Image#character-rigging-prompt-rewriting),then decompose into editable RGBA parts:```bashpython 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```### 3. Bounding-box-guided decompositionSpecify target boxes directly in normalized `0–999` `xyxy` coordinates on a`1000×1000` scale—no prompt rewriting is required (see[`bbox_prompt.txt`](https://github.com/inclusionAI/Ming-Image/blob/main/assets/layer_samples/bbox_prompt.txt)):```bashpython 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](https://github.com/inclusionAI/Ming-Image#layer-decomposition-prompt-rewriting).## Deployment5 unmodified lines## Recommended settings- Working-resolution bucket: **512** or **1024**. The output preserves the inputimage's aspect ratio.- Sampling steps: **12**.- CFG scale: **2.0**.- Precision: **BF16**.2 unmodified linesProvide `--input-image` plus either a detailed layer specification through`--prompt`, or omit `--prompt` and set `--num-layers N` to create the defaultrequest. When `--prompt` is supplied, the layer count declared in that promptcontrols the output count. Standalone outputs are saved as RGBA PNG files.## Gallery<p align="center"><a href="assets/ming-image-0.2-design-layer-poster.webp"><img src="assets/ming-image-0.2-design-layer-poster.webp" width="75%" alt="Ming-Image-0.2-Design-Layer general graphic-design layer decomposition showcase"></a><br><strong>General design decomposition</strong><br>Decomposing editorial posters, e-commerce visuals, architectural graphics, and structured layouts into clean, independently editable RGBA layers.</p><p align="center"><a href="assets/ming-image-0.2-design-layer-rigging.webp"><img src="assets/ming-image-0.2-design-layer-rigging.webp" width="75%" alt="Ming-Image-0.2-Design-Layer 2D character-rigging decomposition showcase"></a><br><strong>Character-rigging decomposition</strong><br>Separating headwear, hair, eyewear, facial features, limbs, garments, and background in front-to-back occlusion order for 2D animation.</p><p align="center"><a href="assets/ming-image-0.2-design-layer-bbox.webp"><img src="assets/ming-image-0.2-design-layer-bbox.webp" width="75%" alt="Ming-Image-0.2-Design-Layer bounding-box-guided decomposition showcase"></a><br><strong>Bounding-box-guided decomposition (no PE)</strong><br>Extracting overlapping foreground objects directly from normalized <code>0–999</code> <code>xyxy</code> bounding boxes.</p>## LicenseThis model is released under the [MIT License](./LICENSE).
.gitattributes+3
README.md+71-30
assets/performance.webp → assets/ming-image-0.2-design-layer-bbox.webpRenamed

Large File Pointer Details
- SHA256: b5a14d246ba3e1f3f9e22aa19a429094408e17f3f8e2b34330ef56b19b5ffa8a
- Pointer size: 131 Bytes
- Size of remote file: 105 kB

Large File Pointer Details
- SHA256: 8931bfa93b701b30572d78bcab38eaa3c44c361018278ed52b21a6eb596f508c
- Pointer size: 131 Bytes
- Size of remote file: 360 kB
assets/showcase.webp → assets/ming-image-0.2-design-layer-poster.webpRenamed

Large File Pointer Details
- SHA256: a5e243217323e4233e6c7fd427814794739e0d3de44b0dbdcb1c55ca00399c1b
- Pointer size: 131 Bytes
- Size of remote file: 807 kB

Large File Pointer Details
- SHA256: 3e4aac3dfc3717e366fe085c584339fc0c90e84342c503e0020d26091a626d8f
- Pointer size: 131 Bytes
- Size of remote file: 628 kB
assets/gallery.webp → assets/ming-image-0.2-design-layer-rigging.webpRenamed

Large File Pointer Details
- SHA256: 6bb8100d73e84137990da6fe84d6336fd1f425c3e95a7963f0783f6cefc38417
- Pointer size: 132 Bytes
- Size of remote file: 3.71 MB

Large File Pointer Details
- SHA256: 70a3289c51790fb216d6b5986e92352f0e067e65184b1b3210fc1c28803958ec
- Pointer size: 131 Bytes
- Size of remote file: 217 kB