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

ParameterDescriptionData TypeRequiredRange
imageThe input image to be modifiedIMAGEYes-
promptPrompt for the image generation (default: "", max length: 1000 characters)STRINGYes-
nThe number of images to generate (default: 1)INTYes1-6
strengthDefines the difference with the original image, should lie in [0, 1], where 0 means almost identical, and 1 means miserable similarity (default: 0.5)FLOATYes0.0-1.0
seedSeed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)INTYes0-18446744073709551615
recraft_styleOptional style selection for the image generation. If not provided, defaults to realistic_imageSTYLEV3No-
negative_promptAn optional text description of undesired elements on an image (default: "")STRINGNo-
recraft_controlsOptional additional controls over the generation via the Recraft Controls nodeCONTROLSNo-
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. The prompt is validated and must not exceed 1000 characters. If recraft_style is not provided, the node defaults to the realistic_image style. If you use a style_id from the Infinite Style Library, ensure it is not a Vector art style, as this may cause the node to receive SVG data instead of an image, resulting in an error.

Outputs

Output NameDescriptionData Type
imageThe generated image(s) based on the input image and promptIMAGE
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): 15f0f42a1c217abcffeff3836ec77d8a94b37143fdff45d69e1a645f5ffac939