google / nano-banana-pro:
CivitaiImageGenGoogleNanoBananaPro is a powerful node designed to generate or edit images using Google's advanced image generation technology, specifically the Nano Banana Pro model. This node leverages the capabilities of the Google Vertex API to provide high-quality image outputs, making it an excellent tool for AI artists looking to create visually stunning and unique images. The node is particularly beneficial for those who wish to explore creative possibilities in digital art, as it offers a seamless integration of Google's cutting-edge image processing techniques. By utilizing this node, you can efficiently produce images that are not only aesthetically pleasing but also tailored to your specific artistic vision.
google / nano-banana-pro Input Parameters:
prompt
The prompt parameter is a required input that serves as the textual description or idea you want the image to represent. It allows you to guide the image generation process by providing a detailed narrative or concept. This parameter supports multiline input, enabling you to craft complex and nuanced prompts. The default value is an empty string, meaning you need to provide your own prompt to generate meaningful results.
output_format
The output_format parameter allows you to specify the desired format for the generated image. You can choose from options such as jpeg, png, or webP, with the default being an empty string, which typically defaults to a standard format like jpeg. Selecting the appropriate format can impact the image's quality and file size, so choose based on your specific needs.
image_metadata
The image_metadata parameter is an optional string input where you can include external metadata to be stored with the image. This can be useful for adding additional information or context to the image, such as creation date, author, or any other relevant details. The default value is an empty string, indicating no metadata will be added unless specified.
aspect_ratio
The aspect_ratio parameter allows you to define the proportions of the generated image. You can select from various common aspect ratios such as 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, and 9:16. The default aspect ratio is 1:1, which produces a square image. Choosing the right aspect ratio is crucial for ensuring the image fits your intended display or use case.
num_images
The num_images parameter specifies the number of images you wish to generate in a single execution. You can generate between 1 and 4 images, with the default being 1. This parameter is useful when you want to explore multiple variations of an image based on the same prompt.
resolution
The resolution parameter determines the quality and size of the generated image. You can choose from 1K, 2K, or 4K resolutions, with 1K being the default. Higher resolutions result in more detailed images but may require more processing time and resources.
images
The images parameter is used to input existing images that you may want to edit or use as a reference for generating new images. This parameter allows for greater flexibility and creativity in the image generation process.
api_config
The api_config parameter is an optional configuration that allows you to connect to the Civitai Auth system. It defaults to using the CIVITAI_API_TOKEN or a stored OAuth login. This configuration is essential for authenticating and authorizing your access to the Google Vertex API, ensuring secure and efficient image generation.
google / nano-banana-pro Output Parameters:
generated_images
The generated_images output parameter provides the resulting images created by the node. These images are the visual representation of the input prompt and any additional parameters you have configured. The quality and style of the images depend on the input settings and the capabilities of the Nano Banana Pro model.
google / nano-banana-pro Usage Tips:
- Experiment with different
promptdescriptions to explore a wide range of creative possibilities and achieve diverse artistic outcomes. - Adjust the
aspect_ratioandresolutionparameters to tailor the images for specific display formats or quality requirements, ensuring they meet your project's needs.
google / nano-banana-pro Common Errors and Solutions:
Invalid API Token
- Explanation: This error occurs when the API token provided in the
api_configis invalid or expired. - Solution: Ensure that you have a valid
CIVITAI_API_TOKENor OAuth login configured. Check your token's validity and update it if necessary.
Unsupported Output Format
- Explanation: This error arises when an unsupported format is selected in the
output_formatparameter. - Solution: Verify that the format you selected is among the supported options (
jpeg,png,webP) and adjust accordingly.
Exceeded Image Limit
- Explanation: This error occurs when the
num_imagesparameter exceeds the maximum allowed value. - Solution: Ensure that the
num_imagesvalue is between 1 and 4, and adjust it to fit within this range.
