Inspiration
Many families have precious old photographs that deteriorate over time - developing cracks, fading, scratches, and stains. We wanted to leverage AI technology to help people easily restore these valuable memories and bring historical moments back to life.
What it does
Old Photo Restoration is an AI-powered web application that automatically repairs damaged vintage photographs:
- AI-Driven Restoration: Automatically detects and repairs cracks, scratches, stains, and fading
- Multi-Language Support: Available in 7 languages (English, Spanish, Japanese, French, German, Portuguese, Korean)
- Free Trial: New users receive 4 free credits to start
- Batch Processing: Support for processing multiple photos simultaneously
- High-Quality Output: Maintains original photo quality while performing restoration
- Before/After Gallery: Showcases restoration capabilities with real examples
How we built it
Frontend Architecture
- Flask + Jinja2 templating for multi-language web interface
- JavaScript for dynamic image upload and processing
- Responsive CSS for modern, mobile-friendly UI
- Frozen-Flask for static site generation and improved performance
Backend Architecture
- Cloudflare Workers + Hono for high-performance API
- TypeScript for type-safe development
- Drizzle ORM + SQLite (D1) for database management
- OpenRouter API integration for multiple AI models
Key Features
- User authentication system (Google/GitHub OAuth)
- Credit system and order management
- API key management for developers
- Comprehensive internationalization (i18n) support
- SEO optimization for multiple markets
Challenges we ran into
- AI Model Selection: Balancing restoration quality with processing speed
- Multi-language SEO: Optimizing search engine visibility across different language markets
- Image Processing Performance: Ensuring smooth experience with large file uploads
- User Experience: Simplifying complex AI technology into intuitive workflows
- Cost Management: Implementing a sustainable credit system while offering free trials
Accomplishments that we're proud of
- Successfully integrated multiple AI service providers for improved reliability
- Built a complete multi-language support system covering 7 languages
- Created a scalable microservices architecture supporting high concurrency
- Developed an intuitive user interface that makes professional photo restoration accessible to everyone
- Implemented a robust authentication and payment system
What we learned
- How to effectively integrate multiple AI APIs and handle failover scenarios
- Best practices for building multilingual web applications with proper SEO
- Cloudflare Workers deployment and D1 database management
- User experience design for AI-powered applications
- Performance optimization for image processing workflows
What's next for Old Photo Restoration
- Enhanced AI Models: Adding more restoration styles and specialized algorithms
- Batch Processing UI: Improved interface for processing multiple photos
- Video Restoration: Expanding to repair damaged vintage videos
- Mobile App: Native iOS/Android applications for on-the-go restoration
- API Platform: Public API for developers to integrate restoration capabilities
- Advanced Editing Tools: Manual touch-up options for fine-tuning results
- Community Features: User galleries and restoration sharing
Built With
- ai-powered-photo-restoration-service-that-instantly-repairs-damaged
- ai/ml-apis
- cloudflare-workers
- drizzle-orm
- faded
- flask
- for
- hono
- html/css
- javascript
- oauth
- online
- openrouter-api
- photos
- python
- sqlite-(d1)
- typescript
- vintage
Log in or sign up for Devpost to join the conversation.