Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This node modifies an existing image based on a text prompt and strength parameter. It uses the Recraft API to transform the input image according to the provided description while maintaining some similarity to the original image based on the strength setting.

Inputs

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image to be modified
promptSTRINGYes-Prompt for the image generation (default: "")
nINTYes1-6The number of images to generate (default: 1)
strengthFLOATYes0.0-1.0Defines the difference with the original image, should lie in [0, 1], where 0 means almost identical, and 1 means miserable similarity (default: 0.5)
seedINTYes0-18446744073709551615Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)
recraft_styleSTYLEV3No-Optional style selection for the image generation
negative_promptSTRINGNo-An optional text description of undesired elements on an image (default: "")
recraft_controlsCONTROLSNo-Optional additional controls over the generation via the Recraft Controls node
Note: The seed parameter only triggers re-execution of the node but does not guarantee deterministic results. The strength parameter is rounded to 2 decimal places internally.

Outputs

Output NameData TypeDescription
imageIMAGEThe generated image(s) based on the input image and prompt