A Flask-based web application that uses Google's Gemini Vision model to analyze images and estimate whether they appear Human-Created or AI-Generated.
- Image upload and drag-and-drop support
- Live image preview
- Gemini Vision powered analysis
- Confidence score visualization
- Detailed reasoning and insights
- Modern responsive UI
- Secure API key handling using
.env
- Python
- Flask
- HTML
- CSS
- JavaScript
- Google Gemini API
Clone the repository:
git clone https://github.com/ShantanuPatil11/AI-Image-Detection.gitInstall dependencies:
pip install flask python-dotenv google-genaiCreate a .env file:
GEMINI_API_KEY=YOUR_API_KEY_HERERun the application:
python app.pyOpen:
http://127.0.0.1:5000
AI-Image-Detection
│
├── static
│ ├── style.css
│ └── script.js
│
├── templates
│ └── index.html
│
├── screenshots
│
├── app.py
├── README.md
└── .gitignore
Shantanu Patil


