Skip to main content
This node generates images from text descriptions using the Recraft V4 or V4 Pro AI models. It sends your prompt to an external API and returns the generated images. You can control the output by specifying the model, image size, and number of images to create.

Inputs

ParameterDescriptionData TypeRequiredRange
promptPrompt for the image generation. Maximum 10,000 characters.STRINGYesN/A
negative_promptAn optional text description of undesired elements on an image.STRINGNoN/A
modelThe model to use for generation. Selecting a model determines the available image sizes.COMBOYes"recraftv4"
"recraftv4_pro"
sizeThe size of the generated image. The available options depend on the selected model. For recraftv4, the default is “1024x1024”. For recraftv4_pro, the default is “2048x2048”.COMBOYesVaries by model
nThe number of images to generate (default: 1).INTYes1 to 6
seedSeed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0).INTYes0 to 18446744073709551615
recraft_controlsOptional additional controls over the generation via the Recraft Controls node.CUSTOMNoN/A
Note: The size parameter is a dynamic input whose available options change based on the selected model. The seed value does not guarantee reproducible image outputs.

Outputs

Output NameDescriptionData Type
outputThe generated image or batch of images.IMAGE
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): b116fc35810d9cd246742b3ee1e3ce5472e79a467981ffb994cd1e2c53f0f086