跳到主要内容
Qwen检查中

Qwen Image 3.0 Pro / Image Edit

qwen-image-3-0-pro-image-edit

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

参数

必填
imageUrls: string[]必填

Input images (1-3), ordered by array position. Public URLs, OSS temporary URLs, and Base64 are supported. Recommended size: 384-2048px, max 10MB per image. ≤ 3 items · HTTPS image URL or media:<uuid>

prompt: string必填

Image editing instruction describing what to preserve, replace, redraw, or enhance. Chinese and English are supported. ≤ 3000 chars

常用参数
size: string

Output resolution as width*height. Total pixels must be within 512*512 to 2048*2048. Labels 1k/2k denote resolution tier. Leave empty to let the model choose from the prompt. 262144–4194304 pixels; width*height · Aspect ratio 1:8–8:1

imageNum: integer

Number of images generated per request. Defaults to 1.

promptExtendMode: string

Prompt rewriting mode, effective only when promptExtend is enabled. Use direct for direct rewriting or agent for agent-based rewriting.

高级参数 (4)
negativePrompt: string

Negative prompt describing unwanted content. ≤ 600 chars

promptExtend: boolean

Whether to enable intelligent prompt rewriting. Enabled by default; improves results for short editing instructions.

enableThinking: boolean

Enable thinking mode for prompt rewriting. On by default: better quality, slower. Turn off to cut rewrite time to about 20s. Only takes effect when promptExtend=true. Supported for Direct I2I; not supported when promptExtendMode=agent.

seed: integer

Random seed in [0, 2147483647]. Fixing the seed reproduces results; leave empty for random. 0–2147483647

请求预览

{
  "model": "qwen-image-3-0-pro-image-edit",
  "input": {
    "imageNum": 1,
    "promptExtend": true,
    "promptExtendMode": "direct",
    "enableThinking": true
  }
}

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

预计费用

正在加载价格…

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