Source: https://docs.sogni.ai/models/ming-image-0-2-design-layer/

# Ming Image 0.2 Design-Layer

Ming Image 0.2 Design-Layer takes one finished image and reconstructs it as a stack of full-canvas PNGs. In inclusionAI’s Christmas poster, the greeting, holly bow and ribbon tree each have their own layer. Hide the greeting to place new type over the same scene. [Inspect the six poster layers](https://www.sogni.ai/models/ming-image-0-2-design-layer#poster-demo).

## [#](https://docs.sogni.ai/models/ming-image-0-2-design-layer/#split-an-image-in-create)Split an image in Create

1.  Upload the original artwork in **Split into layers**, or choose the action from an existing image’s menu. [Open Split into layers](https://app.sogni.ai/create?transform=split-into-layers).
2.  Pick a mode below. Review your list from front to back and put the background last. It counts as one layer.
3.  Choose a resolution bucket and a layer count offered for that bucket. Check the quote before starting the render.

| Mode | What to supply |
| --- | --- |
| General (`general`) | Give a count and let Ming choose the parts, or describe each layer in an ordered list. Choose **Plan parts** for an editable list based on your image. Sogni covers the planning cost. The default count is six. A list sets the count to its length. If you also supply a count, the two must agree. |
| Box-guided (`boxes`) | Describe each foreground object and draw its box. You can leave the final background unboxed. In the API, each box uses integer `[x0, y0, x1, y1]` coordinates from 0 to 999, with the top-left corner first. Boxes guide the split. Each exported PNG still spans the full canvas. |

## [#](https://docs.sogni.ai/models/ming-image-0-2-design-layer/#resolution-and-layer-counts)Resolution and layer counts

| Bucket | When to use it | Christmas poster output | Six layers, Fast / Relaxed (Spark) |
| --- | --- | --- | --- |
| **1024 (default)** | Use this for lettering and fine edges. | 896 × 1088 | 27.04 / 13.52 |
| **512 (draft)** | Costs less and looks visibly softer at the same display size. | 448 × 544 | 5.94 / 2.97 |

The model chooses a canvas for the input aspect ratio. Every file in a job uses the same dimensions. The dimensions above apply to this portrait poster. Both buckets support 3–6 layers by count or 3–8 with a list or boxes. Use the counts shown in Create or read `mingLayerCounts` from `sogni.projects.getModelOptions(modelId)`. In SDK 5.96.0 and later, pass `{ forceRefresh: true }` as the second argument to refresh the model list and tiers.

See the quote for the bucket, final layer count and selected network. One image job covers the composite and all the layers.

## [#](https://docs.sogni.ai/models/ming-image-0-2-design-layer/#download-and-restack)Download and restack

The result opens on the reconstructed composite. Open **Layers** to inspect the stack, toggle visibility or download one PNG. **Download all** makes a ZIP locally with `composite.png` and numbered files in front-to-back order. If a download fails, the export identifies the missing layer so you can retry before saving a complete ZIP.

In the six-layer poster, `layer-01.png` is the greeting and `layer-06.png` is the background. In an editor, place the background at the bottom and the greeting at the top. Keep `composite.png` separate for comparison. Download the files you want to keep. Layer files expire with the other project assets after 48 hours.

## [#](https://docs.sogni.ai/models/ming-image-0-2-design-layer/#known-limitations)Known limitations

-   The model reconstructs raster artwork. To change a word, hide its image layer and typeset the replacement in your editor.
-   Foreground layers may retain faint alpha in clear areas, measured at 0–2 out of 255 on the poster. Check the edges against the background you intend to use.
-   The 512 draft loses fine detail. Zooming it to the size of a 1024 render makes the softness more apparent.

## [#](https://docs.sogni.ai/models/ming-image-0-2-design-layer/#developer-access)Developer access

Workers need Comfy Worker 1.0.302 or later, at least 24 GB of VRAM and 40 GB of system RAM.

Select `ming_image_02_design_layer_int8_convrot` for an image project. Pass the original as `startingImage` and its decomposition settings in `mingLayers`. For hosted tools, request `decompose_image` with the short model key `ming-image-design-layer`. [Project parameters and indexed downloads](https://docs.sogni.ai/api-reference/media-utilities/#split-an-image-into-layers).

Generate a new design from a text prompt with [Ming Image 0.2 Design](https://docs.sogni.ai/models/ming-image-0-2-design/), then run Design-Layer on the finished image. inclusionAI publishes the Design-Layer weights under the MIT license. [Model card](https://huggingface.co/inclusionAI/Ming-Image-0.2-Design-Layer).
