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

# LumaImageModifyNode - ComfyUI Built-in Node Documentation

> Complete documentation for the LumaImageModifyNode 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/LumaImageModifyNode/en.md)

Modifies images synchronously based on a text prompt and the original image's aspect ratio. This node takes an input image and transforms it according to the provided prompt, using a configurable image weight to control how much the original image is altered.

## Inputs

| Parameter      | Data Type | Required | Range                                                | Description                                                                                                                                                                            |
| -------------- | --------- | -------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `image`        | IMAGE     | Yes      | -                                                    | The input image to be modified                                                                                                                                                         |
| `prompt`       | STRING    | Yes      | -                                                    | Prompt for the image generation (default: "")                                                                                                                                          |
| `image_weight` | FLOAT     | No       | 0.0-0.98                                             | Weight of the image; the closer to 1.0, the less the image will be modified (default: 0.1). Internally, this value is inverted (1.0 - image\_weight) and clamped between 0.0 and 0.98. |
| `model`        | STRING    | Yes      | `"photon-flash-1"`<br />`"photon-1"`<br />`"photon"` | The Luma model to use for image modification. Different models have different costs.                                                                                                   |
| `seed`         | INT       | No       | 0-18446744073709551615                               | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)                                                                           |

## Outputs

| Output Name | Data Type | Description                                    |
| ----------- | --------- | ---------------------------------------------- |
| `image`     | IMAGE     | The modified image generated by the Luma model |

***

**Source fingerprint (SHA-256):** `9798382092f179fe55972568687285bd728981ca59f1b0a5e4e2ca4bd9b7c981`
