Qwen Image 3 API

alibaba/qwen-image-3
Unlike conventional AI image tools that focus mainly on aesthetics, Qwen Image 2.0 Pro emphasizes usability — clear typography, coherent layout systems, and predictable composition that works in real-world marketing and design workflows.
Context
4,500 tokens
Output
$0.0975 / gen
Released
Jul 22, 2026

How to use Qwen Image 3 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to alibaba/qwen-image-3.

import requests

r = requests.post(
   "https://api.aimlapi.com/v1/images/generations",
   headers={"Authorization": "Bearer " + AIMLAPI_KEY},
   json={
     "model": "alibaba/qwen-image-3",
     "prompt": "A cat holding a sign that says hello"
   },
)
print(r.json())

const r = 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-3",
   "prompt": "A cat holding a sign that says hello"
 }),
});
console.log(await r.json());

curl -X POST https://api.aimlapi.com/v1/images/generations \
 -H "Authorization: Bearer $AIMLAPI_KEY" \
 -H "Content-Type: application/json" \
 -d '{"model":"alibaba/qwen-image-3","prompt":"A cat holding a sign that says hello"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Qwen Image 3 API Pricing

TypePrice
Output
$0.0975 / gen

Qwen Image 3 vs other models

ModelInputOutputContextBest for
Qwen Image 3
This page
$0.0975 / gen
4,500 tokens
Complex infographics, multilingual design, UI mockups
$0.325 / 1M tokens
$78 / 1M tokens
128K tokens
Image generation at scale
$6.5 / 1M tokens
$39 / 1M tokens
Image generation at scale
Image generation at scale
$0.0195 / MP (variable)
Image generation at scale

Frequently asked questions

Qwen Image 3 takes image, text as input and returns image.

Qwen Image 3 became available on July 22, 2026.

Qwen Image 3 is priced at output $0.0975 / gen.

Yes, Qwen Image 3 accepts image input as well as a text prompt.

Qwen Image 3 was built by Alibaba Cloud.

Send a request to https://api.aimlapi.com/v1/images/generations with alibaba/qwen-image-3 as the model id.

Yes. Qwen Image 3 is served through AI/ML API, so the same key and endpoint format used for other models applies.

Qwen Image 3 supports prompts up to 4,500 tokens, allowing very detailed instructions.

Qwen Image 3 can render text in 12 languages.

It is built for text-to-image generation with strong multilingual text rendering, complex layout generation, and automatic prompt expansion.

Qwen Image 3 supports over 20 fonts for rendering text in images.

Start building with Qwen Image 3

Get API Key
1000+ models, one API.