gen-img-ver-tex-ai
v1.0.1
Published
n8n community node for Gemini Vertex AI (Nano Banana) - supports text-to-image and multi-image editing
Downloads
95
Maintainers
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-aiThen restart n8n.
Or install via Settings → Community Nodes in the n8n UI.
Setup
- Add Google Service Account credentials in n8n
- Make sure your service account has Vertex AI User role
- 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.
