Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

Ming-Image-0.1-Design

inclusionAI/Ming-Image-0.1-Design

A 6B text-to-image model for UIs, infographics, posters, and other text-rich designs, with RGBA output and transparent backgrounds.

large language

inclusionAI’s Ming-Image-0.1-Design is a 6B-parameter text-to-image model built for UI mockups, infographics, posters, and other text-rich visual designs. It generates complete compositions at up to 2048 × 2048 resolution and supports RGBA output with transparent backgrounds, making it well suited for production-ready design assets.

Input

python
import base64
import os

import requests

model_id = "<your-model-id>"
url = (
    f"https://model-{model_id}.api.baseten.co"
    "/environments/production/predict"
)

response = requests.post(
    url,
    headers={
        "Authorization": f"Bearer {os.environ['BASETEN_API_KEY']}",
        "Content-Type": "application/json",
    },
    json={
        "prompt": (
            "A polished product-launch poster for a developer platform, "
            "bold typography, dark background, electric blue accents"
        ),
        "resolution": 2048,
        "num_inference_steps": 12,
        "guidance_scale": 1.0,
    },
    timeout=300,
)
response.raise_for_status()

result = response.json()
image_base64 = result["data"]

with open("ming-image.png", "wb") as image_file:
    image_file.write(base64.b64decode(image_base64))

print("Saved image to ming-image.png")