Skip to content

stefankuburovic/MemeAI

Repository files navigation

MemeGen AI 🤖✨

MemeGen AI is a next-generation meme creator powered by Google's Gemini API. It goes beyond simple text overlays by understanding your images to generate hilarious, context-aware captions and allowing for AI-driven image editing.

Meme Editor Preview

🚀 Features

🧠 AI Intelligence

  • Magic Captions: Uses gemini-3-pro-preview to analyze your uploaded image and generate 5 witty, context-aware captions instantly.
  • Multi-Language Support: Generate memes in over 30 European languages.
  • Tone Selection: Choose your vibe — from "Sarcastic" and "Cynical" to "Wholesome" and "Absurd".
  • AI Image Editing: Use natural language prompts (e.g., "Add sunglasses", "Make it pixel art") to modify your base image using gemini-2.5-flash-image.

🎨 Powerful Editor

  • Text Customization: Full control over font families (Impact, Oswald, Comic Sans), sizing, and alignment.
  • Text Effects: Apply classic outlines, drop shadows, or neon glows.
  • Smart Formatting: Automatic text wrapping and positioning for top/bottom text.

📱 Mobile First

  • Camera Integration: Take photos directly from the app on mobile devices.
  • Native Sharing: Share directly to WhatsApp, Instagram, or Messages using the Web Share API.
  • iOS & Android Optimized: Smooth touch controls and optimized download/save flows.

💾 History & Utils

  • Local History: Automatically saves your last 5 creations for quick re-editing.
  • Paste Support: Ctrl+V to paste images directly from your clipboard.

🛠️ Tech Stack

  • Frontend: React, TypeScript, Tailwind CSS
  • AI: Google Gemini API (gemini-3-pro-preview, gemini-2.5-flash-image)
  • Icons: Lucide React
  • Build: Vite

📸 Screenshots

Upload Screen AI Tools Mobile View
Upload AI Tools Mobile

⚡ Getting Started

  1. Clone the repository.
  2. Install dependencies: npm install
  3. Set your API key in the environment variables.
  4. Run the dev server: npm run dev

Powered by Google Gemini

About

AI-powered meme generator. Users can upload an image or select trending templates. The core feature is a "Magic Caption" button: when clicked, AI analyzes the image context and suggests 5 funny, relevant captions that the user can click to instantly overlay on the image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors