sd1 / comfy / createVariant:
The CivitaiImageGenComfySd1CreateVariant 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 creative image outputs based on specified parameters. It is particularly useful for AI artists looking to explore different visual styles or variations of a base image. By utilizing this node, you can efficiently generate multiple image variants, each with unique characteristics, while maintaining control over various aspects of the image generation process. This node is an essential tool for those seeking to expand their creative possibilities and experiment with different artistic expressions.
sd1 / comfy / createVariant Input Parameters:
steps
The steps parameter determines the number of iterations the image generation process will undergo. A higher number of steps typically results in more refined and detailed images, but it also increases the processing time. 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 minimum value is 0.0, the maximum is 30.0, and the default is 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 value, you can generate the same image variant consistently. The minimum value is 0, the maximum is 4294967295, and the default is 0.
quantity
The quantity parameter specifies the number of image variants to generate. This allows you to create multiple versions of an image in a single execution. The minimum value 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. These models can modify the style or content of the generated images, providing additional customization options.
diffuser_model
The diffuser_model parameter specifies the diffusion model to be used for image generation. Different models can produce varying artistic effects and styles, allowing you to tailor the output to your preferences.
control_nets
The control_nets parameter enables the use of control networks, which can guide the image generation process by imposing certain constraints or conditions. This can be useful for achieving specific visual outcomes.
width
The width parameter defines the width of the generated images in pixels. Adjusting this value allows you to control the aspect ratio and resolution of the output. The minimum value is 64, the maximum is 2048, and the default is 1024.
height
The height parameter defines the height of the generated images in pixels. Similar to the width parameter, it affects the aspect ratio and resolution. The minimum value is 64, the maximum is 2048, and the default is 1024.
api_config
The api_config parameter provides optional configuration for Civitai authentication. It defaults to using the CIVITAI_API_TOKEN or a stored OAuth login, ensuring secure access to the Civitai services.
sd1 / comfy / createVariant Output Parameters:
image_variants
The image_variants output parameter contains the generated image variants. Each variant is a unique image created based on the input parameters, offering a range of visual styles and interpretations. This output is essential for reviewing and selecting the most suitable image variant for your artistic needs.
sd1 / comfy / createVariant Usage Tips:
- Experiment with different
cfg_scalevalues to find the right balance between adherence to the prompt and creative freedom. - Use the
seedparameter to reproduce specific image variants, which is useful for iterative design processes. - Adjust the
stepsparameter to refine image details, especially when working with complex prompts or styles.
sd1 / comfy / createVariant Common Errors and Solutions:
"Invalid seed value"
- Explanation: The seed value provided is outside the acceptable range.
- Solution: Ensure the seed value is between 0 and 4294967295.
"Exceeded maximum quantity"
- Explanation: The quantity of image variants requested exceeds the maximum limit.
- Solution: Reduce the quantity to a maximum of 12.
"API authentication failed"
- Explanation: The API configuration is incorrect or missing.
- Solution: Verify the
api_configsettings and ensure a validCIVITAI_API_TOKENor OAuth login is used.
