Skip to main content
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

ParameterDescriptionData TypeRequiredRange
imageThe input image to be modifiedIMAGEYes-
promptPrompt for the image generation (default: "")STRINGYes-
image_weightWeight 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.FLOATNo0.0-0.98
modelThe Luma model to use for image modification. Different models have different costs.STRINGYes"photon-flash-1"
"photon-1"
"photon"
seedSeed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)INTNo0-18446744073709551615

Outputs

Output NameDescriptionData Type
imageThe modified image generated by the Luma modelIMAGE
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 9798382092f179fe55972568687285bd728981ca59f1b0a5e4e2ca4bd9b7c981