| model | string | Yes | Model name, e.g. qwen-image-plus or qwen-image-max. |
| input | object | Yes | Image description payload. |
| └─ messages | array[object] | Yes | Message list. |
| └─ └─ role | string | No | Role. |
| └─ └─ content | array[object] | | |
| └─ └─ └─ text | string | | Prompt text. |
| parameters | object | No | Generation controls. |
| └─ negative_prompt | string | No | Negative prompt for undesired content. Supports Chinese/English, max 500 chars (extra chars are truncated). Example: low resolution, low quality, distorted limbs/fingers, oversaturated colors, waxy skin, low face detail, over-smoothing, AI-looking artifacts, chaotic composition, blurry/warped text. |
| └─ prompt_extend | boolean | No | Enable smart prompt rewriting. This optimizes only the positive prompt. true (default): enable rewriting for richer details. false: disable for tighter control. |
| └─ watermark | boolean | No | Add Qwen-Image watermark at bottom-right. Default false. |
| └─ size | string | No | Output size, e.g. 1328*1328, 1024*1024; width and height must both be 512-1440. |
| └─ n | integer | No | Number of images. Range 1-4, default 4. Billed per image; set to 1 for testing. |
| └─ seed | integer | No | Random seed in [0,2147483647]. Same seed can improve consistency, but exact results are still not guaranteed. |