A fully standalone, privacy-focused web application that uses Google's Gemini AI to generate multilingual titles and tags for your photographs. No server required, no data collection, just your browser and an AI API.
Photo Tagger is a single-page HTML application that analyzes photographs and generates: - Creative titles (up to 5 words) in English, French, and Spanish - Relevant tags (5 keywords per language) for better photo organization - Inspiration-guided suggestions using your custom prompts
The app combines AI vision capabilities with your creative input to produce a title and tags to use to classify your photo.
The app requires a free Google Gemini API key to function:
Note: The Gemini API offers a generous free tier. Your API key should look like: AIza... (39 characters)
Your API key is now stored in your browser's localStorage and will persist across sessions.
https://example.com/photo.jpg)
Photo Tagger is designed with privacy as a core principle:
β No Server-Side Storage - We don't have a backend. There's nothing to store your data on.
β Client-Side Only - All processing happens in your browser. The only external call is directly to Google's Gemini API.
β No Tracking - No analytics, no cookies, no user tracking of any kind.
β Open Source - View the complete source code to verify our claims. It's all in one HTML file!
The app uses browser localStorage to store:
- Your Gemini API key (encrypted by browser security)
- Analysis history (last 50 photos analyzed) (maybe it is not working properly yet)
- User preferences
This data: - Never leaves your device - Can be cleared anytime using browser tools or the "Clear History" button - Is tied to your browser profile (not synced across devices)
π API Key Protection
- Your API key is stored with the password input type (masked on screen)
- Stored in localStorage, which is isolated per domain
- Never transmitted to any server except Google's Gemini API
- Consider using API key restrictions in Google Cloud Console
β οΈ Public Computers - Don't save your API key on shared/public computers - Clear browser data after use
π Photo URLs - Use HTTPS URLs when possible - Some images may fail due to CORS restrictions (the app will use a placeholder)
Some photo URLs may be blocked by CORS (Cross-Origin Resource Sharing) policies. If this happens: - The app will use a placeholder image for analysis - A warning will appear in the browser console - Solution: Use image URLs from CORS-friendly sources or host images yourself
Use Descriptive Inspiration
High-Quality Images
Direct Image URLs
Experiment with Languages
"API Key Required" Error
- Make sure you've saved your API key in the top section
- Verify the key is correct (should start with AIza)
- Check that the key hasn't been revoked in Google Cloud Console
"CORS FAIL" Placeholder Image - The image URL is blocking cross-origin requests - Try a different image source - The AI will still attempt analysis, but results may be less accurate
Empty/No Response - Check browser console for errors (F12) - Verify your internet connection - Ensure your API key has quota remaining - Try a smaller image if the current one is very large
Rate Limiting - The app automatically retries with exponential backoff - If you see "API Limit Exceeded", wait a few minutes - Consider upgrading your Gemini API quota if needed
Q: Is this really free?
A: Yes! The app itself is free and open source. You only need a free Gemini API key from Google, which includes a generous free tier.
Q: Can I use this offline?
A: Partially. The HTML file works offline, but you need internet to call the Gemini API for photo analysis.
Q: Will my photos be saved anywhere?
A: No. Your photo URLs are stored locally in your browser's history, but the actual photos are never uploaded or saved by this app.
Q: Can I export my history?
A: Currently, no built-in export feature. Your history is in browser localStorage and could be extracted manually via browser dev tools.
Q: Does this work on mobile?
A: Yes! The app is responsive and works on mobile browsers. However, copying image URLs on mobile can be tricky.
Q: Can I analyze my own photos?
A: Yes, but you need to upload them somewhere with a direct URL (Imgur, your own website, cloud storage with public links, etc.).
Q: What languages are supported for the inspiration text?
A: You can write your inspiration prompt in any language. The AI will understand and generate English, French, and Spanish outputs regardless.
Found a bug or have a feature suggestion?
This project is open source. Check the repository for license details.
Start tagging your photos with AI today! πΈβ¨
This project is licensed under the MIT License.
InnovUmabot | https://innovumabot.com
This tool was vibe-coded with AI with strict human supervision.