Qwen Image 3.0 Text to Image
alibaba/qwen-image-3.0/text-to-image
Qwen Image 3.0 is a professional-grade text-to-image model with superior quality and advanced prompt understanding. Up to 2K. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Examples
Parameters
| Name | Type | Default | Constraints | Description |
|---|---|---|---|---|
| prompt *Prompt | textarea | — | ≤ 5000 chars | Text prompt describing the desired image, supports Chinese and English |
| sizeSize | text | — | ≤ 16 chars | Width*height format, from 512*512 to 2048*2048 (e.g., 1024*1024, 1280*720). Leave empty to let the model auto-select a resolution. |
| nNumber of Images | number | 1 | 1 ~ 6 · step 1 | Generate 1-6 images per request |
| negative_promptNegative Prompt | textarea | — | — | Describe what should not appear in the image |
| prompt_extendPrompt Extend | boolean | true | — | Automatically expands and optimizes the prompt. Recommended; most useful for short prompts. |
| seedSeed | number | — | 0 ~ 2147483647 · step 1 | For reproducibility, 0-2147483647. Leave empty for random. |
API
Call this model through one unified REST API. Get a key on the API Keys page.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/qwen-image-3.0/text-to-image" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"n": 1,
"prompt_extend": true
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/alibaba/qwen-image-3.0/text-to-image",
headers=HEADERS,
json={
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"n": 1,
"prompt_extend": True
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/alibaba/qwen-image-3.0/text-to-image", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"n": 1,
"prompt_extend": true
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Documentation
Qwen Image 3.0 Text to Image
Professional-grade text-to-image generation with strong prompt understanding and reliable performance.
Qwen Image 3.0 Text to Image is a production-ready text-to-image model designed for high-quality visual generation from natural language prompts. It combines superior image quality, advanced prompt understanding, support for both Chinese and English, and up to 2K output, making it a strong choice for teams that need consistent results, no cold starts, and cost-efficient scaling.
🚀 Key Features
- Professional-grade image quality: Built for high-fidelity visual generation suitable for commercial and creative workflows.
- Advanced prompt understanding: Interprets detailed and nuanced prompts more accurately for better alignment with user intent.
- Up to 2K output: Generates images up to 2048×2048 for sharper and more presentation-ready results.
- Batch generation: Produces up to 6 images in a single request for faster ideation and selection.
- Smart resolution: Automatically selects the best resolution from your prompt when no size is specified.
- Bilingual prompt support: Accepts both Chinese and English prompts, enabling flexible multilingual creation.
- No cold starts: Optimized for responsive, ready-to-use inference with more predictable latency.
- Affordable pricing: Delivers a strong balance of quality, reliability, and cost for scalable usage.
🛠️ Technical Specifications
| Item | Details |
|---|---|
| Model architecture | Professional-grade text-to-image model |
| Task type | Text-to-image generation |
| Input | Text prompt |
| Output Format | Image |
| Prompt | Supports Chinese and English |
| Prompt rewriting | Automatic prompt optimization (enabled by default) |
| Resolution | 512×512 up to 2048×2048; auto-selected by the model when unspecified |
| Size format | Specified as width*height, such as 10241024 or 1280720 |
| Images per request | 1–6 |
| Seed | Optional; 0–2147483647 for reproducibility, random when unspecified |
| Quality positioning | Professional-grade, high-fidelity image generation |
| Latency | Optimized for responsive performance with no cold start |
Sample Prompts
- Chinese: 一张电影感十足的未来城市夜景,霓虹灯反射在雨后的街道上,超高细节,真实光影
- Chinese: 极简风产品摄影,一只白色陶瓷杯置于浅灰背景中央,柔和棚拍光,干净构图
- English: A cinematic portrait of a traveler standing in a desert at sunset, dramatic lighting, ultra-detailed, realistic style
💰 Pricing
| Item | Price |
|---|---|
| Generated images (any resolution) | $0.03 / image |
Billed per generated image: a request producing n images is charged $0.03 × n. Unspecified size (smart resolution) is billed at the same rate.
💡 Best Use Cases
- E-commerce and advertising: Generate product concepts, campaign visuals, and branded creative assets.
- Social media content production: Create high-quality cover images, promotional graphics, and visual assets for fast-moving campaigns.
- Design ideation and concept development: Help creative teams explore styles, compositions, and visual directions quickly.
- Multilingual content workflows: Support teams working across Chinese and English prompt-based generation tasks.
Related models
Qwen Image 3.0 Pro Text to Image
Qwen Image 3.0 Pro is a professional-grade text-to-image model with superior quality and advanced prompt understanding. Up to 2k. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
OpenAI GPT Image 2 Text-to-Image
OpenAI's GPT Image 2 Text-to-Image generates high-quality images from natural-language prompts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
OpenAI GPT Image 2 Edit
OpenAI's GPT Image 2 Edit enables image editing from natural-language instructions with one or more reference images. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Nami Z-Image T2I Spicy
Generate an image from a text prompt with configurable width, height, prompt enhancement, and seed.
Nano Banana Text to Image
Gemini 2.5 Flash Image. Lightweight and fast. The most affordable option for instant, high-volume generation.
Nano Banana Pro Text to Image
Gemini 3.0 Pro Image. The high-fidelity choice for 4K visuals, multilingual text rendering, and pro camera controls.
Nano Banana Pro Text to Image
Gemini 3.0 Pro Image. The high-fidelity choice for 4K visuals, multilingual text rendering, and pro camera controls.
Google Nano Banana Lite Text to Image API
Google Nano Banana 2 Lite Text to Image generates high-quality images from text prompts with low latency, flexible aspect ratios, and fast image creation for creative and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.