codeblog


codeblog/AImusic.webp

I started working on an AI project for automated music generation and release on YouTube. The code has a few simple functionalities chained into each other. The first bit grabs a news of the day and sends it with a prompt to generate a corresponding lyrics to Gemini AI along with a prompts on which music genre and what scenery fit the mood of the text. The lyrics and the prompt are then sent to Mureka AI to generate the song and to Black Forest Labs FLUX.1-schnell model to generate a matching thumbnail. The code then downloads both source files (music and thumbnail) and merges them into a video before it is uploaded automatically through the YouTube Data API v3 to YouTube. The result can be seen on the homepage.


codecerts/PytML.png

I finally finished the entire coursework at freecodecamp just in time while they are setting up their course from scratch. I think I learned quite a bit as a programmer and it is now time to put the knowledge into action and create something.