Skip to main content
POST
/
v3
/
async
/
qwen-image-edit
Qwen-Image Image Editing
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/qwen-image-edit \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "image": "<string>",
  "seed": 123,
  "output_format": "<string>"
}
'
{
  "task_id": "<string>"
}
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

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

Request Body

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

Response Parameters

task_id
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.