ComfyUI > Nodes > ComfyUI-Kie-API > KIE Nano Banana Pro (Image)

ComfyUI Node: KIE Nano Banana Pro (Image)

Class Name

KIE_NanoBananaPro_Image

Category
kie/api
Author
gateway (Account age: 5593days)
Extension
ComfyUI-Kie-API
Latest Updated
2026-04-05
Github Stars
0.02K

How to Install ComfyUI-Kie-API

Install this extension via the ComfyUI Manager by searching for ComfyUI-Kie-API
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Kie-API in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

KIE Nano Banana Pro (Image) Description

Generates high-quality images from text prompts using AI, supporting up to 8 reference images.

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.

KIE Nano Banana Pro (Image) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Kie-API
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

KIE Nano Banana Pro (Image)