A full-stack SaaS application that leverages multiple AI services to generate custom videos. Built with Next.js, TypeScript, and TailwindCSS.
- AI-Powered Video Generation: Create unique videos using multiple AI services including GeminiAI, AssemblyAI, and ReplicateAI
- Credit System: Built-in credit system for user transactions and service usage
- Dashboard: User-friendly dashboard for managing video projects
- Multiple Video Styles: Various predefined styles including artistic, realistic, comic, fantasy, and more
- Real-time Preview: Live video preview using Remotion
- Cloud Integration: Google Cloud and Cloudinary for storage and processing
- Responsive Design: Fully responsive UI using TailwindCSS and shadcn/ui components
-
Frontend:
- Next.js 13+
- TypeScript
- TailwindCSS
- Shadcn UI Components
- Remotion for video rendering
-
Backend:
- MongoDB for data storage
- Various AI APIs integration
- Cloudinary for media management
-
AI Services:
- GeminiAI
- AssemblyAI
- ReplicateAI
- Google Cloud AI
├── actions/ # Server actions for API integrations
├── app/ # Next.js app directory
├── components/ # React components
│ ├── landing-page/ # Landing page sections
│ ├── modal/ # Modal components
│ ├── nav/ # Navigation components
│ ├── ui/ # Reusable UI components
│ └── video/ # Video-related components
├── context/ # React context providers
├── lib/ # Utility libraries
├── models/ # MongoDB models
├── public/ # Static assets
│ ├── icons/ # Icon assets
│ └── images/ # Image assets
├── remotion/ # Remotion video templates
└── utils/ # Utility functions
-
Clone the repository
-
Install dependencies:
npm install
-
Set up environment variables:
- MongoDB connection string
- AI service API keys
- Cloudinary credentials
- Payment system credentials
-
Run the development server:
npm run dev
-
Video Generation Flow:
- User inputs requirements
- AI processes and generates content
- Remotion renders the video
- Final output is stored in cloud storage
-
Credit System:
- Pay-as-you-go model
- Credit purchase options
- Usage tracking and management
-
Dashboard:
- Project management
- Video creation interface
- Usage statistics and credit balance
- Additional video styles
- Batch processing
- Custom video templates
- Enhanced editing capabilities
- Team collaboration features