跳到主要内容
Qwen检查中

Qwen Image 2.0 Pro / Image Edit

qwen-image-2-0-pro-image-edit

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

模型能力

Edit images with text instructions.

Image editing · 1–6 images

输入参数

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

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

Input images (1-3). Supports single image editing and multi-image fusion. Images are numbered in array order, output aspect ratio follows the last image. Recommended resolution: 384-3072px, max 10MB.

≤ 3 items · HTTPS image URL or media:<uuid>

prompt
string可选—

Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters. Only one text instruction is allowed.

≤ 800 chars

negativePrompt
string可选—

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

≤ 500 chars

size
string可选—

Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: same as input image (last image for multi-image input).

可选值: "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"

限制与行为

  • 仅支持异步:先提交任务,再轮询结果。
  • imageUrls: ≤ 3 items
  • prompt: ≤ 800 chars
  • negativePrompt: ≤ 500 chars
  • 媒体输入接受公开 HTTPS URL,或 POST /api/v1/media 返回的 media:<uuid> 引用。