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
The Recraft V4 Text to Vector node generates Scalable Vector Graphics (SVG) illustrations from a text description. It connects to an external API to use either the Recraft V4 or Recraft V4 Pro model for image generation. The node outputs one or more SVG images based on your prompt.

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 changes the available size options.
sizeCOMBOYesFor recraftv4: "1024x1024", "1152x896", "896x1152", "1216x832", "832x1216", "1344x768", "768x1344", "1536x640", "640x1536"
For recraftv4_pro: "2048x2048", "2304x1792", "1792x2304", "2432x1664", "1664x2432", "2688x1536", "1536x2688", "3072x1280", "1280x3072"
The size of the generated image. The available options depend on the selected model. Default is "1024x1024" for recraftv4 and "2048x2048" for recraftv4_pro.
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.
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 results from the external API.

Outputs

Output NameData TypeDescription
outputSVGThe generated Scalable Vector Graphics (SVG) image(s).