Docs / image / Qwen Image 3.0 Pro Text to Image
Qwen Image 3.0 Pro Text to Image online
The Pro tier of Qwen Image 3.0 — denser detail and cleaner text rendering for final artwork.
Rp Mulai Rp520 / gambar
qwen3/pro-text-to-image model id
1 · Create a task
Kirim permintaan untuk membuat tugas generasi image. Wajib header Idempotency-Key. Saldo direservasi sebesar estimasi; task gagal tidak ditagih.
curl -X POST https://getrun.id/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: my-task-001" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3/pro-text-to-image",
"input": {
"prompt": "Create a realistic street fashion editorial photograph of a young model in a modern urban neighborhood. The model wears a premium white oversized jacket with realistic fabric texture, stitching details, and natural folds. Print “Qwen Image 3.0 Pro API” on the back and a small “Kie.ai” label on the sleeve, both naturally integrated into the fabric with realistic perspective and lighting. The model has detailed facial features, natural hair strands, and authentic skin texture. The background includes modern buildings, street trees, pedestrians, and soft afternoon sunlight. Only these two text elements are allowed, with no extra words, logos, or digital overlays. Luxury street photography, realistic fashion campaign, natural lighting.",
"image_size": "16:9",
"resolution": "1K",
"output_format": "png"
}
}'const res = await fetch('https://getrun.id/v1/tasks', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': 'my-task-001',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "qwen3/pro-text-to-image",
"input": {
"prompt": "Create a realistic street fashion editorial photograph of a young model in a modern urban neighborhood. The model wears a premium white oversized jacket with realistic fabric texture, stitching details, and natural folds. Print “Qwen Image 3.0 Pro API” on the back and a small “Kie.ai” label on the sleeve, both naturally integrated into the fabric with realistic perspective and lighting. The model has detailed facial features, natural hair strands, and authentic skin texture. The background includes modern buildings, street trees, pedestrians, and soft afternoon sunlight. Only these two text elements are allowed, with no extra words, logos, or digital overlays. Luxury street photography, realistic fashion campaign, natural lighting.",
"image_size": "16:9",
"resolution": "1K",
"output_format": "png"
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://getrun.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "qwen3/pro-text-to-image",
"input": {
"prompt": "Create a realistic street fashion editorial photograph of a young model in a modern urban neighborhood. The model wears a premium white oversized jacket with realistic fabric texture, stitching details, and natural folds. Print “Qwen Image 3.0 Pro API” on the back and a small “Kie.ai” label on the sleeve, both naturally integrated into the fabric with realistic perspective and lighting. The model has detailed facial features, natural hair strands, and authentic skin texture. The background includes modern buildings, street trees, pedestrians, and soft afternoon sunlight. Only these two text elements are allowed, with no extra words, logos, or digital overlays. Luxury street photography, realistic fashion campaign, natural lighting.",
"image_size": "16:9",
"resolution": "1K",
"output_format": "png"
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
seed |
integer | No | The random seed. Value range: [0, 2147483647]. A fixed seed helps maintain relatively stable results. (min 0, max 2147483647) | 1 |
prompt |
string | Yes | The positive prompt that describes the image content, style, and composition you want to generate or edit. Both Chinese and English are supported. (max 5000 chars) | Create a realistic street fashion editorial ph |
image_size |
string | No | The output image size Opsi: 1:1 3:2 2:3 4:3 3:4 16:9 9:16 21:9 |
16:9 |
resolution |
string | No | The output image resolution. Opsi: 1K 2K |
1K |
nsfw_checker |
boolean | No | A configurable parameter. Defaults to true in the Playground. | true |
output_format |
string | No | Generate image format Opsi: png jpeg |
png |
prompt_extend |
boolean | No | Whether to enable intelligent prompt rewriting. Default: true (recommended). When enabled, the model optimizes the positive prompt, which significantly improves results for simple descriptions. | true |
negative_prompt |
string | No | The negative prompt that describes content you do not want to appear in the image. (max 5000 chars) | — |
2 · Poll the result
Ambil status tugas hingga selesai — poll tiap 2–5 detik.
Respons saat sukses:
{
"id": "task_9f2c…",
"status": "succeeded",
"model": "qwen3/pro-text-to-image",
"price": {
"currency": "IDR",
"estimated": 520,
"reserved": 520,
"final": 520
},
"output": {
"urls": [
"https://storage.getcore.id/outputs/task_9f2c…/0.png"
],
"expires_at": "(7 hari setelah selesai)"
}
}
Status values
| Status | Keterangan |
|---|---|
queued | Tugas sedang diantrikan. |
processing | Sedang diproses. |
succeeded | Berhasil. |
failed | Gagal — lihat error detail, tidak ditagih. |
image/png, dilayani dari CDN kami dan berlaku 7 hari — salin ke penyimpananmu sendiri untuk jangka panjang.Best practices
Bila generation gagal, task berstatus failed dengan error.code ternormalisasi (mis. moderation_blocked, upstream_error) dan price.final = 0 — saldo dikembalikan otomatis. Daftar lengkap kode error ada di Error handling. Selalu kirim Idempotency-Key unik per tugas agar retry aman.
Coba tanpa kode: jalankan model ini langsung dari Playground atau lihat di API Market.
