> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/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.

## 概述

此节点使用文本提示对现有图像进行编辑，由 Luma UNI-1 模型驱动。它接收源图像和所需更改的描述，然后生成编辑后的新版本图像。

## 输入

| 参数       | 描述                                    | 数据类型   | 是否必填 | 范围                           |
| -------- | ------------------------------------- | ------ | ---- | ---------------------------- |
| `source` | 要编辑的源图像。                              | IMAGE  | 是    | -                            |
| `prompt` | 所需编辑的描述。默认值：""（空字符串）。                 | STRING | 是    | 1–6000 个字符                   |
| `model`  | 用于编辑的模型。                              | MODEL  | 是    | `"uni-1"`<br />`"uni-1-max"` |
| `seed`   | 种子控制节点是否应重新运行；无论种子如何，结果都是非确定性的。默认值：0。 | INT    | 是    | 0 到 2147483647               |

**参数约束：**

* `prompt` 的长度必须在 1 到 6000 个字符之间。
* `model` 参数是一个动态组合框，当设置为 `"uni-1"` 或 `"uni-1-max"` 时，会提供额外的子参数（例如 `style`、`web_search` 和 `image_ref`）。`image_ref` 子参数最多接受 8 个图像引用。

## 输出

| 输出名称    | 描述                       | 数据类型  |
| ------- | ------------------------ | ----- |
| `image` | 由 Luma UNI-1 模型生成的编辑后图像。 | IMAGE |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LumaImageEditNode2/zh.md)

***

**Source fingerprint (SHA-256):** `7026e3ce818b0a9710624bd071fc2049950290f89c7d0365ff44236e9ad5eaed`
