> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

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

<Tip>
  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](/en/docs/models/reference-get-async-task-result) to retrieve the generation result.
</Tip>

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enum values: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="prompt" type="string" required={true}>
  The prompt used to generate the image.
</ParamField>

<ParamField body="image" type="string" required={true}>
  The image used to generate the image.
</ParamField>

<ParamField body="seed" type="integer" required={false}>
  The random seed used for generation. -1 means a random seed will be used. Range: -1 \~ 2147483647. The default value is -1.
</ParamField>

<ParamField body="output_format" type="string" required={false}>
  The format of the output image. The default is jpeg.<br />
  Enum values: `jpeg`, `png`, `webp`
</ParamField>

## Response Parameters

<ResponseField name="task_id" type="string" required={true}>
  The task\_id of the asynchronous task. You should use this task\_id to request the [Get Task Result API](/en/docs/models/reference-get-async-task-result) to obtain the generation result.
</ResponseField>
