Qwen-Image 3.0 Text to Image API
Text to Image with Qwen-Image 3.0 by Alibaba. Clear instruction following and stable text, at about 2 cents an image.
Try Qwen-Image 3.0 Text to Image
Output image shape.
1K ≈ 1 MP, 2K ≈ 4 MP.
Create a free account with Google or email — pay only for what you generate.
Your image will appear here
Write a prompt, pick your settings and hit Run. You only pay for successful generations.
Also available: Qwen-Image 3.0 Image Edit
See the Qwen-Image 3.0 examples and prompts
Qwen-Image 3.0 Text to Image API
/api/v1/run/alibaba/qwen-image-3.0/text-to-imageSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
aspect_ratio | string (enum) | Output image shape. Values: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 Default: 1:1 | Yes |
resolution | string (enum) | 1K ≈ 1 MP, 2K ≈ 4 MP. Values: 1K · 2K Default: 1K | Yes |
negative_prompt | string | Things to avoid in the output. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/alibaba/qwen-image-3.0/text-to-image`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A bilingual night-market poster that reads “夜市 NIGHT MARKET — Friday 7 PM”, lanterns, bold layout",
"aspect_ratio": "1:1",
"resolution": "1K"
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.images[0].url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "alibaba/qwen-image-3.0",
"endpoint": "alibaba/qwen-image-3.0/text-to-image",
"mode": "text-to-image",
"status": "queued",
"input": {
"prompt": "A bilingual night-market poster that reads “夜市 NIGHT MARKET — Friday 7 PM”, lanterns, bold layout",
"aspect_ratio": "1:1",
"resolution": "1K"
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Qwen-Image 3.0 pricing
Pay per image as you go, with no subscription required (monthly plans are optional). Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
1K ≈1 MP | $0.0228/img | −24% | |
2K ≈4 MP | $0.0228/img | −24% |
- Official price: Alibaba Cloud Model Studio international (Singapore) list price for qwen-image-3.0 ($0.03 per image at 1K or 2K; $0.003 per input image). Prices verified October 18, 2026.
More from Alibaba
Popular Alibaba models, on the same API key.

Z-ImageTurbo
Text → Image
Alibaba's 6B open model — photoreal images in 8 steps, under 1.5¢ each

Qwen-Image3.0 Pro
Text → Image · Image Edit
Alibaba's image model for dense text and layouts — menus, posters, infographics

Wan3.0
Text · Image · Reference → Video
Up to 30-second videos with audio from Alibaba

Wan3.0 Prime
Text · Image · Reference → Video
The highest-fidelity Wan for hero shots
Similar image models
Popular text-to-image models from other developers.

Seedream5.0 Pro
Text → Image · Image Edit
Production-grade image generation and precise editing

FLUX 3Image Klein
Text → Image · Image Edit
The open-weights FLUX 3 — 16-step images in seconds, from a fraction of a cent

GPT Image2.5
Text → Image · Image Edit
OpenAI's top image model — precise edits, perfect text, up to 4K

Seedream5.0 Lite
Text → Image · Image Edit
High-quality Seedream images at a lower price
