Skip to main content
POST
Qwen-Image Image Editing
Qwen-Image Image Editing — a 20B MMDiT model for next-generation image editing. Based on the 20B Qwen-Image, it provides precise bilingual text editing (Chinese and English) while preserving style, and supports both semantic and appearance-level editing.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

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

Request Body

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

Response

string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.