Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > civitai-comfy-nodes > google / nano-banana-2

ComfyUI Node: google / nano-banana-2

Class Name

CivitaiImageGenGoogleNanoBanana2

Category
Civitai/Image/google
Author
civitai (Account age: 1322days)
Extension
civitai-comfy-nodes
Latest Updated
2026-06-18
Github Stars
0.02K

How to Install civitai-comfy-nodes

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

google / nano-banana-2 Description

Powerful node for generating high-quality images using Google's advanced technology, part of Civitai suite for AI-enhanced creative workflows.

google / nano-banana-2:

CivitaiImageGenGoogleNanoBanana2 is a powerful node designed to facilitate the generation of images using Google's advanced image generation technology. This node is part of the Civitai suite, which integrates various AI models to enhance creative workflows. The primary purpose of this node is to enable users to create high-quality images based on textual prompts, leveraging Google's Nano Banana 2 model. It offers a range of customization options, allowing you to specify the desired output format, aspect ratio, and resolution, among other parameters. This flexibility makes it an invaluable tool for AI artists looking to produce visually stunning and contextually relevant images. By utilizing this node, you can streamline your creative process, experiment with different styles, and achieve professional-grade results with ease.

google / nano-banana-2 Input Parameters:

prompt

The prompt parameter is a required input that serves as the textual description or idea you want to visualize. It guides the image generation process by providing context and direction to the AI model. The prompt can be a single word, a phrase, or a detailed description, and it supports multiline input for more complex ideas. This parameter is crucial as it directly influences the content and theme of the generated image.

output_format

The output_format parameter allows you to specify the desired file format for the generated image. Options include jpeg, png, and webP, with an empty string as the default, which may use a standard format. Choosing the right format can impact the image's quality and file size, making it important for optimizing storage and compatibility with different platforms.

image_metadata

The image_metadata parameter is an optional string input that lets you attach external metadata to the generated image. This metadata can include information such as the creation date, author, or any other relevant details you wish to store alongside the image. It is useful for cataloging and managing your image assets effectively.

negative_prompt

The negative_prompt parameter is an optional input that allows you to specify elements or themes you want to avoid in the generated image. By providing a negative prompt, you can refine the output and ensure that certain unwanted features are minimized or excluded, enhancing the relevance and quality of the final image.

aspect_ratio

The aspect_ratio parameter lets you define the proportions of the generated image. Available options include 1:1, 16:9, 9:16, 3:4, and 4:3, with 1:1 as the default. Selecting the appropriate aspect ratio is important for ensuring that the image fits the intended display or publication format.

num_images

The num_images parameter determines the number of images to generate in a single execution. It accepts integer values ranging from 1 to 4, with a default of 1. This parameter is useful for generating multiple variations of an image based on the same prompt, allowing for greater creative exploration and selection.

seed

The seed parameter is an optional integer input that controls the randomness of the image generation process. It accepts values from 0 to 4294967295, with a default of 0. By setting a specific seed, you can reproduce the same image output across different sessions, which is useful for consistency and experimentation.

api_config

The api_config parameter is an optional configuration setting that allows you to specify authentication details for connecting to the Civitai API. It defaults to using the CIVITAI_API_TOKEN or stored OAuth login. This parameter is essential for accessing the full capabilities of the Civitai platform and ensuring secure communication with the API.

google / nano-banana-2 Output Parameters:

images

The images output parameter provides the generated image(s) based on the input prompt and other specified parameters. This output is crucial as it represents the final visual product of the node's execution, ready for use in various creative projects or further processing.

google / nano-banana-2 Usage Tips:

  • Experiment with different prompts and negative prompts to fine-tune the image output and achieve the desired artistic effect.
  • Utilize the aspect_ratio and resolution parameters to ensure that the generated images meet the specific requirements of your project or platform.
  • Use the seed parameter to reproduce specific image outputs, which can be helpful for iterative design processes or when collaborating with others.

google / nano-banana-2 Common Errors and Solutions:

Invalid API Token

  • Explanation: This error occurs when the API token provided in the api_config parameter is invalid or missing.
  • Solution: Ensure that you have a valid CIVITAI_API_TOKEN set in your environment or provide the correct OAuth login details in the api_config.

Unsupported Output Format

  • Explanation: This error arises when an unsupported value is specified for the output_format parameter.
  • Solution: Verify that the output_format is set to one of the supported options: jpeg, png, or webP.

Exceeded Image Limit

  • Explanation: This error occurs when the num_images parameter is set to a value outside the allowed range of 1 to 4.
  • Solution: Adjust the num_images parameter to a value within the specified range to comply with the node's limitations.

google / nano-banana-2 Related Nodes

Go back to the extension to check out more related nodes.
civitai-comfy-nodes
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.

google / nano-banana-2