JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q66755F
  • License MIT

n8n community node for Gemini Vertex AI (Nano Banana) - supports text-to-image and multi-image editing

Package Exports

  • n8n-nodes-gen-img-ver-tex-ai
  • n8n-nodes-gen-img-ver-tex-ai/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-gen-img-ver-tex-ai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gen-img-ver-tex-ai 🍌

Custom n8n node for Gemini Vertex AI (aka Nano Banana) via Google Cloud.

Supports:

  • ✅ Text-to-image generation
  • ✅ Single image editing
  • ✅ Multi-image fusion (combine multiple images)
  • ✅ Clean binary image output

Installation

In your self-hosted n8n:

# Go to your n8n custom nodes folder
cd ~/.n8n/custom

# Install the node
npm install gen-img-ver-tex-ai

Then restart n8n.

Or install via Settings → Community Nodes in the n8n UI.


Setup

  1. Add Google Service Account credentials in n8n
  2. Make sure your service account has Vertex AI User role
  3. Enable Vertex AI API in your GCP project

Node Parameters

Parameter Description
GCP Project ID Your Google Cloud project ID
Model ID The ID of the model (default: gemini-2.5-flash-image-preview)
Prompt Text describing what to generate or how to edit
Input Images Optional: binary fields of images to edit/combine
Output Binary Field Name of the output binary field (default: image)
Output Filename Filename for the generated image

Usage Examples

Text-to-Image

  • Leave Input Images empty
  • Set prompt: "A black cat sitting by a window at sunset, photorealistic"

Edit an Image

  • Add one image in Input Images pointing to your binary field
  • Set prompt: "Make this cat wear a wizard hat"

Multi-Image Fusion

  • Add multiple images in Input Images
  • Set prompt: "Combine these two products into one marketing photo"

Pricing

Each image costs ~$0.039 (1290 tokens at $30/1M tokens) from your Vertex AI credits.