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

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

Outputs

Output NameDescriptionData Type
outputThe generated Scalable Vector Graphics (SVG) image(s).SVG
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): e2524f2607068f2115cf7a192cb9a4f77fbe4e2535108e3c7167923d599fd212