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

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      | Description                                                                                                                                                                            | Data Type | Required | Range                                                |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ---------------------------------------------------- |
| `image`        | The input image to be modified                                                                                                                                                         | IMAGE     | Yes      | -                                                    |
| `prompt`       | Prompt for the image generation (default: "")                                                                                                                                          | STRING    | Yes      | -                                                    |
| `image_weight` | 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. | FLOAT     | No       | 0.0-0.98                                             |
| `model`        | The Luma model to use for image modification. Different models have different costs.                                                                                                   | STRING    | Yes      | `"photon-flash-1"`<br />`"photon-1"`<br />`"photon"` |
| `seed`         | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)                                                                           | INT       | No       | 0-18446744073709551615                               |

## Outputs

| Output Name | Description                                    | Data Type |
| ----------- | ---------------------------------------------- | --------- |
| `image`     | The modified image generated by the Luma 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/LumaImageModifyNode/en.md)

***

**Source fingerprint (SHA-256):** `56b13600f6fb8cd6ff80bc8c8184db059273c2ef648630ff1ef10a7ed6b04b7c`
