Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate high-quality images from user prompts using RecraftAI, empowering AI artists with creative possibilities.
The RecraftImageGenerator is a powerful node designed to facilitate the creation of images based on user-defined prompts. It leverages the capabilities of RecraftAI to generate high-quality images by interpreting textual descriptions and applying various styles and models. This node is particularly beneficial for AI artists and designers who wish to explore creative possibilities without needing extensive technical knowledge. By providing a simple interface to input prompts and select from a range of styles, substyles, and image sizes, the RecraftImageGenerator empowers users to produce visually appealing and diverse images. Its integration with RecraftAI's API ensures that the generated images are not only aesthetically pleasing but also adhere to the specified artistic direction, making it an essential tool for creative projects.
The client
parameter is a required input that represents the RecraftAI client instance. It is essential for authenticating and communicating with the RecraftAI API, ensuring that the image generation process is executed correctly. This parameter must be provided to enable the node to function, as it carries the necessary credentials and configurations for API access.
The prompt
parameter is a required input that serves as the textual description or idea for the image you wish to generate. It is the core element that guides the image creation process, as the RecraftAI system interprets this text to produce a corresponding visual output. A well-crafted prompt can significantly influence the quality and relevance of the generated image.
The style
parameter is an optional input that allows you to specify the overall artistic style of the generated image. Options include realistic_image
, digital_illustration
, and more. By selecting a style, you can tailor the visual appearance of the image to match your creative vision or project requirements.
The substyle
parameter is an optional input that provides further refinement to the chosen style. It includes options such as b_and_w
, hdr
, pixel_art
, and others. This parameter enables you to add specific artistic nuances to the image, enhancing its uniqueness and alignment with your desired aesthetic.
The image_size
parameter is an optional input that determines the dimensions of the generated image. Available sizes range from 1024x1024
to 2048x1024
, allowing you to select the resolution that best suits your needs. This parameter is crucial for ensuring that the image fits the intended use, whether for digital display or print.
The model
parameter is an optional input that specifies the AI model to be used for image generation. Options include recraftv3
and recraft20b
. Choosing a model can affect the style and complexity of the generated image, as different models may have varying capabilities and strengths.
The seed
parameter is an optional input that sets the random seed for the image generation process. It is an integer value that can range from 0 to 2147483647, with a default of 0. By setting a seed, you can achieve reproducibility in the generated images, allowing for consistent results across multiple runs.
The image
parameter is the primary output of the RecraftImageGenerator node. It represents the generated image in a tensor format, which can be further processed or displayed as needed. This output is the culmination of the input parameters and the RecraftAI's interpretation, providing a visual representation of the prompt and selected styles.
seed
parameter to reproduce specific images or to explore variations by changing the seed value. This can be particularly useful for iterative design processes or when fine-tuning the visual output.prompt
parameter is left empty. The prompt is essential for guiding the image generation process.config.ini
file contains the correct RECRAFT_API_TOKEN
under the [API]
section. If it's missing, add the token to enable API access.© Copyright 2024 RunComfy. All Rights Reserved.