KIE Nano Banana Pro (Image):
The KIE Nano Banana Pro (Image) node is designed to generate high-quality images based on a given text prompt, utilizing the advanced capabilities of the Nano Banana Pro model. This node allows you to create visually compelling images by leveraging the power of AI, making it an invaluable tool for artists and designers looking to explore creative possibilities. The node supports the inclusion of up to eight reference images to guide the generation process, offering flexibility in achieving the desired artistic outcome. With options to customize the aspect ratio, resolution, and output format, the KIE Nano Banana Pro (Image) node provides a versatile platform for producing images that meet specific artistic and technical requirements. Its user-friendly interface and robust functionality make it accessible to users with varying levels of technical expertise, enabling them to focus on the creative aspects of their projects.
KIE Nano Banana Pro (Image) Input Parameters:
prompt
The prompt parameter is a required text input that serves as the primary directive for the image generation process. It allows you to describe the scene, objects, or themes you wish to see in the generated image. This parameter supports multiline text, enabling detailed and complex descriptions. The prompt is crucial as it directly influences the content and style of the resulting image. There is no explicit minimum or maximum length mentioned, but it is advisable to keep the prompt concise yet descriptive to ensure optimal results.
images
The images parameter is an optional input that allows you to provide up to eight reference images. These images can guide the AI in generating an output that aligns with specific visual styles or elements present in the references. This parameter is particularly useful when you want to maintain consistency with existing artwork or when aiming for a particular aesthetic. If no images are provided, the node will rely solely on the text prompt.
aspect_ratio
The aspect_ratio parameter allows you to define the proportions of the output image. It offers several predefined options, including "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9", and "auto". The default setting is "auto", which automatically determines the best aspect ratio based on the input. Choosing the right aspect ratio is important for ensuring that the image fits the intended display or print format.
resolution
The resolution parameter specifies the desired output resolution of the generated image. Available options are "1K", "2K", and "4K", with "1K" being the default setting. Higher resolutions result in more detailed images but may require more processing time and resources. Selecting the appropriate resolution depends on the intended use of the image, such as web display or high-quality prints.
output_format
The output_format parameter determines the file format of the generated image, with options including "png" and "jpg". The default format is "png", which is suitable for images requiring lossless compression and transparency. The choice of format can affect the image's quality and file size, so it should be selected based on the specific requirements of your project.
log
The log parameter is a boolean option that enables or disables console logging during the image generation process. By default, logging is turned on (True), providing you with real-time feedback and insights into the node's operations. This can be helpful for troubleshooting and understanding the generation process, but it can be turned off (False) if you prefer a cleaner console output.
KIE Nano Banana Pro (Image) Output Parameters:
image
The image output parameter provides the generated image as a ComfyUI image tensor, formatted as BHWC (Batch, Height, Width, Channels) with float32 values ranging from 0 to 1. This output is the culmination of the input parameters and the AI's interpretation of the prompt and reference images. The tensor format is suitable for further processing or direct use in applications that support this data structure. The generated image can be used for a variety of creative and professional purposes, depending on the user's needs.
KIE Nano Banana Pro (Image) Usage Tips:
- To achieve the best results, craft a detailed and specific prompt that clearly conveys your vision for the image. Consider including key elements, colors, and styles that you want to see in the final output.
- Utilize the reference images parameter to guide the AI towards a particular style or theme. This is especially useful when working on projects that require consistency with existing artwork.
- Experiment with different aspect ratios and resolutions to find the best fit for your project. Higher resolutions provide more detail but may require more processing time.
- If you encounter issues or unexpected results, enable logging to gain insights into the generation process and identify potential areas for adjustment.
KIE Nano Banana Pro (Image) Common Errors and Solutions:
Invalid aspect_ratio. Use the pinned enum options.
- Explanation: This error occurs when an unsupported aspect ratio is selected.
- Solution: Ensure that the aspect ratio is one of the predefined options: "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9", or "auto".
Invalid resolution. Use the pinned enum options.
- Explanation: This error indicates that the selected resolution is not supported.
- Solution: Choose a resolution from the available options: "1K", "2K", or "4K".
Invalid output_format. Use the pinned enum options.
- Explanation: This error arises when an unsupported output format is chosen.
- Solution: Select either "png" or "jpg" as the output format.
More than 8 images provided; only first 8 used.
- Explanation: This warning appears when more than eight reference images are supplied.
- Solution: Limit the number of reference images to eight or fewer to ensure all are considered in the generation process.
