Qwen Image 2.1 Pro is Alibaba Qwen's higher-quality image generation and editing model, released 2026-10. It is the fidelity-focused tier of the Qwen Image 2.1 series, intended for use cases where output quality takes priority over cost or speed.
This model isn’t available on MirAPI yet, so the prices shown are the official list prices. Create an account to get notified when it goes live.
Modalities
inTextinImageoutImage
Price / 1M
— / —
Context
66K
Released
Oct 16, 2026
Capabilities
VisionStructured output
Parameters
Request parameters this model accepts through the API.
max_tokenspresence_penaltyresponse_formatseedtemperaturetop_p
Quick start
POST /v1/images/generations/import os from openai import OpenAI client = OpenAI( base_url="https://api.mirapi.ai/v1", # changed api_key=os.environ["MIRAPI_API_KEY"], # changed ) img = client.images.generate( model="", prompt="A red bicycle leaning on a white wall", n=1, size="1024x1024", ) # img.data[0].b64_json — or .url, depending on the model
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.mirapi.ai/v1", // changed apiKey: process.env.MIRAPI_API_KEY, // changed }); const img = await client.images.generate({ model: "", prompt: "A red bicycle leaning on a white wall", n: 1, size: "1024x1024", });
curl https://api.mirapi.ai/v1/images/generations/ \ -H "Authorization: Bearer $MIRAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "", "prompt": "A red bicycle leaning on a white wall", "n": 1, "size": "1024x1024" }'
Links
Wire Qwen Image 2.1 Pro into your product
Start free1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.