Skip to main content

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.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
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

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image to be modified
promptSTRINGYes-Prompt for the image generation (default: "")
image_weightFLOATNo0.0-0.98Weight 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.
modelSTRINGYes"photon-flash-1"
"photon-1"
"photon"
The Luma model to use for image modification. Different models have different costs.
seedINTNo0-18446744073709551615Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)

Outputs

Output NameData TypeDescription
imageIMAGEThe modified image generated by the Luma model

Source fingerprint (SHA-256): 9798382092f179fe55972568687285bd728981ca59f1b0a5e4e2ca4bd9b7c981