lens / turbo / createImage:
The CivitaiImageGenComfyLensTurboCreateImage node is designed to generate images using the "turbo" mode of the Civitai Lens model. This node is part of the Civitai image generation suite, which provides advanced capabilities for creating high-quality images with enhanced speed and efficiency. The turbo mode is optimized for faster processing, making it ideal for scenarios where quick image generation is required without compromising on quality. This node leverages the power of diffusion models and other advanced techniques to produce visually appealing images, making it a valuable tool for AI artists looking to explore creative possibilities with minimal latency.
lens / turbo / createImage Input Parameters:
steps
The steps parameter determines the number of iterations the model will perform during the image generation process. More steps generally lead to 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 20.
cfg_scale
The cfg_scale parameter controls the guidance scale, which influences how strongly the model adheres to the input prompt. A higher value results in images that more closely match 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 results. By setting a specific seed, you can generate the same image multiple times. The default value is 0, with a range from 0 to 4294967295.
quantity
The quantity parameter specifies the number of images to generate in a single batch. This allows for the creation of multiple variations of an image based on the same input parameters. The default is 1, with a minimum of 1 and a maximum of 12.
loras
The loras parameter allows you to apply specific styles or modifications to the generated images using Civitai's LORA models. This can be used to introduce stylistic elements or thematic variations.
diffusion_model
The diffusion_model parameter specifies the diffusion model to be used for image generation. This model is responsible for the underlying process of creating the image from noise.
width
The width parameter sets the width of the generated image in pixels. It allows you to define the horizontal resolution of the output image. The default is 1024 pixels, with a range from 64 to 2048 pixels.
height
The height parameter sets the height of the generated image in pixels, defining the vertical resolution. The default is 1024 pixels, with a range from 64 to 2048 pixels.
api_config
The api_config parameter provides optional authentication settings for connecting to the Civitai API. It defaults to using the CIVITAI_API_TOKEN or a stored OAuth login, facilitating secure access to Civitai's services.
lens / turbo / createImage Output Parameters:
image
The image output parameter represents the final generated image(s) produced by the node. This output is the culmination of the input parameters and the image generation process, providing you with the visual result of your configuration.
lens / turbo / createImage Usage Tips:
- Experiment with different
cfg_scalevalues to balance between adherence to the prompt and creative freedom. - Use the
seedparameter to reproduce specific images or explore variations by changing the seed value. - Adjust the
stepsparameter to find the optimal balance between image quality and generation speed.
lens / turbo / createImage Common Errors and Solutions:
"Invalid parameter value"
- Explanation: This error occurs when one or more input parameters are set outside their allowed range.
- Solution: Ensure all parameters are within their specified ranges and adjust any that are not.
"API authentication failed"
- Explanation: This error indicates that the API configuration is incorrect or missing.
- Solution: Verify your
api_configsettings and ensure that yourCIVITAI_API_TOKENor OAuth login is correctly configured.
