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

> 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)

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

**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 | Data Type | Description                                         |
| ----------- | --------- | --------------------------------------------------- |
| `image`     | IMAGE     | The edited image generated by the Luma UNI-1 model. |

***

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