POST
/
v3
/
async
/
qwen-image-edit
Qwen-Image Edit
curl --request POST \
  --url https://api.novita.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 Edit — a 20B MMDiT model for next-gen image edit generation. Built on 20B Qwen-Image, it brings precise bilingual text editing (Chinese & English) while preserving style, and supports both semantic and appearance-level editing.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the image generation results.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

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

Response

task_id
string
required
Use the task_id to request the Task Result API to retrieve the generated outputs.