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

# LumaImageEditNode2 - ComfyUI Built-in Node Documentation

> Complete documentation for the LumaImageEditNode2 node in ComfyUI. Learn its inputs, outputs, parameters and usage.

## Overview

This node edits an existing image using a text prompt, powered by the Luma UNI-1 model. It takes a source image and a description of the desired change, then generates a new edited version of the image.

## Inputs

| Parameter | Description                                                                                                 | Data Type | Required | Range                        |
| --------- | ----------------------------------------------------------------------------------------------------------- | --------- | -------- | ---------------------------- |
| `source`  | Source image to edit.                                                                                       | IMAGE     | Yes      | -                            |
| `prompt`  | Description of the desired edit. Default: "" (empty string).                                                | STRING    | Yes      | 1–6000 characters            |
| `model`   | Model to use for editing.                                                                                   | MODEL     | Yes      | `"uni-1"`<br />`"uni-1-max"` |
| `seed`    | Seed controls whether the node should re-run; results are non-deterministic regardless of seed. Default: 0. | INT       | Yes      | 0 to 2147483647              |

**Parameter Constraints:**

* The `prompt` must be between 1 and 6000 characters long.
* The `model` parameter is a dynamic combo that, when set to `"uni-1"` or `"uni-1-max"`, provides additional sub-parameters (such as `style`, `web_search`, and `image_ref`). The `image_ref` sub-parameter accepts a maximum of 8 image references.

## Outputs

| Output Name | Description                                         | Data Type |
| ----------- | --------------------------------------------------- | --------- |
| `image`     | The edited image generated by the Luma UNI-1 model. | 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/LumaImageEditNode2/en.md)

***

**Source fingerprint (SHA-256):** `7d658d8e11b54dbad38d8d679553d55299313dacbdcc76d91079c5f92275d07e`
