inclusionAI/Ming-Image
حول
Ming Image is a family of models for visual-design generation and editable layer decomposition. Ming-Image-0.2-Design and Ming-Image-0.2-Design-Layer are the latest 0.2 models, using the same inference code as the 0.1 releases.
التصميم والوسائطالنمو المقاس للنجوم
- خلال 24 ساعة
- +٢٥
- خلال 7 أيام
- +٨٢
- خلال 15 يومًا
- +٩٣
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلMing Image
Ming Image is a family of models for visual-design generation and editable layer decomposition. Ming-Image-0.2-Design and Ming-Image-0.2-Design-Layer are the latest 0.2 models, using the same inference code as the 0.1 releases.
| Model | Task | Params (DiT) | Weights | Blog | Skills | Demo |
|---|---|---|---|---|---|---|
| Ming-Image-0.2-Design | Visual-design generation | 6B | 🤗 Hugging Face 🧩 ModelScope |
Blog | Design · PPT | — |
| Ming-Image-0.2-Design-Layer | Editable layer decomposition | 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 |
Design models generate UI, infographics, posters, and text-rich compositions, including transparent-background images. Layer models decompose flattened designs into independently editable transparent layers; Ming-Image-0.2-Design-Layer adds 2D character-rigging decomposition and bounding-box-guided decomposition.
Leaderboard
| Model | Artificial Analysis leaderboard |
|---|---|
| Ming-Image-0.2-Design (Latest) |
#1 among open-weight models overall As of Nov 25, 2026 · AA-Image-T2I v2.1
|
| Ming-Image-0.1-Design |
#1 among open-weight models in UI/UX Design As of Sep 22, 2026
|
Gallery
Ming-Image-0.2-Design
Animated showcase · 4.13 MB · May take a moment to load · Open animation

E-commerce hero visuals
Fine material detail and clear product information.
Animated showcase · 2.79 MB · May take a moment to load · Open animation

Web design
Multi-section layouts and a cohesive visual style.
Animated showcase · 6.53 MB · May take a moment to load · Open animation

Spatial design
Harmonizing structure, light, and shadow in complex scenes.
Ming-Image-0.2-Design-Layer

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.
Ming-Image-0.1-Design and -Layer Models
These examples were generated with the 0.1 Design and Layer models.
Text-to-image

Transparent-background text-to-image

Layer decomposition



Use with skills
- Ling UI Design uses generated visual references and layer decomposition to help an agent build and visually check UI code from a prompt or screenshot.
- Image to Editable PPT helps an agent recreate one generated page or slide image as an editable PowerPoint slide, with text and simple shapes converted to native elements.
These are separate agent workflows; follow each skill's setup instructions for its dependencies and compatible model service.
Requirements
- Python 3.10 or newer;
- CUDA-capable PyTorch for full model inference;
- a local checkpoint directory or a Hugging Face Hub repository ID.
Install the runtime dependencies in a clean environment:
pip install -r requirements.txt
flash_attention_2 is optional. The CLI defaults to eager attention because
the LLM only implements eager and FlashAttention 2 attention classes; the
diffusion transformer always uses PyTorch SDPA internally. Selecting
--attn-implementation sdpa fails closed at load time.
Inference
The 0.2 and 0.1 releases share the same inference code and options.
The text-to-image examples below use inclusionAI/Ming-Image-0.2-Design, and
the layer-decomposition examples use inclusionAI/Ming-Image-0.2-Design-Layer;
substitute inclusionAI/Ming-Image-0.1-Design or
inclusionAI/Ming-Image-0.1-Design-Layer to run the earlier checkpoints.
The --model argument accepts either a local directory or an HF Hub repo ID.
Hub models are resolved to one immutable local snapshot before any component is
loaded. Use --revision to pin a branch, tag or commit. The examples use the
published Hub IDs; replace them with local checkpoint directories for offline
inference.
Sampling defaults and size inputs are task-specific:
| Task | Steps | CFG | Size input | Default / recommended |
|---|---|---|---|---|
| Text-to-image | 12 | 1.0 | --width + --height |
2048 × 2048 (default, 1:1); examples: 2560 × 1440 (16:9), 2432 × 1824 (4:3), 1664 × 2496 (2:3) |
| Layer decomposition | 12 | 2.0 | --resolution working bucket |
Input-image aspect ratio; 512 or 1024 working bucket |
Pass --steps or --cfg to override either value explicitly.
For text-to-image, pass --width and --height together (width × height).
The pairs above use existing 2048-level aspect-ratio buckets. Other positive
size pairs within a 1:4–4:1 ratio are accepted: inference uses the nearest
1024- or 2048-level internal size/aspect bucket and resizes the final image
to the requested dimensions if needed. Omitting both gives 2048 × 2048.
Legacy square text-to-image calls may still use --resolution; do not combine
it with --width/--height. For layer decomposition, --resolution remains a
working-size selector (512 or 1024), while the output preserves the input
image's aspect ratio.
The default and minimum validated deployment is one GPU with at least 80 GiB of memory, running in BF16. This configuration passes both model families end-to-end, and all demos below use it by default.
export CUDA_VISIBLE_DEVICES=0
Select --attn-implementation flash_attention_2 when FlashAttention 2 is
installed; the portable CLI default remains eager.
For both tasks, --prompt accepts either raw text or a path to a prompt file.
Use --validate-only to check the checkpoint contract and task combination
without loading model weights:
python infer.py --model inclusionAI/Ming-Image-0.2-Design --task text-to-image \
--prompt "A red circle on a white background" \
--width 2560 --height 1440 --validate-only
Text-to-image demo
Natural-language example (Ming-Image-0.2-Design model card):
python infer.py \
--model inclusionAI/Ming-Image-0.2-Design \
--task text-to-image \
--prompt "Landing page for a productivity app called Flow. Clean minimal design, white background, generous whitespace. Top navigation with the wordmark 'Flow' on the left and links Product, Pricing, Docs on the right. Centered hero with a bold headline 'Focus without the noise' and a gray subheading 'One calm workspace to plan, focus, and finish.' A single purple call-to-action button labeled 'Start free'. Below the hero, three feature cards with small icons, soft rounded corners and soft shadows. Card 1: title 'Plan your day', body text 'Turn scattered tasks into a clear, realistic plan.' Card 2: title 'Focus sessions', body text 'Start a distraction-free session and stay in flow.' Card 3: title 'See progress', body text 'Know what moved, what slipped, and what comes next.' Modern sans-serif typography. Keep every heading and body line short and legible. Render all text exactly as written. Do not invent additional copy." \
--width 2048 --height 2048 \
--output-dir outputs/flow
For better results, we recommend a Figma-style structured prompt and the corresponding prompt enhancer. The established example below renders one cabin across four seasons using the exact JSON prompt; the long prompt stays in its file.
python infer.py \
--model inclusionAI/Ming-Image-0.2-Design \
--task text-to-image \
--prompt assets/t2i_four_seasons_cabin_prompt.json \
--attn-implementation flash_attention_2 \
--width 2048 --height 2048 \
--output-dir outputs/t2i
Text-to-image prompt rewriting
An instruction-following VLM can turn a short caption into a precise,
layout-structured JSON description: Figma-style layers ordered back to front,
with exact coordinates, hierarchy, color specs, and every rendered string
quoted verbatim and owned exactly once. Unlike layer decomposition, the
text-to-image rewriter describes the complete requested canvas; set its
aspect_ratio to match the chosen width and height.
This rewrite is a pre-processing step outside infer.py. Prompt enhancement
(PE) can use Ling-3.0-flash-VL or qwen3.8-27B; run it first, then pass its
output to --prompt as raw text or via an asset file.
The released system prompt is stored in
assets/t2i_rewriter_system_prompt.txt
and reproduced below:
You are a senior visual designer and image-prompt engineer. Expand the user's request into one precise, high-resolution Figma-style caption. Return only one JSON object.
Use exactly two top-level keys. `canvas_settings` contains exactly `aspect_ratio`, `ambient_lighting`, and `image_style`. `layers` lists visible groups from background to topmost overlay. Every layer contains exactly `description`, `coordinates`, `hierarchy_and_relation`, and `color_specs`; `color_specs` is an array of hex colors.
`coordinates` MUST be one string, never an object or array, in exactly this form: `"cx: 0.500, cy: 0.500, w: 1.000, h: 1.000"`. Values are normalized; each bbox encloses its complete owned object and stays inside the canvas.
A layer is one selectable visible semantic group: background, full person, coherent object, panel, card, row, or text block. Prefer the fewest groups that preserve the layout. Keep people and objects intact. Never create invisible parents, guides, placeholders, empty layers, duplicate summaries, or multiple owners for one element.
Preserve every user-supplied rendered string character-for-character and as one contiguous string. Unless multiple visible copies are requested, it must occur exactly once across all `description` fields and zero times in `hierarchy_and_relation`. Quote it only where describing its visible rendering; refer to the related subject elsewhere with unquoted semantic wording. Enumerate intended copy, invent extra copy sparingly, and never hide content behind "other text", "remaining labels", or "etc."
Describe concrete composition, typography, materials, texture, lighting, pose, and camera treatment without literary filler. Use `hierarchy_and_relation` only for ownership, alignment, containment, stacking, and occlusion.
Infer structured layouts first. Use one complete layer per card and state its row and column. A compact secondary table may be one layer only if every header and cell is listed; otherwise use a visible shared frame when present, one complete header, and one complete layer per body row, binding values to columns and stating blanks. Enumerate sequences, schedules, spans, gaps, and vacant tracks in visual order. Do not mistake ordinary alignment for a table.
Silently verify schema, string coordinates, Z-order, exact-text counts, geometry, bbox validity, and completeness.
Transparent-background generation tip
To generate an image with an alpha channel, choose exactly one of the following fixed phrases and place it at the beginning of the prompt. Do not combine multiple prefixes.
带透明通道,4通道RGBA图像透明背景,alpha通道,无底图抠图素材,背景alpha=0孤立主体,透明PNG图层不要白底,不要棋盘格,只要透明通道RGBA, 4-channel, transparent backgroundisolated subject, alpha matte, no backgroundcutout PNG, alpha=0 outside the objecttransparent canvas, not white, not checkerboardproduction RGBA layer for compositing
Layer-decomposition demo
General design decomposition
This example separates a flattened Christmas poster into six transparent RGBA layers. See the source input, the exact six-layer specification, and the decomposition preview.
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
Character-rigging decomposition (0.2)
Ming-Image-0.2-Design-Layer supports decomposing a 2D character illustration
into editable semantic body and garment parts (front/back hair, facial
features, head base, arms, clothing, legs, footwear, and background) for
downstream rigging and animation. See the
source input, the
11-layer rigging specification, and
the decomposition preview.
Generate the per-layer plan with the
character-rigging prompt rewriter, then
run:
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
Bounding-box-guided decomposition (0.2)
Ming-Image-0.2-Design-Layer also accepts explicit target bounding boxes
directly in the prompt—no prompt rewriting is required. Coordinates use
normalized 0–999 integers on a 1000×1000 scale in xyxy order
([x1, y1, x2, y2]), ordered front to back with The remaining background.
as the final layer. See the
source input, the
six-layer bounding-box specification,
and the decomposition preview:
Decompose this image into 6 layers with the following specifications:
Number of layers: 6
Layer 1: The foreground element at bbox [491, 546, 624, 813] (normalized 0-999 coordinates on a 1000x1000 scale, xyxy); target: The cat figurine.
Layer 2: The foreground element at bbox [292, 548, 383, 756] (normalized 0-999 coordinates on a 1000x1000 scale, xyxy); target: The vase.
Layer 3: The foreground element at bbox [612, 613, 926, 820] (normalized 0-999 coordinates on a 1000x1000 scale, xyxy); target: The books.
Layer 4: The foreground element at bbox [402, 162, 697, 725] (normalized 0-999 coordinates on a 1000x1000 scale, xyxy); target: The framed picture.
Layer 5: The foreground element at bbox [202, 360, 394, 719] (normalized 0-999 coordinates on a 1000x1000 scale, xyxy); target: The table lamp.
Layer 6: The remaining background.
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
The layer count is parsed from a "Decompose this image into N layers" or
"Number of layers: N" specification in the prompt. When --prompt is omitted,
--num-layers N generates the default request Decompose this image into N layers.
The layer model returns the requested layers plus one leading
composite/full-canvas image. The CLI skips that first image and saves the
standalone layers as layer_01.png, layer_02.png, and so on.
Layer-decomposition prompt rewriting
Layer decomposition is driven by an explicit per-layer specification, not a
free-form caption. For general design decomposition and character-rigging
decomposition, the reference pipeline first runs a prompt enhancer—an
instruction-following VLM (Ling-3.2-flash or qwen3.8-27B)—as a
pre-processing step outside infer.py, then passes its output to --prompt
(as raw text or via an asset file). Bounding-box-guided decomposition uses the
fixed template above directly and does not require prompt rewriting.
General design prompt rewriting
For flattened designs, the enhancer rewrites the user's rough layer plan into a precise decomposition—concrete colors/positions/shapes per layer, real text quoted verbatim on its own front layer, a text-supporting card/panel/badge/banner as its own layer directly behind the text, the main subject as its own layer, and the background last absorbing the remaining supports and surfaces:
GUIDED_PROMPT = """You are a graphic-design layer-decomposition expert. You are given ONE flattened design image and a ROUGH layer plan from the user. Rewrite the rough plan into a precise layer decomposition that matches the image.
User's rough layer plan:
{spec}
Guidelines:
- Follow the user's plan EXACTLY: use the same number of layers and the same per-layer role/meaning, in the same order. Layer 1 is the FRONT-most (topmost); the last layer is the background/environment. Stacking the layers back-to-front must reproduce the image.
- For each layer, write a concrete one-or-two-sentence description grounded in the image: real colors, positions and shapes.
- TEXT goes in the front layer(s); quote any real text VERBATIM in double quotes and keep its original language (do not translate).
- A text-supporting CARD / PANEL / BADGE / BANNER is its OWN layer directly behind the text — do not merge it into the text layer or into the background.
- The MAIN SUBJECT (hero product/photo/illustration) is its own layer.
- The BACKGROUND/ENVIRONMENT is the LAST layer and ABSORBS supporting props and surfaces under the subject (tables, boards, plates, floors, shadows, gradients, patterns) — these are NOT separate layers.
Write the description DIRECTLY about the content; do NOT mention "image" or narrate your reasoning. Output EXACTLY in this format and NOTHING else (N = the number of layers in the user's plan):
Decompose this image into N layers with the following specifications:
Number of layers: N
Layer 1: <front-most layer>
Layer 2: <...>
Layer N: <background/environment layer>"""
Character-rigging prompt rewriting
For 2D character illustrations, pass the input image directly to the VLM with
the system prompt in
assets/layer_rigging_rewriter_system_prompt.txt.
It inspects only visible parts, groups each visible leg together with its
footwear, and orders all layers front to back by actual occlusion.
Show character-rigging system prompt
You are a 2D character rigging and semantic layer-decomposition expert. Inspect ONE flattened character illustration and propose editable RGBA layers that preserve its actual visible content, pose and overlaps.
Visible-only part selection:
- Choose a VARIABLE number of NONEMPTY character layers plus ONE mandatory full-canvas Background layer. N includes Background. There is no target count and no fixed inventory to fill.
- Use the See-through semantic categories as a checklist, not a quota: front hair, back hair, headwear, face base, irides, eyebrow, eyewhite, eyelash, eyewear, ears, earwear, nose, mouth, neck, neckwear, topwear, arms and hands, bottomwear, legs with legwear and footwear, tail, wings, objects. Only describe categories supported by visible source content. Never mention an absent category in the final decomposition, even to say "none", "empty", "if present", or "transparent".
- Preserve useful facial controls. For a full-body illustration with a small face, use ONE Eyes layer containing both eyes with their irises, pupils, highlights, sclera, lashes and eyelids. Only split eye components when the source is a sufficiently large face or portrait where the components are clearly distinct editing regions. Keep identifiable eyebrows and mouth separate. Add Nose ONLY for a clearly visible drawn nose shape or distinct nose line; subtle facial shading, a presumed nose location or a barely discernible dot is not enough to create a Nose layer. Never reserve slots for uncertain details.
- Use "Head (Source Base)" for underlying face skin, outline and fill without the extracted facial features, hair or accessories. Do not output an extra full head or full character composite. Separate visibly distinct ears when useful; do not invent hidden ears.
- Separate actual front and back hair where depth requires it. Give actual headwear, eyewear, earwear, neckwear, tails, wings and held objects their own layers when visibly distinct. Never add a hat, glasses, necktie, tail or wings that the input does not contain. Ordinary shirt necklines stay with the shirt.
- Keep held objects intact and separate from gripping hands. For arm animation, follow the See-through handwear grouping: a visible arm unit may include its sleeve, cuff, glove and grouped hand fingers. Use Arms, Sleeves and Hands for clothed arm units and describe their real sleeves and hands; use Arms and Hands for bare arm units. Do not describe hidden bare skin under sleeves. Keep selected sleeves out of the torso garment description to avoid duplicate ownership. Separate a hand alone only when actual depth or a useful clear editing boundary requires it. Never pull hidden hands forward.
- Group each continuous garment as one Clothing layer: a kimono, robe, long dress or overalls is one garment even if it spans the torso and legs. Keep its collar, attached obi/sash, patterns, hems and lining together when they can share one depth. Include sleeves only when they were not selected as separate arm controls. Do not split a single robe into Topwear and Bottomwear merely at the waist. Use separate Topwear and Bottomwear for visibly separate garments such as a shirt and shorts. Separate an open coat from the shirt beneath it. Split a continuous garment only when an actual occlusion requires it. Place garment panels that cover legs in front of those legs; do not expose hidden thighs over the garment.
Mandatory leg grouping decision:
- Before choosing a leg layer, trace the visible contours down through BOTH ankles and shoes. Check for T-junctions: a contour ending against the other leg/ankle/shoe means an occlusion, even if most of that limb is hidden by a long garment. Two visible shoes do not prove that the legs are side by side without overlap.
- A combined Both layer is allowed only after verifying that the two visible leg-and-foot units are mutually unoccluded. A small exposed rear ankle or rear shoe still counts as a visible rear limb unit: keep that visible fragment in its own Far layer when a front leg/foot occludes it, without inventing its hidden upper leg. Do not let clothing hide the evidence at the ankles.
- Inspect the actual visible outlines of the two complete leg units, including socks and footwear. If BOTH units are visible and their silhouettes do NOT overlap or occlude one another, group the two legs together. Do not split them just because there are two limbs, they have different colors, the pose is three-quarter, or they merely touch at an edge.
- If one leg unit crosses in front of or visibly occludes the other, separate the overlapping legs into Near and Far layers, following the observed front-to-back order. If side labels are more appropriate, explicitly say "on the viewer's left/right" and identify the relevant source position. Never guess anatomical left/right from the character's perspective.
- If only one leg is visible, describe only that visible leg. Do not add a fully hidden second leg. A skirt covering both leg tops is not by itself evidence that the legs overlap each other.
Leg and footwear grouping:
- Keep each visible leg together with its foot and existing sock, stocking and shoe as one unit. If the two leg units do not overlap, put BOTH units in ONE "Legs and Footwear (Both)" layer. If they overlap, use separate near/far leg-and-footwear layers in the actual depth order. Do not add separate Feet or Footwear layers.
Depth, source fidelity and wording:
- Order all layers FRONT to BACK: Layer 1 is topmost; composing N through 1 must reproduce the visible scene. Follow actual occlusion, not the checklist order. If a semantic group crosses another group in depth, use only the necessary depth parts, numbering Depth Part 1 as that category's backmost part.
- Describe each selected layer concretely in English: semantic role, then ONE short sentence identifying its visible content, principal color and position. Prefer approximately 8–25 words per layer; avoid long inventories of decoration, imagined material details or anatomy. Include enough information to distinguish near/far parts. Preserve real lettering verbatim. Do not invent attachment IDs, new poses, unseen limbs or alternate expressions.
- Write positive visual descriptions only. For example, describe bare limbs as "Arms and Hands. Bare skin arms ..."; do not add a handwear-presence status to that role or description.
- Facial features must be above Head (Source Base): eyebrows, eyes/irides/eyewhites/eyelashes, nose and mouth all need SMALLER layer indices than the underlying face base. When eye components are separate, lashes sit above irides, and irides above eyewhites. Never put the opaque face base in front of its features.
- If a clearly visible neck skin patch is distinct from the face and shirt, give it a Neck layer; otherwise assign it explicitly to the adjacent skin base without inventing an invisible neck.
- Give a visibly separate speech bubble or drawn scene symbol its own Scene Graphics layer behind the character when appropriate. Do not attach background graphics or ground shadows to hair or limbs. Tiny signatures may stay on Background.
- Audit every visible ankle before finalizing: each visible stocking, ankle or foot fragment must be assigned to its near/far leg-and-footwear layer, even if only a small rear fragment is exposed. Do not misclassify a visible rear ankle as garment lining or drop it. Never create fully hidden limb segments.
- Each visible component must be assigned exactly once. Give complete but concise visual descriptions; do not use conditional generic category definitions in the output.
- Reserve the LAST layer for Background, even for a plain backdrop. Explicitly name its observed color (black, white, pink, etc.), texture, ground shadows and existing non-character marks. Do not replace the source background with a training-set color. Keep non-character symbols on Background unless independently layered in the source scene.
- Output only the final decomposition. No reasoning, Markdown fences, JSON, introduction, closing remarks, or <image> tokens. Use consecutive Layer 1 through Layer N lines and exactly N nonempty descriptions. The last line must begin "Layer N: Background." with N replaced by its actual number. Verify the count and the leg overlap/footwear grouping before replying.
Output EXACTLY this structure:
Decompose this image into N layers with the following specifications:
Number of layers: N
Layer 1: <front-most semantic role and concrete visible description>
Layer 2: <next semantic role and concrete visible description>
Layer N: Background. <actual background color and visible background content>
Deployment
We recommend the following inference frameworks to serve the model:
- vLLM-Omni: see the recipes and installation guide.
Verification
Fast contract tests do not require model weights:
python -m unittest -v tests.test_inference_profile
python -m unittest -v tests.test_padding
Full inference is a GPU smoke test and requires both checkpoint families. At a minimum, validate the four-seasons-cabin text-to-image case and the six-layer Christmas poster decomposition case with fixed seeds. The smoke test defaults to the single-GPU placement and FlashAttention 2 configuration shown above:
export CUDA_VISIBLE_DEVICES=0
export MING_GENERATION_MODEL=inclusionAI/Ming-Image-0.2-Design
export MING_LAYER_MODEL=inclusionAI/Ming-Image-0.2-Design-Layer
export MING_SMOKE_OUTPUT_DIR=/path/to/persistent/results
python -m unittest -v tests.test_inference_smoke.InferenceSmokeTest.test_two_step_showcase_smoke
Checkpoint contract
Each checkpoint declares its runtime capability in transformer/config.json:
| Family | alignment_padding_mode |
multi_frame_output |
|---|---|---|
| Text-to-image | "zero_masked" |
false |
| Layer decomposition | "learned" |
true |
Both fields must be present together, and the VAE component must be the
4-channel AutoencoderKLQwenImage (argmax reference encoding). Missing,
partial, or unknown values are errors; the loader never infers padding
behavior from a directory name or silently falls back to another mode.
Legacy packages that predate the component metadata are loaded strictly from
a root inference_profile.json during the compatibility window; when both
exist, the component configs are authoritative and any disagreement with the
legacy file is an error.
Use with DiffSynth-Studio
DiffSynth-Studio supports standard and low-VRAM inference for Ming-Image-0.2-Design, as well as full and LoRA fine-tuning. See the Ming-Image examples for inference and training scripts.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…

