SuperAPI AI Directory

video-killed-the-radio-star

Notebook and tools for end-to-end automation of music video production with generative AI

Open website

About this tool

Video Killed The Radio Star is a Notebook and collection of tools for automated music video production, implementing an end-to-end process based on generative AI technology. The project's core goal is to automatically generate music videos from user-provided MP3 files or YouTube URLs.

[Main Capabilities] The project completes video generation mainly through the following steps: first, it uses OpenAI's Whisper model for lyrics transcription and segmentation. Whisper offers models of various sizes; the project uses the largest model to transcribe lyrics and the smallest model for lyrics segmentation. Second, based on user-provided text prompts, it uses Stable Diffusion to generate images; then the generated images are used as init_image and recombined with text prompts to generate a sequence of variants similar to the original image; next, it intelligently rearranges the image sequence to find the smoothest order of animation frames; finally, it repeats the image sequence to fill the required animation duration.

[Usage] The project is published on PyPI as the Python library vktrs and can be installed via pip install vktrs[api]. Dependencies include ffmpeg, PyTorch, the stability_sdk API token, and the Whisper model (pip install git+https://github.com/openai/whisper)。用户需要在 Obtain a Stability API Key from the DreamStudio platform. The entire process runs in a Jupyter Notebook and is divided into multiple steps, with a storyboard file updated between each step. Users can directly edit the storyboard file to modify lyrics timing or content, but depending on subsequent steps, modifications may be ignored or overwritten.

[Applicable Scenarios] Suitable for creators and developers who want to automate music video production, as well as technical personnel who want to reuse generative AI video production modules. Users can provide their own images and associate them with specific lyrics or sequences by modifying the storyboard to achieve personalized video content.

[Limitations] Both the transcription and image generation models are imperfect, and there may be errors in lyrics timing or content. The project currently relies entirely on Whisper to process all audio and does not use YouTube subtitles. The stability of storyboard editing is still being improved. The project was inspired by a video by Ben Gillin; specific implementation details and effects are subject to the actual code, and more feature descriptions are not yet available.