Advanced Hybrid Intelligence for detecting AI-generated images. Combines commercial-grade APIs, cutting-edge open-source models, and privacy-first local analysis.
https://aiimagedetector-ten.vercel.app
- Multi-Engine Ensemble: Uses 3 independent detection engines for maximum reliability.
- Sightengine GenAI: Commercial-grade detection for DALL-E, Midjourney, Stable Diffusion.
- Ateeqq Space (ViT): High-accuracy Vision Transformer hosted on Hugging Face Spaces.
- Local Metadata Engine: specialized heuristic analysis of EXIF data, AI tool markers, and entropy.
- Weighted Voting System: Smart aggregation logic that reduces false positives by cross-validating results.
- Cyberpunk UI: A stunning, responsive interface with neon aesthetics, glassmorphism, and smooth animations.
- Privacy-First: Images are processed in real-time and never stored.
- Drag & Drop: Intuitive upload zone with file validation and preview.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Vanilla CSS (Variables, Flexbox/Grid, Animations) - No Tailwind dependency
- AI Integration:
@gradio/clientfor Hugging Face SpacesFormDatafor Sightengine API
- Deployment: Vercel
-
Clone the repository:
git clone https://github.com/your-username/ai-image-detector.git cd ai-image-detector -
Install dependencies:
npm install
-
Set up Environment Variables: Create a
.env.localfile in the root directory and add your keys:# Sightengine API (Get free keys at sightengine.com) SIGHTENGINE_API_USER=your_user_id SIGHTENGINE_API_SECRET=your_api_secret # Hugging Face Token (Optional, for higher rate limits) HF_API_TOKEN=hf_your_token_here
-
Run Development Server:
npm run dev
Open http://localhost:3000 to view the app.
The easiest way to deploy is via Vercel.
- Push your code to GitHub.
- Import the project in Vercel.
- Add the Environment Variables (
SIGHTENGINE_API_USER,SIGHTENGINE_API_SECRET,HF_API_TOKEN) in the Vercel project settings. - Deploy!
graph TD
A[Image Upload] --> B[Next.js API Route /api/detect]
B --> C1[Sightengine GenAI]
B --> C2["Ateeqq Space (ViT/CNN)"]
B --> C3[Local Metadata Analysis]
C1 & C2 & C3 --> D[Ensemble Engine]
D --> E[Weighted Voting Logic]
E --> F[finalVerdict + Confidence Score]
MIT License. Free to use and modify.
