跳到主要内容
Qwen检查中

Qwen Image 2.0 Pro / Text to Image

qwen-image-2-0-pro-text-to-image

文生图输出: 图像输入: 文本
正在加载价格…
官方原价 · 未验证

模型能力

Generate images from text.

Text-to-image · 1–6 images

输入参数

仅列出此模型接受的字段。必填字段必须提供。

字段类型必填默认值可选值与约束
prompt
string必填—

Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters.

≤ 800 chars

negativePrompt
string可选—

Negative prompt describing unwanted content. Supports Chinese and English, max 500 characters.

≤ 500 chars

size
string可选"1024*1024"

Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: 1024*1024.

可选值: "1024*1024", "1536*1536", "768*1152", "1024*1536", "1152*768", "1536*1024", "960*1280", "1080*1440", "1280*960", "1440*1080", "720*1280", "1080*1920", "1280*720", "1920*1080", "1344*576", "2048*872"

imageNum
string可选"1"

Number of output images. Default: 1, max: 6.

可选值: "1", "2", "3", "4", "5", "6"

promptExtend
boolean可选true

Enable smart prompt enhancement. When enabled, the model optimizes and enriches the prompt for more diverse results.

限制与行为

  • 仅支持异步:先提交任务,再轮询结果。
  • prompt: ≤ 800 chars
  • negativePrompt: ≤ 500 chars