跳到主要内容
Qwen检查中

Qwen Image 3.0 Pro / Text to Image

qwen-image-3-0-pro-text-to-image

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

参数

必填
prompt: string必填

Positive prompt describing the desired image content, style, composition, and text rendering. Chinese and English are supported. ≤ 3000 chars

常用参数
size: string

Output resolution as width*height, from 262144 to 4194304 pixels, with aspect ratio between 1:8 and 8:1. Leave empty to let the model choose. 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 prompts.

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 T2I and Agent T2I.

seed: integer

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

请求预览

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

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

预计费用

正在加载价格…

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