DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

inclusionAI/

Ming-Image-0.2-Design

$0.01

x (width / 1024) x (height / 1024) x (iters / 12)

Open-weight text-to-image model from inclusionAI built for visual design: UI and web drafts, posters, e-commerce hero images and spatial renders, with text rendered exactly as written. #1 open-weight model on Artificial Analysis's text-to-image leaderboard (Nov 2026). 1K images in ~2 s, 2K in 7–9 s. MIT-licensed.

Public
Zero retention
ProjectLicense
inclusionAI/Ming-Image-0.2-Design cover image
api

Input

Prompt

text prompt

You need to log in to use this model

Log in

Settings

MingAspectRatio

output aspect ratio; with resolution, selects a model-supported size (2K: 1:1=2048x2048, 16:9=2560x1440, 4:3=2432x1824, 2:3=1664x2496; 1K: 1:1=1024x1024, 16:9=1280x720, 4:3=1152x864, 2:3=832x1248)

MingResolution

output size tier: 2K (~4 MP, best for small text) or 1K (~1 MP, faster and cheaper)

Num Inference Steps

number of denoising steps (Default: 12, 1 ≤ num_inference_steps ≤ 50)

Guidance Scale

classifier-free guidance, higher means follow prompt more closely (Default: 1, 0 ≤ guidance_scale ≤ 20)

Seed

random seed, empty means random (Default: empty, 0 ≤ seed < 4294967296)

Output

generated image #0
Model Information

Ming-Image-0.2-Design

Ming-Image-0.2-Design is an open-weight text-to-image model from inclusionAI, built for visual design: landing pages and UI drafts, posters, e-commerce hero images, and interior and spatial renderings. It renders legible text exactly as you write it in the prompt, and keeps layout, lighting and composition coherent in busy scenes. As of November 25, 2026 it ranks first among open-weight models on the Artificial Analysis text-to-image leaderboard.

Images come in two sizes: 2K (about 4 megapixels, 7–9 seconds) for the finest text and detail, and 1K (about 1 megapixel, about 2 seconds) for drafts and fast iteration.

Project: Ming-Image-0.2-Design on Hugging Face · inclusionAI · MIT license

What you can build with it

  • UI and web design drafts. Landing pages, app screens and multi-section layouts with readable headings, buttons and body copy.
  • Posters and marketing graphics. Typography-led layouts where every word must be spelled right.
  • E-commerce hero images. Product shots with fine material detail and clear product text.
  • Spatial design. Interiors and architecture with consistent structure, light and shadow.

Quick start

import base64
import requests

resp = requests.post(
    "https://api.deepinfra.com/v1/inference/inclusionAI/Ming-Image-0.2-Design",
    headers={"Authorization": "Bearer $DEEPINFRA_TOKEN"},
    json={
        # required: what to draw, with any text in quotes
        "prompt": (
            "Travel poster for Lisbon. Huge serif headline 'LISBOA' at the top, a yellow tram climbing a cobbled "
            "street at sunset, and the line 'Visit Portugal 1958' at the bottom. Render all text exactly as written."
        ),
        "aspect_ratio": "2:3",       # optional, default "1:1"; one of "1:1", "16:9", "4:3", "2:3"
        "resolution": "2K",          # optional, default "2K"; "2K" (~4 MP) or "1K" (~1 MP, faster, cheaper)
        "num_inference_steps": 12,   # optional, default 12; 1-50
        "guidance_scale": 1.0,       # optional, default 1.0; 0-20
        "seed": 42,                  # optional, default random; set it to reproduce an image
    },
)
resp.raise_for_status()
image_data_url = resp.json()["images"][0]  # "data:image/png;base64,..."
with open("poster.png", "wb") as f:
    f.write(base64.b64decode(image_data_url.split(",", 1)[1]))
copy

The model is also available through the OpenAI-compatible images API. Pass one of the sizes listed under Parameters as size:

from openai import OpenAI

client = OpenAI(api_key="$DEEPINFRA_TOKEN", base_url="https://api.deepinfra.com/v1/openai")
result = client.images.generate(
    model="inclusionAI/Ming-Image-0.2-Design",  # required
    prompt="Landing page for a productivity app called Flow, with the headline 'Focus without the noise'.",  # required
    size="2560x1440",  # optional, default "1024x1024" (1K); one of the eight sizes under Parameters
    n=1,               # optional, default 1; the model returns one image per request
)
copy

The OpenAI-compatible endpoint always uses the defaults for steps and guidance and a random seed; use the endpoint above to set them.

Parameters

ParameterDefaultNotes
promptrequiredWhat to draw; put any text that must appear in quotes.
aspect_ratio1:11:1, 16:9, 4:3 or 2:3
resolution2K2K or 1K; sizes below
num_inference_steps121–50. The model is tuned for 12; more steps cost more and rarely look better.
guidance_scale1.00–20. Keep 1.0 unless the image ignores part of the prompt.
seedrandomSet it to reproduce an image.
Aspect ratio2K1K
1:12048×20481024×1024
16:92560×14401280×720
4:32432×18241152×864
2:31664×2496832×1248

Images come back as PNG. On the OpenAI-compatible endpoint, size must be one of the eight sizes above; any other value returns a 2048×2048 image.

Prompting tips

  • Put every word that must appear in the image in quotes, and add "Render all text exactly as written. Do not invent additional copy."
  • Describe the layout top to bottom: navigation, headline, subheading, buttons, then cards or sections.
  • Keep headings and body lines short; long paragraphs are where small text starts to blur.
  • For complex scenes, a structured prompt works best: inclusionAI's prompt-rewriting guide shows how to expand a short idea with an LLM first.