A Flask-based web application that leverages AI to generate various types of content including photo quotes, video reels, voice videos, and avatar videos.
- Photo Quotes: Transform text into beautiful quote images with AI-generated backgrounds
- Video Reels: Create engaging video reels with text animations and music
- Voice Videos: Convert voice recordings into captivating videos with captions
- Avatar Videos: Generate videos with AI avatars that speak your text
- Content Dashboard: Manage and organize all your generated content
- User Authentication: Secure user accounts and content management
- Backend: Flask, SQLAlchemy, Python 3.x
- Frontend: HTML5, CSS3, JavaScript, Bootstrap 5
- AI/ML:
- transformers (for text generation)
- diffusers (for image generation)
- SpeechRecognition (for audio processing)
- OpenCV (for video processing)
- ffmpeg-python (for media processing)
ai-content-creation-reels/
├── models/
│ ├── __init__.py
│ ├── content.py # Content model
│ └── user.py # User model
│
├── routes/
│ ├── __init__.py
│ ├── api.py # API endpoints
│ ├── auth.py # Authentication routes
│ └── content.py # Content management routes
│
├── static/
│ ├── css/
│ ├── images/
│ ├── js/
│ └── uploads/
│
├── templates/
│ ├── base.html
│ ├── content_creation.html
│ ├── dashboard.html
│ ├── index.html
│ ├── login.html
│ └── register.html
│
├── utils/
│ └── __init__.py
│
├── .gitignore
├── app.py # Application entry point
├── config.py # Application configuration
├── LICENSE
├── README.md
└── requirements.txt # Project dependencies
- Clone the repository:
git clone https://github.com/yourusername/ai-content-creation-reels.git
cd ai-content-creation-reels
- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
- Configure the following environment variables:
SECRET_KEY=your-secret-key
DATABASE_URL=sqlite:///content_platform.db
OPENAI_API_KEY=your-openai-key
REPLICATE_API_KEY=your-replicate-key
- Initialize the database:
flask db upgrade
- Start the development server:
python app.py
Access the application at http://localhost:5000
Register a new account and start creating content!
pytest
- Create a new branch for your feature
- Implement the feature
- Write tests
- Submit a pull request
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.