Skip to main content
POST
Qwen-Image Image Editing
Qwen-Image Image Editing — a 20B MMDiT model for next-generation image editing generation. Based on 20B Qwen-Image, it provides precise bilingual text editing (Chinese and English) while preserving style, and supports both semantic-level and appearance-level editing.
This is an asynchronous API and will only return the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the generation result.

Request Headers

string
required
Enum values: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
required
The prompt used to generate the image.
string
required
The image used to generate the image.
integer
The random seed used for generation. -1 means a random seed will be used. Range: -1 ~ 2147483647. The default value is -1.
string
The format of the output image. The default is jpeg.
Enum values: jpeg, png, webp

Response Parameters

string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result.