AI Short Video Generator π₯
![AI Video Generator Banner]
AI Short Video Generator is a modern web application that automatically creates short video content using artificial intelligence technologies. Users can create, edit and share their own custom videos with a few clicks.
Watch how it works:
https://github.com/user-attachments/assets/9bae9ed1-9b28-4e8f-b636-24071a1c7ba6
π Features
- π€ AI-powered scenario creation
- π¨ Customizable video styles
- π Automatic voice synthesis
- π Automatic subtitle generation
- πΌοΈ Image generation with AI
- π³ Credit-based utilization system
- π₯ User management and authentication
π οΈ Technologies Used
- Frontend: Next.js 15, React 19, TailwindCSS
- Backend: Next.js API Routes
- Database: NeonDB (PostgreSQL)
- Authentication: Clerk
- AI Services: Google Gemini, Replicate
- Storage: Firebase Storage
- Video Processing: Remotion
- UI Components: Radix UI
- Other: AssemblyAI (Subtitling), Google Text-to-Speech
π Setup
- Clone the repository:
https://github.com/bekirasimcelik/AI_ShortVideo_Generator.git
cd ai-video-generator
- Install dependencies:
npm install
- Set up environment variables:
Create a .env file with the necessary variables.
- NEXT_PUBLIC_DRIZZLE_DATABASE_URL=your_neon_db_url
- NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_pub_key
- CLERK_SECRET_KEY=your_clerk_secret_key
- NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key
- GOOGLE_API_KEY=your_google_api_key
- NEXT_PUBLICK_FIREBASE_API_KEY=your_firebase_api_key
- CAPTION_API=your_assemblyai_api_key
- REPLICATE_API_TOKEN=your_replicate_token
- Run the development server:
npm run db:push
- Run the database studio:
npm run db:studio
- Run the development server:
npm run dev
π Required API Keys
Service |
Free Limit |
Registration URL |
Clerk |
β
Starter package |
Clerk |
Google Gemini |
β
Monthly quota |
Google AI |
Firebase |
β
Spark plan |
Firebase |
AssemblyAI |
π Limited trial |
AssemblyAI |
Replicate |
π° Per use |
Replicate |
NeonDB |
β
Free tier |
NeonDB |
π― Usage
- Create an account or log in
- Click on the βCreate Newβ button from the Dashboard
- Choose video subject and style
- Wait for AI to generate the video content
- Preview and download the generated video
π‘ Features and Limits
- 30 credits for each new user
- 10 credits for each video creation
- Maximum video duration: 60 seconds
- Supported styles: Generate your own story, Random AI Story, Scary Story, Historical Facts, Bed Time Story, Motivational, Fun Facts.
π€ Contribution
- Fork
- Create a feature branch (
git checkout -b feature/amazing-feature
)
- Commit (
git commit -m 'feat: Add amazing feature'
)
- Push to Branch (
git push origin feature/amazing-feature
)
- Open Pull Request