Qwen Image 3.0 Pro Text to Image
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.
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. |
Output fields
| Field | Type | Description |
|---|---|---|
| images | array<string> | Generated image URL(s). |
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/qwen-image-3.0-pro/text-to-image" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate details, photorealistic, 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/qwen-image-3.0-pro/text-to-image",
headers=HEADERS,
json={
"input": {
"prompt": "A cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate details, photorealistic, 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/qwen-image-3.0-pro/text-to-image", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "A cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate details, photorealistic, 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 Pro Text to Image
Professional-grade text-to-image generation with strong prompt understanding and reliable performance.
Qwen Image 3.0 Pro 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 |
|---|---|
| 1K resolutions (e.g. 1024×1024, 1280×720, 768×1152) | $0.04 / image |
| 2K resolutions (e.g. 1536×1536, 1920×1080, 1080×1920) | $0.075 / image |
| Unspecified size (smart resolution) | Billed at the 2K rate ($0.075 / image) |
Billed per generated image: a request producing n images is charged n times the applicable tier price. Each option in the size selector is labeled with its tier (1K / 2K).
💡 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
z-image-spicy/text-to-image
Generate high-quality images from text with custom dimensions from 256 to 1536 pixels, intelligent prompt rewriting, and seed control for creative design and batch generation.
xAI Grok Imagine Image v2.0 Text to Image
xAI Grok Imagine Image V2.0 Text-to-Image generates high-quality images from text prompts, with configurable aspect ratio, resolution, and quality for creative visuals, social content, marketing assets, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
ai/prefect-pony-xl
Prefect Pony XL delivers high-quality anime-style image generation for character art and illustrations. 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.
OpenAI GPT Image 2.5 Sunburst Text-to-Image
High-fidelity image generation for detailed compositions and demanding production work, with up to 4K output.
OpenAI GPT Image 2.5 Flare Text-to-Image
Fast, balanced image generation from natural-language prompts, with up to 4K output.
krea-v2-medium/text-to-image
Krea 2 Medium Text to Image is a fast AI image generation model that creates high-quality images from text prompts with aspect ratio, creativity, and optional style reference controls. Ready-to-use REST inference API for creative design, marketing visuals, product mockups, brand assets, social media content, rapid ideation, and professional text-to-image workflows with simple integration, no coldstarts, and affordable pricing.