Installation
This guide walks you through setting up Node Banana on your local machine.
Prerequisites
Before installing Node Banana, make sure you have:
- Node.js 18.0 or later — Download Node.js (opens in a new tab)
- At least one AI provider API key:
- Google Gemini — Get API key (opens in a new tab)
- Replicate — Get API key (opens in a new tab)
- fal.ai — Get API key (opens in a new tab)
- OpenAI API key (optional) — Only needed for OpenAI text generation
Installation Steps
1. Clone the Repository
git clone https://github.com/shrimbly/node-banana.git
cd node-banana2. Install Dependencies
npm install3. Configure Environment Variables
Create a .env.local file in the project root:
touch .env.localAdd your API keys (include at least one AI provider):
# AI Providers (at least one required)
GEMINI_API_KEY=your_gemini_api_key_here
REPLICATE_API_TOKEN=your_replicate_api_token_here
FAL_KEY=your_fal_api_key_here
# Optional
OPENAI_API_KEY=your_openai_api_key_hereNever commit your .env.local file to version control. It's already in .gitignore by default.
4. Start the Development Server
npm run devNode Banana will be available at http://localhost:3000 (opens in a new tab).
Getting Your API Keys
You need at least one AI provider API key. You can configure multiple providers to access different models.
Google Gemini API Key
- Go to Google AI Studio (opens in a new tab)
- Sign in with your Google account
- Click "Create API Key"
- Copy the key and add it to your
.env.localfile
The Gemini API has a free tier with generous limits. Check Google's pricing (opens in a new tab) for details.
Replicate API Token
- Go to Replicate (opens in a new tab)
- Sign in or create an account
- Copy your API token
- Add it to your
.env.localfile asREPLICATE_API_TOKEN
Replicate offers pay-per-use pricing with access to thousands of open-source models. Check Replicate pricing (opens in a new tab) for details.
fal.ai API Key
- Go to fal.ai Dashboard (opens in a new tab)
- Sign in or create an account
- Create a new API key
- Add it to your
.env.localfile asFAL_KEY
fal.ai offers fast inference with competitive pricing. Check fal.ai pricing (opens in a new tab) for details.
OpenAI API Key (Optional)
- Go to OpenAI Platform (opens in a new tab)
- Sign in or create an account
- Click "Create new secret key"
- Copy the key and add it to your
.env.localfile
Verifying Your Installation
After starting the dev server:
- Open http://localhost:3000 (opens in a new tab) in Chrome
- You should see the Node Banana canvas with a floating action bar at the bottom
- Try adding a Prompt node and a Generate node
- If you can add nodes and connect them, your installation is working
Troubleshooting
"API key not found" error
Make sure your .env.local file is in the project root (same folder as package.json) and contains valid API keys.
Port 3000 already in use
Either stop the other process using port 3000, or start Node Banana on a different port:
npm run dev -- -p 3001Nodes not generating images
- Check that your Gemini API key is valid
- Verify you have remaining API quota
- Check the browser console for error messages
Next Steps
Now that Node Banana is running, continue to Your First Workflow to create your first image generation pipeline.