Skip to content

Qwen

Mode: image · Models: 4

Vendor: Qwen Cloud (Alibaba DashScope) · Official API docs: Qwen API reference

Qwen (by Alibaba) is a text-to-image family with strong typography and prompt-following. The base Qwen 2 generates up to 1K with optional image input; Qwen 2 Pro adds 2K resolutions, a negative prompt, and prompt enhancement; Qwen Edit Plus is a dedicated image-edit model that composes from up to 3 source images.

Models

idNameInput type
qwen-image-2Qwen 2t2i
qwen-image-2-proQwen 2 Prot2i
qwen-image-edit-plusQwen Edit Plusi2i
qwenQwent2i

CLI

bash
# text-to-image
gen-ai generate -m qwen-image-2 \
  -p "a neon ramen shop sign at night, bold typography, rain reflections" -n 4

# 2K with a negative prompt
gen-ai generate -m qwen-image-2-pro \
  -p "minimalist product poster, large serif headline" \
  --neg "clutter, watermark" -r 2048x2048

# multi-image edit: compose from up to 3 sources
gen-ai generate -m qwen-image-edit-plus \
  -p "place the product on the marble table, soft daylight" \
  -i ./product.png -i ./table.jpg

MCP

json
{ "name": "picsart_generate",
  "arguments": {
    "model": "qwen-image-2",
    "prompt": "a neon ramen shop sign at night, bold typography, rain reflections",
    "count": 4
  } }
json
{ "name": "picsart_generate",
  "arguments": {
    "model": "qwen-image-2-pro",
    "prompt": "minimalist product poster, large serif headline",
    "negativePrompt": "clutter, watermark",
    "resolution": "2048x2048"
  } }

Parameters

Full parameter surface for every model, sourced from gen-ai models info <id> --json. CLI flags show the primary short form; the canonical --kebab-case long form always works too.

qwen-image-2 — Qwen 2

Try qwen-image-2 in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired
count-nenum1 · 2 · 4 · 6 · 8 · 10 (default 1)
imageUrls-ifileimage (up to 1)

qwen-image-2-pro — Qwen 2 Pro

Try qwen-image-2-pro in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired (≤800 chars)
negativePrompt--negtextfree text
resolution-renum2048x2048 · 2688x1536 · 1536x2688 · 2368x1728 · 1728x2368 (default 2048x2048)
count-nenum1 · 2 · 4 · 6 (default 1)
enhancePrompt--enhance-promptbooleantrue · false (default true)
imageUrls-ifileimage (up to 3)

qwen-image-edit-plus — Qwen Edit Plus

Try qwen-image-edit-plus in Playground ↗

Input type: i2i

ParamCLI flagTypeValues
prompt-ptextrequired
imageUrls-ifilerequired image (up to 3)

Notes: qwen-image-edit-plus requires both prompt and imageUrls (up to 3 source images).

qwen — Qwen

Try qwen in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired
count-nenum1 · 2 · 4 · 6 · 8 · 10 (default 1)
imageUrls-ifileimage (up to 1)

Pricing

bash
gen-ai pricing qwen-image-2 -n 4

Cost scales with the number of images (count); on Qwen 2 Pro the chosen resolution is the other driver.

Built on @picsart/ai-sdk · gen-ai CLI · Picsart MCP · Skills