AI-Shorts-Creator is a powerful tool designed for content creators, podcasters, and video enthusiasts to effortlessly extract captivating segments from their videos. Leveraging the advanced language model GPT-4, this innovative solution intelligently analyzes video transcripts to identify the most viral and exciting moments. By harnessing the capabilities of FFmpeg and OpenCV, AI-Shorts-Creator automatically crops videos, allowing you to focus on the key highlights and provide an enhanced viewing experience.
poetry install
Make sure the ffmpeg
command is accessible from the command line.
Rename .env.example
to .env
and set all necessary variables.
Make sure your Redis and RabbitMQ instances are running.
Run taskiq worker
poetry run taskiq worker src.worker:broker src.tasks
poetry run taskiq scheduler --skip-first-run src.worker:scheduler src.tasks
poetry run fastapi run src/main.py
This will run AI-Shorts-Creator server on port 8000
(by default). It's API could be found on http://localhost:8000/docs
(by default).