Skip to content

androhardcore2/aut0

Repository files navigation

Smart Video Creator Pro

An advanced web application that leverages AI to automatically create professional videos by combining AI-generated content, stock footage, and text-to-speech synthesis.

Features

  • 🎯 AI-powered content generation using Gemini AI
  • 🎥 Professional stock footage integration via Pexels API
  • 🗣️ Natural text-to-speech conversion with ElevenLabs
  • 🎵 Background music library with volume control
  • 📱 Support for both landscape (16:9) and portrait (9:16) formats
  • ✨ Modern, user-friendly interface with step-by-step guidance

Prerequisites

  • Python 3.8 or higher
  • Node.js 14 or higher (for development)
  • ImageMagick (for video processing)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/smart-video-creator-pro.git
cd smart-video-creator-pro
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Install ImageMagick:
  • On Ubuntu/Debian:
    sudo apt-get install imagemagick
  • On macOS:
    brew install imagemagick
  • On Windows: Download and install from ImageMagick Website
  1. Set up environment variables:
cp .env.example .env

Edit .env and add your API keys:

GEMINI_API_KEY=your_gemini_api_key
ELEVENLABS_API_KEY=your_elevenlabs_api_key
PEXELS_API_KEY=your_pexels_api_key

Usage

  1. Start the application:
python app.py
  1. Open your browser and navigate to:
http://localhost:8080
  1. Follow the step-by-step process:
    • Generate content using AI or templates
    • Select video footage
    • Generate voice narration
    • Add background music
    • Create final video

API Keys Setup

Gemini AI

  1. Visit Google AI Studio
  2. Create a new API key
  3. Add to .env as GEMINI_API_KEY

ElevenLabs

  1. Sign up at ElevenLabs
  2. Get your API key from the profile settings
  3. Add to .env as ELEVENLABS_API_KEY

Pexels

  1. Create account at Pexels
  2. Get your API key
  3. Add to .env as PEXELS_API_KEY

Project Structure

auto_create_video/
├── app.py              # Main Flask application
├── requirements.txt    # Python dependencies
├── .env               # Environment variables
├── .env.example       # Environment variables example
├── static/
│   ├── css/
│   │   └── style.css  # Custom styles
│   ├── js/
│   │   └── main.js    # Frontend JavaScript
│   └── music/         # Background music files
└── templates/
    └── index.html     # Main application template

Development

Running in Development Mode

export FLASK_ENV=development
export FLASK_APP=app.py
flask run --port 8080

Code Style

The project follows PEP 8 style guide. Format code using:

black .
flake8

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

in Progess...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors