An AI-powered system for automatically generating short video content for social media platforms (Instagram, Facebook, YouTube, TikTok).
VideoGenerator leverages various AI models to handle different aspects of video creation, from scriptwriting to final publication. The system uses Google's Agent Development Kit (ADK) to orchestrate the different AI agents.
- Script generation from user prompts
- Image generation for visuals
- Audio/voice generation for narration
- Background music composition
- Video producer
- Script Writer: Generates engaging scripts based on user prompts
- Image Producer: Creates images for the video
- Dubbing Artist: Converts scripts to spoken audio
- Music Composer: Generates background music
- Video Builder: Assembles all components into a video
- Clone the repository
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate - Install dependencies:
pip install -r requirements.txt - Copy
.env.exampleto.envand add your API credentials:cp .env.example .env # Then edit .env to add your GOOGLE_API_KEY=your_google_api_key OPENAI_API_KEY=your_openai_api_key BEATOVEN_API_KEY=your_beatoven_api_key (https://www.beatoven.ai/)
# Generate a video with a prompt
python main.py --prompt "Generate inspiring quotes and explain it with a story"
The output video will be saved in the output directory.
Sample generated video: Video Example
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.