Package Information
Downloads: 0 weekly / 29 monthly
Latest Version: 0.1.2
Author: nibalee
Documentation
n8n-nodes-gemini-image
This is an n8n community node that lets you generate images using Google's Gemini models, with automatic upload to Cloudflare R2 or ImgBB.
Features
- Gemini Models: Support for Gemini 1.5 Flash, Pro, and Pro Vision.
- Reference Images: Use existing images as prompts.
- Automatic Upload: Generated images are automatically uploaded to your configured storage (R2 or ImgBB) and a public URL is returned.
- Markdown & Inline Parsing: Automatically extracts images from Gemini's markdown responses or inline data.
Credentials
You need to set up the following credentials in n8n:
- Gemini API: API Key from https://api.niba.vip.
(Note: Image storage (Cloudflare R2 / ImgBB) is now configured internally and does not require user setup.)
Installation
1. Build the Project
npm install
npm run build
2. Local Development (Linking)
If you have n8n running locally:
# In this directory
npm link
# In your n8n directory (e.g. ~/.n8n/custom)
npm link n8n-nodes-gemini-image
# Start n8n
n8n start
3. Publishing to Community
To share this node with the community:
npm login
npm publish
Once published, anyone can install it via Settings > Community Nodes > Install in n8n.