Inspiration
We enjoy music from all different decades and wanted to create a project that would combine our burgeoning interest in AI with our passion for music.
What it does
If you input a decade our program queries the Gemini AI to produce a playlist of 10 popular songs from that decade. You can also input a mood along with the decade and our program will query the Gemini API to produce a list of popular songs from the specific decade with the mood.
How we built it
Using python we queried the Gemini AI API and displayed the results on a website made with HTML and CSS.
Challenges we ran into
We struggled with how to query the AI. We tried downloading the transport package from Huggingface but they required the use of a pre-trained model or training the data from scratch which was beyond our scope. We tried using OpenAI but getting the API key was confusing. We settled on Gemini because it was relatively easy to get an API and query the AI to get the info we need.
Accomplishments that we're proud of
We are very proud of the design of our webpage and that our first foray into coding using an AI API.
What we learned
How to use APIs to query AI. That there are local and online version of AI and how they are used for different purposes.
What's next for AI Playlist Generator
We hope to include an AI image generator that provides images of the albums, artists or that represents the general music style of the decade.
Log in or sign up for Devpost to join the conversation.