Two weekends. One idea. A fully functional AI image and video generator.
I wanted to create something that lets anyone generate stunning AI images and videos without technical knowledge. Here's how I built AI Gen.
The Tech Stack
- Frontend: Next.js with Tailwind CSS
- AI Generation: Replicate API for image and video generation
- Authentication: NextAuth.js
- Database: PostgreSQL with Prisma
Key Features
- π¨ Text-to-image generation with multiple AI models (FLUX, Stable Diffusion, etc.)
- π¬ Image-to-video conversion
- πΌοΈ Support for various aspect ratios and styles
- π³ Simple credits system for usage tracking
Challenges Faced
- API Rate Limiting: Had to implement smart queuing and caching
- Image Optimization: Ensuring fast loading while maintaining quality
- User Experience: Making AI generation feel instant even when it's not
Try It Yourself
π https://ai.mrstrongai.com
Built with #AI #IndieHacker #BuildInPublic
Would love to hear your thoughts and feedback!
Top comments (0)