跳到主要内容
Qwen检查中

Qwen Image 2.0 / Image Edit

qwen-image-2-0-image-edit

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

参数

必填
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

常用参数
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).

imageNum: string

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

高级参数 (1)
negativePrompt: string

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

请求预览

{
  "model": "qwen-image-2-0-image-edit",
  "input": {
    "imageNum": "1"
  }
}

网页 Playground 使用你的登录会话发送此请求体。在代码中请使用 API Key 发送相同内容。

预计费用

正在加载价格…

任务接收时预留额度,仅成功后扣费。失败任务释放预留额度;结果未确认时会保留额度,直到核实。