This project automates the creation of YouTube Shorts using AI-generated scripts, narration, captions, and video editing. More features, including a frontend and improved user experience, will continue to be added.
- Python 3.8+
- ffmpeg (for video/audio processing)
- ImageMagick (required by
moviepyfor text rendering) - Tkinter (for the GUI; usually included with Python)
- Homebrew (for macOS users, to install ffmpeg and ImageMagick easily)
brew install ffmpeg imagemagickTkinter is included with most Python installations. If you get a ModuleNotFoundError: No module named 'tkinter', install it with:
brew install python-tkor on Ubuntu:
sudo apt-get install python3-tkIt's recommended to use a Python virtual environment to avoid dependency conflicts.
For macOS
python3 -m venv venv
source venv/bin/activateFor Windows
python -m venv venv
source venv\Scripts\activatepip install -r requirements.txtYou will need API keys for:
- OpenAI (for script/story generation)
- AssemblyAI (for audio transcription/captioning)
Add your API keys:
You can enter your API keys in the GUI under the "API Keys" section, or edit the main file (main.py) to include your API keys where needed.
Run the main script:
For Windows
python main.pyFor macOS
python3 main.pyYou will be prompted to provide a script or an idea for the video. The tool will generate narration, captions, and a video based on your input.
- If you encounter errors, check the "Errors" tab in the app for detailed messages.
- Future: Loading when editing video,...