DeepInfra raises $107M Series B to scale the inference cloud — read the announcement
inclusionAI/
$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.

Prompt
text prompt
You need to log in to use this model
Log inSettings
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)
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
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]))
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
)
The OpenAI-compatible endpoint always uses the defaults for steps and guidance and a random seed; use the endpoint above to set them.
| Parameter | Default | Notes |
|---|---|---|
prompt | required | What to draw; put any text that must appear in quotes. |
aspect_ratio | 1:1 | 1:1, 16:9, 4:3 or 2:3 |
resolution | 2K | 2K or 1K; sizes below |
num_inference_steps | 12 | 1–50. The model is tuned for 12; more steps cost more and rarely look better. |
guidance_scale | 1.0 | 0–20. Keep 1.0 unless the image ignores part of the prompt. |
seed | random | Set it to reproduce an image. |
| Aspect ratio | 2K | 1K |
|---|---|---|
1:1 | 2048×2048 | 1024×1024 |
16:9 | 2560×1440 | 1280×720 |
4:3 | 2432×1824 | 1152×864 |
2:3 | 1664×2496 | 832×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.
© 2026 DeepInfra. All rights reserved.