Ming-Image-0.2-Design

inclusionAI/Ming-Image-0.2-Design

作者
inclusionAI
任务
图像生成
下载量
1,300
点赞数
339
趋势分
105
许可证
mit
收录时间
2026/11/27

license: mit library_name: custom pipeline_tag: text-to-image inference: false tags:

  • text-to-image
  • image-generation
  • graphic-design
  • text-rendering
  • rgba

Ming-Image-0.2-Design

🧩 ModelScope · 🤗 Hugging Face 🎨 Design Skill · 📊 PPT Skill

This release upgrades and open-sources Ming-Image-0.2-Design. The new version improves complex composition, lighting, and text rendering, and can be used to create e-commerce hero images, UI design drafts, and spatial renderings. The previous-generation layer decomposition model, Ming-Image-0.1-Design-Layer, already separates design images into transparent layers. This upgrade further refines decomposition down to character parts, providing assets for downstream editing and animation. For web design, Ming-Image-0.2-Design works with Ling-3.2-flash to turn design concepts into interactive pages.

Leaderboard

Preliminary evaluation results from November 23 show that Ming ranks first among open-weight models on the overall text-to-image leaderboard.

Quick Start

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

Natural-language example (DeepInfra):

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 its prompt enhancer. The four-seasons cabin uses the structured prompt file:

python infer.py \
  --model inclusionAI/Ming-Image-0.2-Design \
  --task text-to-image \
  --prompt assets/t2i_four_seasons_cabin_prompt.json \
  --width 2048 --height 2048 \
  --output-dir outputs/t2i

Prompt enhancement (PE) can use Ling-3.0-flash-VL or qwen3.8-27B; see text-to-image prompt rewriting.

Deployment

We recommend the following inference frameworks to serve the model:

Recommended settings

  • Size (width × height): 2048 × 2048 by default; 2K-level examples are 2560 × 1440 (16:9), 2432 × 1824 (4:3), and 1664 × 2496 (2:3). Use 1024 × 1024 for faster square generation.
  • Sampling steps: 12.
  • CFG scale: 1.0.
  • Precision: BF16.
  • Hardware: one CUDA GPU with 80 GiB VRAM (validated configuration).

Pass --width and --height together. The code selects an internal 1024- or 2048-level aspect-ratio bucket; arbitrary requested dimensions may receive a final resize. The older square --resolution option remains compatible.

Gallery

Ming-Image-0.2-Design

License

This model is released under the MIT License.

内容来源:Hugging Face 模型卡

在 Hugging Face 查看