This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThis 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
| 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""recraftv4_pro" | The model to use for generation. Selecting a model determines the available image sizes. |
size | COMBO | Yes | Varies by model | The 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”. |
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 (default: 0). |
recraft_controls | CUSTOM | No | N/A | Optional additional controls over the generation via the Recraft Controls node. |
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 Name | Data Type | Description |
|---|---|---|
output | IMAGE | The generated image or batch of images. |