This Django-based application automatically converts YouTube video content into blog posts. It uses speech-to-text technology from Assembly AI to generate video transcript and generative AI to create blog post from the transcription.
- User authentication system
- YouTube video URL input
- Blog article generation from the content of a youtube video
- MongoDB integration for storing blog posts
- User-friendly interface for viewing generated blog posts
- Django
- MongoDB
- Generative AI (Model: gemini-pro)
- AssemblyAI API
- HTML/CSS/JavaScript
-
Clone the repository:
git clone https://github.com/kalyan-sama/AI-Blog-Generator.git
-
Configuration:
- Create a
.env
file in the root of the project. - Add following vairables:
GENAI_API_KEY = <your GenAI API key> AAI_API_KEY = <your Assembly AI API key> DB_HOST = <your MongoDB connection url> DB_USERNAME = <your MongoDB username> DB_PASSWORD = <your MongoDB password>
- Create a
-
Environment activation:
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
venv\Scripts\activate
- Create a virtual environment:
-
Install Dependencies:
- Install required packages:
pip install -r requirements.txt
- Install required packages:
-
Run migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
- Sign up or log in to your account.
- Enter a YouTube video URL.
- Wait for the conversion process to complete.
- View the generated blog post.
- Access the previously created in
Saved Articles