> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# RecraftV4TextToVectorNode - ComfyUI Built-in Node Documentation

> Complete documentation for the RecraftV4TextToVectorNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RecraftV4TextToVectorNode/en.md)

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

| Parameter          | Data Type | Required | Range                                                                                                                                                                                                                                                                                                          | Description                                                                                                                                                            |
| ------------------ | --------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `prompt`           | STRING    | Yes      | N/A                                                                                                                                                                                                                                                                                                            | Prompt for the image generation. Maximum 10,000 characters.                                                                                                            |
| `negative_prompt`  | STRING    | No       | N/A                                                                                                                                                                                                                                                                                                            | An optional text description of undesired elements on an image.                                                                                                        |
| `model`            | COMBO     | Yes      | `"recraftv4"`<br />`"recraftv4_pro"`                                                                                                                                                                                                                                                                           | The model to use for generation. Selecting a model changes the available `size` options.                                                                               |
| `size`             | COMBO     | Yes      | For `recraftv4`: `"1024x1024"`, `"1152x896"`, `"896x1152"`, `"1216x832"`, `"832x1216"`, `"1344x768"`, `"768x1344"`, `"1536x640"`, `"640x1536"`<br />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`. |
| `n`                | INT       | Yes      | 1 to 6                                                                                                                                                                                                                                                                                                         | The number of images to generate (default: 1).                                                                                                                         |
| `seed`             | INT       | Yes      | 0 to 18446744073709551615                                                                                                                                                                                                                                                                                      | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed.                                                                       |
| `recraft_controls` | CUSTOM    | No       | N/A                                                                                                                                                                                                                                                                                                            | Optional 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 Name | Data Type | Description                                            |
| ----------- | --------- | ------------------------------------------------------ |
| `output`    | SVG       | The generated Scalable Vector Graphics (SVG) image(s). |
