Skip to main content
Generates images from text prompts using Recraft V4 and V4.1 models. It sends the prompt and selected settings to the Recraft API and returns the generated image or images. If style reference images are used, the created style ID is also returned.

Inputs

Common Inputs

recraftv4_1, recraftv4_1_utility, recraftv4, and recraftv4_styles Inputs

These models share the same size parameter.

recraftv4_1_pro, recraftv4_1_utility_pro, recraftv4_pro, and recraftv4_styles_pro Inputs

These models share the same size parameter.

Reference Inputs

Note: The size parameter is a dynamic input whose available options change based on the selected model. The recraftv4_styles and recraftv4_styles_pro models always require a style: connect style reference images or provide a style_id. The style_id and style_references inputs are mutually exclusive — provide only one of them. A style_id must be a valid UUID. The style_match input is only used when a style is provided. Style reference images are billed on top of the generation and their total encoded size must not exceed 10 MB. The seed value does not guarantee reproducible image outputs. If you use a style ID from the Infinite Style Library, make sure it is not a Vector art style, as this may return SVG data instead of an image.

Outputs

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): af5c1f68e59ca282cdca7c32cd50f0438b743fdda27d9d22e59b2d1343f45e26