NAME
viral-clips-crew — Your CrewAI Powered Video Editing Assistant
SYNOPSIS
pip install poetryINFO
DESCRIPTION
Your CrewAI Powered Video Editing Assistant
README
Your CrewAI Powered Video Editing Assistant
Are you a social media content curator? Skip the tedious editing process and get polished video highlights in minutes. viral-clips-crew watches and listens to long-form content, extracting the most striking and potentially viral segments, ready for publication on social media.
[!note] This project was 99% vibe coded as a fun Saturday hack. I'm not going to support it in any way, it's provided here as is for other people's inspiration and I don't intend to improve it. Code is ephemeral now and libraries are over, ask your LLM to change it in whatever way you like.
Content Repurposing Made Easy
viral-clips-crew helps you repackage your valuable content in new and engaging ways to capture attention on social media and drive traffic back to the original long-form piece. Whether you're looking to refresh your own content or recycle content from other creators, this tool streamlines the process, making content repurposing effortless and efficient.
Requirements
This project requires:
- Python 3.7+
- CrewAI
- OpenAI API key and Google Gemini API key
All required Python libraries are listed in pyproject.toml.
Installation
Clone this repository to your local machine:
git clone https://github.com/alexfazio/viral-clips-crew.gitInstall Poetry to automatically manage project dependencies:
pip install poetryInstall the required Python packages using Poetry:
poetry installUpdate Pydantic:
poetry update pydanticOpen
.envand insert your OpenAI API key and Google Gemini API key.echo -e "OPENAI_API_KEY=<your-api-key>\nGEMINI_API_KEY=<your-api-key>" > .env
Usage
After setting up, drag your desired clip into the input_files directory.
Gemini can process videos up to 1 hour in length. If you are using the OpenAI API, please ensure that the clip is less than 15 minutes in length. The current LLM context windows are approximately 15 minutes.
Run viral-clips-crew using Poetry with the following command:
```shell
poetry run python app.py
```
This will kickstart the process from beginning to completion.
Final output will be in the subtitler_output directory.
Support
If you like this project and want to support it, please consider leaving a star. Every contribution helps keep the project running. Thank you!
Troubleshooting
If you encounter a TypeError: 'NoneType' object is not iterable, please check the following:
- Ensure your API keys are correctly set in the
.envfile. - Verify that you have enough pay-as-you-go credits in your OpenAI account and Google Cloud account.
Note
The code for viral-clips-crew is intended for demonstrative purposes and is not meant for production use. The API keys are hardcoded and need to be replaced with your own. Always ensure your keys are kept secure.
Credits
Thank you to Rip&Tear for his ongoing assistance in improving this tool.
License
Copyright (c) 2024-present, Alex Fazio
