ernie / turbo / createImage:
The CivitaiImageGenComfyErnieTurboCreateImage node is designed to facilitate the creation of images using the Ernie Turbo model within the Civitai framework. This node leverages advanced AI capabilities to generate high-quality images based on user-defined parameters. It is particularly beneficial for AI artists looking to produce detailed and customized visual content efficiently. The node's primary function is to interpret input prompts and parameters to create images that align with the user's creative vision, offering a blend of flexibility and precision in image generation.
ernie / turbo / createImage Input Parameters:
prompt
The prompt parameter is a string input that serves as the primary directive for the image generation process. It guides the AI model on what kind of image to create, allowing you to specify themes, objects, or styles. The default value is an empty string, and it can be customized to suit your creative needs.
negative_prompt
The negative_prompt parameter allows you to specify elements or styles that should be avoided in the generated image. This is useful for refining the output by excluding unwanted features. It is a multiline string input with a default value of an empty string.
steps
The steps parameter determines the number of iterations the model will perform during the image generation process. More steps can lead to more refined images but will increase processing time. The default is 20, with a minimum of 1 and a maximum of 150.
cfg_scale
The cfg_scale parameter controls the guidance scale, which influences how closely the generated image follows the prompt. A higher value results in a more prompt-adherent image. The default is 4.0, with a range from 0.0 to 30.0.
seed
The seed parameter is an integer that initializes the random number generator, ensuring reproducibility of results. A default value of 0 allows for random generation, while specific values can be set for consistent outputs. The range is from 0 to 4294967295.
quantity
The quantity parameter specifies how many images to generate in a single execution. This allows for batch processing of images. The default is 1, with a minimum of 1 and a maximum of 12.
loras
The loras parameter is used to apply specific LoRA (Low-Rank Adaptation) models to the image generation process, allowing for style or content modifications. It is a specialized input type within the Civitai framework.
diffusion_model
The diffusion_model parameter selects the diffusion model to be used for image generation. This choice affects the style and quality of the output image, providing flexibility in artistic expression.
width
The width parameter sets the width of the generated image in pixels. The default is 1024, with a minimum of 64 and a maximum of 2048, allowing for a range of image sizes.
height
The height parameter sets the height of the generated image in pixels. Similar to width, the default is 1024, with a minimum of 64 and a maximum of 2048.
api_config
The api_config parameter is used for optional authentication with Civitai's API, allowing for enhanced features or access. It defaults to using the CIVITAI_API_TOKEN or stored OAuth login.
ernie / turbo / createImage Output Parameters:
images
The images output parameter provides the generated images as a result of the node's execution. These images are the visual representation of the input prompts and parameters, ready for further use or refinement.
ernie / turbo / createImage Usage Tips:
- Experiment with different
promptandnegative_promptcombinations to fine-tune the artistic style and content of your images. - Adjust the
stepsandcfg_scaleparameters to balance between image quality and generation time, especially when working with complex prompts. - Use the
seedparameter to reproduce specific results, which is useful for iterative design processes or when sharing settings with others.
ernie / turbo / createImage Common Errors and Solutions:
"Invalid prompt format"
- Explanation: The prompt provided is not in a valid string format.
- Solution: Ensure that the prompt is a properly formatted string and does not contain unsupported characters.
"API authentication failed"
- Explanation: The node could not authenticate with the Civitai API.
- Solution: Verify that your
api_configis correctly set up with a validCIVITAI_API_TOKENor OAuth credentials.
"Image size out of bounds"
- Explanation: The specified width or height is outside the allowable range.
- Solution: Adjust the
widthandheightparameters to be within the 64 to 2048 pixel range.
