Generate images from text descriptions using Qwen wan-2.5 model
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
prompt | string | ✅ Yes | - | - | Text description for the image generation |
size | string | ❌ No | "1024*1024" | 768 ~ 1440 per dimension | The size of the generated image in pixels (width*height) |
resolution | string | ❌ No | "720p" | - | Output resolution quality setting |
enable_prompt_expansion | string | ❌ No | "false" | - | Enable automatic prompt expansion and optimization. Set to "true" or "false" |
negative_prompt | string | ❌ No | "" | - | Negative prompt to specify what should not appear in the generated image |
seed | integer | ❌ No | -1 | -1 ~ 2147483647 | Random seed for generation reproducibility. Set to -1 for random generation |