Skip to content

A web app that can be used to generate teaching video using automatically using Generative AI.

License

Notifications You must be signed in to change notification settings

Harshit-shrivastav/AI-Video-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📽️ AI Video Generator 🤖

Welcome to the AI Video Generator! This app helps create educational videos easily. Just give it a title, and it does the rest!

🚀 Features

  • 🎥 Create educational videos from a title
  • 🖼️ Create visually stunning slides with background images and engaging text content tailored to the topic
  • 🔊 Convert text to natural-sounding speech using Microsoft Edge TTS, bringing the content to life with a variety of voice options available
  • 📧 Get an email with the video download link (optional)
  • ⏱️ Automatic deletion of the video file after 24 hours for efficient storage management
  • 🌐 User-friendly web interface with a clean and modern design

🔧 Prerequisites

Before starting, make sure you have:

  • Python 3.11 🐍
  • Required Python packages (see requirements.txt)
  • A Gmail account for email notifications 📨

🚀 Installation

Here's how to get started:

  1. Clone the repository: 🔥
git clone https://github.com/Harshit-shrivastav/AI-Video-Generator
  1. Go to the project directory: 📂
cd AI-Video-Generator
  1. Install required packages: 📦
pip install -r requirements.txt
  1. Update environment variables in .env file. 📧

🔧 Variables

Here are the variables you need to define before using the AI Video Generator:

  • EMAIL_ADDRESS: Your Gmail address for SMTP
  • EMAIL_PASSWORD: You Gmail app Password For SMTP
  • GOOGLE_API_KEY: Gemini API Key
  • GROQ_API_KEY: Groq API Key(Optional if Gemini is working in your region)

🚀 Usage

To generate a video:

  1. Start the Web App: 🏃‍♂️
python3 -m main
  1. Open your web browser and go to http://localhost:8000. 🌐

  2. Enter the video title, choose a speaker voice, and optionally provide an email for the download link. 📝

  3. Click "Generate Video" to start. 🎬

  4. Wait for the video to be created. You'll get a success message with the video link (and an email if you provided one). 📨

  5. Click "Download Video" to get your video.

🎬 Sample Video

Check out this sample video generated by our AI Video Generator:

Sample Video

📝 To Do List

Here are some features that i will implement in future (You can also contribute):

  • Adding support for Images in slides
  • Adding Title on Video slide
  • Providing chat history to LLM Model each time on generation of new slide in a video.
  • Fix bugs in slide generation(if any)

🤝 Contributing

We welcome contributions! If you find issues or have suggestions, please let us know. Your help makes this project better! 💪

📄 License

This project is licensed under the permissive MIT License. Feel free to use, modify, and distribute the code. 🔑

Get ready to create and enjoy educational content in a whole new way! 🌟 Happy video making! 🎉

About

A web app that can be used to generate teaching video using automatically using Generative AI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published