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
Generates images synchronously based on prompt and resolution. This node connects to the Recraft API to create images from text descriptions with specified dimensions and style options.

Inputs

ParameterData TypeRequiredRangeDescription
promptSTRINGYes-Prompt for the image generation. (default: "")
sizeCOMBOYes”1024x1024"
"1152x896"
"896x1152"
"1216x832"
"832x1216"
"1344x768"
"768x1344"
"1536x640"
"640x1536”
The size of the generated image. (default: “1024x1024”)
nINTYes1-6The number of images to generate. (default: 1)
seedINTYes0-18446744073709551615Seed to determine if node should re-run; actual results are nondeterministic regardless of seed. (default: 0)
recraft_styleCOMBONoMultiple options availableOptional style selection for image generation.
negative_promptSTRINGNo-An optional text description of undesired elements on an image. (default: "")
recraft_controlsCOMBONoMultiple options availableOptional additional controls over the generation via the Recraft Controls node.
Note: The seed parameter only controls when the node re-runs but does not make the image generation deterministic. The actual output images will vary even with the same seed value.

Outputs

Output NameData TypeDescription
IMAGEIMAGEThe generated image(s) as tensor output.