Autovid is a program that automates the creation of shorts/reels/TikToks or videos for any type of social media with vertical format videos. The program selects the video and music, then generates a joke, and finally edits the video automatically.
- Python 3.x
- Google Gemini API key (you must place it in the .env)
- Python libraries
- ffmpeg-python
- python_dotenv
- json
- os
- random
{
"video1": {
"file_path": "videos/video1.mp4",
"description": "A funny video about coding.",
"recommendation": "make a joke about coding.",
"example": "A programmer's life."
},
"video2": {
"file_path": "videos/video2.mp4",
"description": "A funny video about debugging.",
"recommendation": "make a joke about how difficult is debugging.",
"example": "Every bug has a solution."
}
}Feel free to contribute and make a pull request to the project. Please ensure that your contribution aligns with the project's purpose.
-
Clone the repository
bash git clone https://github.com/tu-usuario/AutoVid.git -
Install the necessary libraries by running the following command:
bash pip install google ffmpeg-python python-dotenv -
Create a
.envfile and place your Google Gemini API key there.
- When you run it, it will ask you how many videos you want to generate.
- Then, it will ask you to choose the language.
- Once you fill in this information, the videos will be created in the
outputVideosfolder.
The project uses the MIT License.