A powerful visual workflow builder for AI-powered image generation and editing. Create complex image processing pipelines using Google's Gemini AI with an intuitive drag-and-drop interface.
- Image Upload - Upload and import images to start your workflow
- Generate Image - Create new images from text prompts using Gemini AI
- Edit Image - Modify and combine multiple images with AI assistance
- Image Result - Display and download processed images
- Visual Canvas - Drag-and-drop interface for building image workflows
- Node Connections - Connect nodes to create complex processing pipelines
- Real-time Processing - Execute workflows and see results instantly
- Mobile Optimized - Touch-friendly interface for mobile devices
- API Key Management - Secure storage of your Gemini API key
- Responsive Design - Works seamlessly on desktop, tablet, and mobile
- Clear Workflow - Reset and start fresh with one click
- Settings Panel - Configure your workflow preferences
- Node.js 18+ installed
- Google Gemini API key
-
Clone the repository
git clone <repository-url> cd ai-apps-collection/nano-banana-image-workflow-nextjs
-
Install dependencies
npm install # or yarn install # or pnpm install # or bun install
-
Start the development server
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open the app Navigate to http://localhost:3000 in your browser.
- Get your free Gemini API key from Google AI Studio
- Click the Settings button in the app
- Enter your API key and save
- Enter API Key - Add your Gemini API key in settings
- Drag Components - Drag node types from sidebar to canvas
- Connect Nodes - Connect output ports (right) to input ports (left)
- Process Workflow - Click process buttons to generate/edit images
- Download Results - Save your processed images
Text-to-Image Generation
- Drag "Generate Image" node to canvas
- Enter your text prompt
- Click "Generate Image" to create
Image Editing
- Drag "Image Upload" node and upload an image
- Drag "Edit Image" node
- Connect the uploaded image to edit node
- Enter editing instructions
- Click "Edit Image" to process
- Framework: Next.js 15 with App Router
- UI Components: Radix UI + Custom components
- Styling: Tailwind CSS 4
- State Management: Zustand
- Workflow Canvas: React Flow (@xyflow/react)
- AI Integration: Google Gemini API
- TypeScript: Full type safety
- Icons: Lucide React
- Touch-optimized interface
- Mobile-friendly node tabs
- Responsive design
- Gesture support for workflow navigation
npm run build
npm run startnpm run lintsrc/
├── app/ # Next.js app directory
├── components/ # React components
│ ├── ui/ # Base UI components
│ ├── workflow-*.tsx # Workflow-related components
│ └── *-node.tsx # Individual node components
├── stores/ # Zustand state stores
└── lib/ # Utility functions
This project is part of the Build Fast with AI ecosystem. Want to build apps like this? Check out the Gen AI Launchpad Course.
This project is open source and available under the MIT License.
Powered by Build Fast with AI 🚀