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 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

ParameterData TypeRequiredRangeDescription
promptSTRINGYesN/APrompt for the image generation. Maximum 10,000 characters.
negative_promptSTRINGNoN/AAn optional text description of undesired elements on an image.
modelCOMBOYes"recraftv4"
"recraftv4_pro"
The model to use for generation. Selecting a model determines the available image sizes.
sizeCOMBOYesVaries by modelThe 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”.
nINTYes1 to 6The number of images to generate (default: 1).
seedINTYes0 to 18446744073709551615Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0).
recraft_controlsCUSTOMNoN/AOptional additional controls over the generation via the Recraft Controls node.
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 NameData TypeDescription
outputIMAGEThe generated image or batch of images.