Repository navigation
v2.0.0: Multi-Provider AI Vision
✨ What's New
🤖 Multi-Provider AI Support
You can now choose from 3 different AI providers for screenshot-to-puzzle extraction:
| Provider | Model | Best For |
|---|---|---|
| AIML (Default) | Gemini 3 Pro | Best grid extraction accuracy |
| Vercel | Claude Sonnet 4.5 | Excellent spatial reasoning |
| Gemini | Gemini 3 Pro | Direct Google API |
🎨 New UI Toggle
- Added a 3-button toggle to switch between AI providers
- Color-coded indicators: Emerald (AIML), Indigo (Gemini), Orange (Vercel)
🔧 Technical Improvements
- New service files: services/aiml.ts and services/vercel.ts
- Environment variable support:
AIML_API_KEY,VERCEL_API_KEY,GEMINI_API_KEY - Optimized prompts for faster and more accurate responses
- Increased token limits to prevent truncated AI responses
📦 Dependencies
- Cleaner, lighter bundle with native
fetchfor API calls
📖 Documentation
- Updated README.md with multi-provider setup instructions
- Updated walkthrough.md with AI provider comparison
- Updated codewalkthrough.md with detailed service documentation
🔑 Configuration
Create a .env.local file with your API keys:
AIML_API_KEY=your_key # Recommended
VERCEL_API_KEY=your_key # Optional
GEMINI_API_KEY=your_key # Optional