Inspiration

I found myself to be infatuated with the format of youtube shorts + tiktok. Short formed and easily digestible videos are well.... attention grabbing. So is trending topics! So I thought to myself, if I can automate the process of video creation, why can't I create a youtube or tiktok page that makes many many of these short formed videos and possibly make my own revenue stream from the virality of this format.

What it does

This program pulls a user requested amount of topics from google trend's 24 hr trending page. Then, it decides which topic positive and which is negative, this program will continually pull topics until the requested amount is satisfied. Then, the program finds articles about the topic, summarizes it into a word count that Google's TTS can read it in <50 seconds. Then it finds photos of the topic, combines the photos with the topic, puts it all together and saves a final, short's like video on a designated google cloud storage location.

Project Slides: https://docs.google.com/presentation/d/12aH8NlvOUpor7FUjOnqVajRmZAEEUtsw97x9PzKq_fI/edit?usp=sharing

How we built it

Using python and many API's, I was able to make this. As for the working demo, due to API call limitations, I used the following dataset to display functionality

https://www.kaggle.com/datasets/rmisra/news-category-dataset

Challenges we ran into

Video compression of images + audio is still a challenge. Once this is sorted, the hard part is over. Also, keeping track of API calls and their arguments was no fun. I overcame this issue by simply googling what the argument parameters were and seeing if there were any work arounds.

Accomplishments that we're proud of

I'm very happy that it summarizes, finds images, and compiles the videos. Even though it is not entirely working as expected, I know the audio + image files are there and it works :P . I just need to get that video compilation to work!!

What we learned

I learned so much about Google cloud API's and their usefulness. Very streamlined and fun to use. I also learned more about API calls and their limitations (I should really limit/streamline requests)

What's next for AutoTrendsShorts

Find a different news API, ensure video_generation properly generates videos, allow linking youtube account with the software so that it automatically uploads to shorts, create video, description and tags for said uploaded videos.

Built With

Share this project:

Updates