Get an API key and set it as an environment variable. If using the SDK, install it.
Authorizations
string
header
required
DashScope API Key. Create one in the Qwen Cloud console.
Body
application/jsonenum<string>
required
Model name.
qwen-image-2.0-pro,qwen-image-2.0-pro-2026-03-03,qwen-image-2.0,qwen-image-2.0-2026-03-03,qwen-image-edit-max,qwen-image-edit-max-2026-01-16,qwen-image-edit-plus,qwen-image-edit-plus-2025-12-15,qwen-image-edit-plus-2025-10-30,qwen-image-edit
qwen-image-2.0-pro
object
required
Input data containing the messages array.
object
Image editing parameters.