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

# QwenImageEditApi - ComfyUI Built-in Node Documentation

> This node uses the Qwen-Image 3.0 models to edit or combine up to 3 reference images guided by a text prompt.

This node uses the Qwen-Image 3.0 models to edit or combine up to 3 reference images guided by a text prompt. You provide the text prompt and the reference images, and the node returns the generated result as one or more images.

## Inputs

| Parameter       | Description                                                                                                                                                                         | Data Type | Required | Range                                      |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------------------------------------ |
| `model`         | Model to use. This selection also includes the text prompt, up to 3 reference image inputs, and an optional negative prompt.                                                        | COMBO     | Yes      | "qwen-image-3.0-pro"<br />"qwen-image-3.0" |
| `size`          | Output resolution. "match input" reuses the first reference image's size, "auto" lets the model pick a size with the same aspect ratio, "custom" sets an explicit width and height. | COMBO     | Yes      | "match input"<br />"auto"<br />"custom"    |
| `n`             | Number of images to generate, returned as a batch. (default: 1)                                                                                                                     | INT       | No       | 1 to 6                                     |
| `seed`          | Seed to use for generation. (default: 42)                                                                                                                                           | INT       | No       | 0 to 2147483647                            |
| `prompt_extend` | Whether to enhance the prompt with AI assistance. (default: True)                                                                                                                   | BOOLEAN   | No       | True<br />False                            |
| `watermark`     | Whether to add an AI-generated watermark to the result. (default: False)                                                                                                            | BOOLEAN   | No       | True<br />False                            |

### Constraints

* The text prompt is required and must contain at least one character.
* A maximum of 3 reference images is supported; an error is raised if more are provided (a batched input counts once per image).
* When `size` is set to "custom", explicit width and height values must be provided and are validated.
* When `size` is set to "match input", at least one reference image is required because the first reference image's dimensions are used.

## Outputs

| Output Name | Description                                                                       | Data Type |
| ----------- | --------------------------------------------------------------------------------- | --------- |
| IMAGE       | The generated image or images returned as a batch. Up to `n` images are returned. | IMAGE     |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/QwenImageEditApi/en.md)

***

**Source fingerprint (SHA-256):** `efa8d2b1a039a7b91789c0332b751a5f90ab8dad755ef0e25124d7d1c44d9abb`
