Gemini Thumbnail Editor is an AI-powered image editing tool that revolutionizes how content creators design and edit thumbnails. Built with React and powered by Google's Gemini 2.5 Flash Image model, this application makes professional thumbnail creation accessible to everyone.
- 🤖 AI-Powered Editing: Use natural language prompts to edit images with Google's Gemini AI
- 📱 Modern Interface: Clean, dark-themed UI optimized for thumbnail editing (16:9 aspect ratio)
- 🔄 Version Control: Undo/redo functionality to navigate through your editing history
- 💬 Chat Interface: Visual chat history showing all your prompts and AI responses
- 📎 Context Images: Attach reference images to guide the AI's editing process
- ⬇️ Easy Export: Download your edited thumbnails in various formats
- ⚡ Real-time Processing: Fast AI-powered image generation and editing
- Content Creators: YouTube, TikTok, Instagram thumbnail design
- Social Media Managers: Quick image editing for posts and stories
- Marketing Teams: Rapid prototyping of visual content
- Anyone: Who wants to create professional-looking thumbnails without design skills
- Frontend: React 19 + TypeScript
- Build Tool: Vite
- AI Integration: Google Gemini 2.5 Flash Image API
- Styling: Tailwind CSS (inline styles)
- Image Processing: Base64 encoding/decoding
- Node.js (v16 or higher)
- Google Gemini API Key
-
Clone the repository
git clone https://github.com/coffeefuelbump/gemini-thumbnail-editor.git cd gemini-thumbnail-editor -
Install dependencies
npm install
-
Set up your API key
- Get your Gemini API key from Google AI Studio
- Create a
.env.localfile in the root directory - Add your API key:
API_KEY=your_gemini_api_key_here
-
Run the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173to start editing thumbnails!
- Upload Your Image: Click "Upload Image" to select your base thumbnail
- Describe Your Edit: Type a natural language prompt describing what you want to change
- Add Context (Optional): Attach a reference image to guide the AI
- Generate: Click send and watch the AI create your edited thumbnail
- Iterate: Use undo/redo to explore different versions
- Download: Save your final thumbnail when you're satisfied
- "Make the text more bold and add a glowing effect"
- "Change the background to a sunset gradient"
- "Add a shocked expression to the person's face"
- "Make the colors more vibrant and eye-catching"
- "Add a 'NEW' badge in the top right corner"
gemini-thumbnail-editor/
├── components/
│ └── Icons.tsx # SVG icon components
├── services/
│ └── geminiService.ts # Gemini AI integration
├── App.tsx # Main application component
├── types.ts # TypeScript type definitions
└── index.tsx # Application entry point
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
Contributions are welcome! Feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is open source and available under the MIT License.
- Google Gemini AI for the powerful image editing capabilities
- React team for the amazing framework
- Vite for the lightning-fast build tool
Made with ❤️ by Corbin Brown