ComfyUI > Nodes > GrsAI api in ComfyUI > 🍌 GrsAI Nano Banana - Text/Image

ComfyUI Node: 🍌 GrsAI Nano Banana - Text/Image

Class Name

Grsai_NanoBanana

Category
GrsAI/Nano Banana
Author
cmdicely (Account age: 2654days)
Extension
GrsAI api in ComfyUI
Latest Updated
2026-03-16
Github Stars
0.07K

How to Install GrsAI api in ComfyUI

Install this extension via the ComfyUI Manager by searching for GrsAI api in ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter GrsAI api in ComfyUI 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

🍌 GrsAI Nano Banana - Text/Image Description

Grsai_NanoBanana enables text-to-image and image-to-image transformations using Nano Banana API.

🍌 GrsAI Nano Banana - Text/Image:

The Grsai_NanoBanana node is a versatile image generation tool designed to facilitate both text-to-image and image-to-image transformations. It leverages the Nano Banana API to produce high-quality images based on user inputs, which can include textual descriptions or reference images. This node is particularly beneficial for AI artists looking to create or modify images with ease, offering the flexibility to work with multiple reference images or none at all, depending on the desired outcome. The node's primary goal is to streamline the creative process by providing a seamless interface for generating images, whether starting from scratch with a text prompt or enhancing existing visuals.

🍌 GrsAI Nano Banana - Text/Image Input Parameters:

grsai_api_key

The grsai_api_key is a crucial input parameter that authenticates your access to the Nano Banana API. Without a valid API key, the node cannot function, as it relies on this key to communicate with the API and perform image generation tasks. Ensure that you have obtained a valid API key from the service provider and input it correctly to avoid authentication errors.

uploaded_urls

This parameter accepts a list of URLs pointing to reference images that you wish to use for image-to-image transformations. By providing one or more URLs, you can guide the image generation process to produce results that align closely with the visual characteristics of the reference images. If no URLs are provided, the node defaults to text-to-image generation based on the provided prompt.

aspect_ratio

The aspect_ratio parameter allows you to specify the desired width-to-height ratio for the generated images. This can be particularly useful for ensuring that the output images fit specific display or print formats. Common aspect ratios include "16:9" for widescreen displays and "4:3" for traditional monitors. Adjusting this parameter can significantly impact the composition and framing of the generated images.

image_size

The image_size parameter determines the resolution of the output images. Higher resolutions result in more detailed images but may require more processing time and resources. The node supports various predefined sizes, such as "1K" for standard quality and "8K" for ultra-high definition. Selecting the appropriate image size is crucial for balancing quality and performance, especially when working with large datasets or complex scenes.

🍌 GrsAI Nano Banana - Text/Image Output Parameters:

ui

The ui output parameter provides a status message that summarizes the image generation process. It includes details such as the model used, the number of reference images, and the number of successfully generated images. This information is useful for quickly assessing the outcome of the node's execution and identifying any potential issues.

result

The result output parameter contains the generated images in tensor format, along with a status message. The tensor format is suitable for further processing or analysis within the ComfyUI environment. The accompanying status message provides additional context about the generation process, including any errors encountered or specific settings applied.

🍌 GrsAI Nano Banana - Text/Image Usage Tips:

  • Ensure that your API key is valid and correctly entered to avoid authentication errors and ensure smooth operation of the node.
  • Experiment with different aspect ratios and image sizes to achieve the desired visual effect and optimize the output for your specific use case.
  • Utilize multiple reference images to guide the image generation process and achieve more accurate and visually appealing results.

🍌 GrsAI Nano Banana - Text/Image Common Errors and Solutions:

"Nano Banana API 调用失败: <error_message>"

  • Explanation: This error indicates that the node encountered an issue while attempting to communicate with the Nano Banana API.
  • Solution: Verify that your API key is correct and that there are no network connectivity issues. If the problem persists, check the error message for specific details and consult the API documentation or support for further assistance.

"All image generations failed."

  • Explanation: This error occurs when the node is unable to generate any images, possibly due to invalid input parameters or API limitations.
  • Solution: Review the input parameters, such as the prompt and reference images, to ensure they are valid and within the API's supported range. Adjust the parameters as needed and try again.

"Image editing failed."

  • Explanation: This error suggests that the node was unable to process the provided reference images for image-to-image transformation.
  • Solution: Check the URLs of the reference images to ensure they are accessible and properly formatted. Consider using different images or adjusting the aspect ratio and image size settings.

🍌 GrsAI Nano Banana - Text/Image Related Nodes

Go back to the extension to check out more related nodes.
GrsAI api in ComfyUI
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.