Recraft v3 icon

Recraft v3

Generate and edit images using Recraft v3 AI - the #1 ranked text-to-image model

Overview

This node integrates with the Recraft v3 AI service to create custom artistic styles based on user-provided reference images. Specifically, the "Style - Create" operation allows users to define a new style by submitting up to five reference images and selecting a base style category such as realistic image, digital illustration, vector illustration, or icon. This is useful for artists, designers, or developers who want to generate unique visual styles tailored to their projects or brand identity.

Practical examples include:

  • Creating a custom digital illustration style from a set of hand-drawn sketches.
  • Defining a vector illustration style based on company branding assets.
  • Generating an icon style from a collection of sample icons for UI design consistency.

Properties

Name Meaning
Base Style The foundational style category for the custom style. Options: Realistic Image, Digital Illustration, Vector Illustration, Icon.
Reference Images Comma-separated list of binary property names containing the reference images (max 5 images, total size up to 5MB). These images serve as the basis for creating the custom style.

Output

The output JSON contains the response from the Recraft API after creating the custom style. This typically includes details about the newly created style such as its unique identifier and metadata. The node returns this data in a structured JSON array format, one item per input.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Recraft v3 AI service.
  • The node expects the reference images to be provided as binary data in the input items under the specified property names.
  • No additional environment variables are required beyond the API authentication setup.

Troubleshooting

  • Error: "At least one reference image is required for style creation."
    Occurs if no valid reference images are provided. Ensure that the Reference Images property lists at least one existing binary property name containing image data.

  • Error: "Maximum 5 reference images allowed for style creation."
    Triggered when more than five images are specified. Limit the number of reference images to five or fewer.

  • Invalid binary data errors
    If the referenced binary properties do not contain valid image data, the node will fail. Verify that the input items have correctly named binary fields with proper image content.

  • API request failures
    Could be due to invalid API credentials, network issues, or exceeding API limits. Check the configured API key and network connectivity.

Links and References

Discussion