sdxl / comfy / createVariant:
The CivitaiImageGenComfySdxlCreateVariant node is designed to facilitate the creation of image variants using the Civitai orchestration framework. This node leverages advanced image generation techniques to produce diverse and high-quality image outputs based on specified parameters. It is particularly beneficial for AI artists looking to explore creative variations of a base image or concept, allowing for experimentation with different styles, configurations, and artistic expressions. By utilizing this node, you can efficiently generate multiple image variants, each with unique characteristics, while maintaining control over the generation process through customizable parameters.
sdxl / comfy / createVariant Input Parameters:
steps
The steps parameter determines the number of iterations the image generation process will undergo. More steps typically result in higher quality images, as the model has more opportunities to refine the output. The minimum value is 1, the maximum is 150, and the default is 30.
cfg_scale
The cfg_scale parameter controls the guidance scale, which influences how closely the generated image adheres to the input prompt. A higher value makes the image more aligned with the prompt, while a lower value allows for more creative freedom. The range is from 0.0 to 30.0, with a default of 4.0.
seed
The seed parameter is used to initialize the random number generator, ensuring reproducibility of the generated images. By setting a specific seed, you can recreate the same image variant. The seed value ranges from 0 to 4294967295, with a default of 0.
quantity
The quantity parameter specifies the number of image variants to generate in a single execution. This allows for batch processing and exploration of multiple outputs. The minimum is 1, the maximum is 12, and the default is 1.
loras
The loras parameter allows you to apply specific LoRA (Low-Rank Adaptation) models to the image generation process, enabling style transfer or other modifications based on pre-trained models.
diffuser_model
The diffuser_model parameter specifies the diffusion model to be used for image generation. This choice affects the style and characteristics of the output images.
control_nets
The control_nets parameter provides additional control over the image generation process by integrating control networks, which can guide the model in producing specific features or styles.
width
The width parameter sets the width of the generated images in pixels. It allows you to define the resolution of the output, with a range from 64 to 2048 pixels and a default of 1024 pixels.
height
The height parameter sets the height of the generated images in pixels, similar to the width parameter. It also ranges from 64 to 2048 pixels, with a default of 1024 pixels.
api_config
The api_config parameter is used to configure the Civitai API connection, which can include authentication details. It defaults to using the CIVITAI_API_TOKEN or stored OAuth login.
sdxl / comfy / createVariant Output Parameters:
generated_images
The generated_images parameter outputs the array of image variants created by the node. Each image in the array represents a unique variant based on the input parameters, allowing you to explore different artistic possibilities.
sdxl / comfy / createVariant Usage Tips:
- Experiment with different
cfg_scalevalues to balance between adherence to the prompt and creative freedom in the generated images. - Use the
seedparameter to reproduce specific image variants, which is useful for iterative design processes or when sharing results with others. - Adjust the
stepsparameter to improve image quality, especially for complex or detailed prompts.
sdxl / comfy / createVariant Common Errors and Solutions:
"Invalid API Token"
- Explanation: This error occurs when the API token provided in the
api_configis invalid or missing. - Solution: Ensure that the
CIVITAI_API_TOKENis correctly set in your environment or provide a valid token in theapi_config.
"Image Dimensions Out of Range"
- Explanation: This error is triggered when the specified
widthorheightis outside the allowed range. - Solution: Verify that the
widthandheightparameters are within the range of 64 to 2048 pixels.
"Exceeded Maximum Quantity"
- Explanation: This error occurs when the
quantityparameter exceeds the maximum allowed value. - Solution: Adjust the
quantityparameter to be within the range of 1 to 12.
