Text to image
Elo · text-to-image arena
Custom pricing for production workloads
General-purpose image generation model with multiple artistic styles and strong complex text rendering.
It excels at creative content generation across diverse visual styles and scenarios, providing users with an intuitive text-to-image synthesis experience.
alibaba/qwen-imagePOST https://api.aimlapi.com/v1/images/generationsQwen-Image by Alibaba Cloud is a leading open-source image processing high-quality image generation with efficient megapixel-based pricing. It provides scalable, cost-effective solutions for diverse image-centric tasks including creative content generation, visual data analytics, and image-based automation workflows. Qwen-Image supports advanced visual reasoning, and flexibility for commercial and research use under the Apache 2.0 license, making it ideal for multimedia applications, marketing tech, and scientific imaging.
Vs GPT-4o: Qwen-Image outperforms GPT-4o in rendering and accurately placing multi-line text, especially in Chinese, while providing free or more affordable usage. In contrast, GPT-4o offers broader capabilities and integration with the ChatGPT ecosystem but is approximately twice as expensive
Vs Seedream 3.0: Both excel in handling Chinese and English text, yet Qwen-Image stands out with open-source accessibility and a better price point. Seedream 3.0 provides faster generation speeds and stable commercial support
Vs Midjourney: Qwen-Image achieves comparable quality in prompt fidelity and text rendering while remaining open and more affordable. Midjourney continues to be a commercial favorite for creative projects with fast generation speeds and rich visual variety but at a higher cost.
Qwen-Image offers excellent price-performance balance but may lag behind some proprietary solutions in ultra-high-definition and niche domain-specific enhancements. Processing speed and output quality may vary depending on megapixel load and task complexity.
Human-preference results for Qwen Image in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.
Elo · text-to-image arena
USD per generation
Arena results for models you can call with the same API key.
Blind pairwise human votes on images generated from text prompts. Qwen Image ranks #75 of 98.
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.035 | per generation |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.035 | |
| $0.035 | |
| $0.075 | |
| $0.075 | |
| $0.075 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "alibaba/qwen-image",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "alibaba/qwen-image",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "alibaba/qwen-image",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Qwen Image takes image, text as input and returns image.
Qwen Image costs $0.035 per generation on AI/ML API, billed as you go with no subscription.
Qwen Image is billed per generation, a fixed charge per output rather than by prompt length.
Yes, Qwen Image accepts image input as well as a text prompt.
Qwen Image was built by Alibaba Cloud.
Send a request to https://api.aimlapi.com/v1/images/generations with qwen-image as the model id.
Yes. Qwen Image is served through AI/ML API, so the same key and endpoint format used for other models applies.
Qwen Image is an image generation model.
Use alibaba/qwen-image as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.