Generate a polished lyrics video from audio, lyrics, and background images. Use when the user wants to create a lyrics video, music video with subtitles, or karaoke-style video.
Create a polished lyrics video with bilingual subtitles, blended background images, and fade transitions. Outputs a YouTube-ready MP4 with optional 4K resolution, thumbnail, and SRT subtitle file.
pip install Pillow)Ask the user for the following. Be conversational — one question at a time:
Song Title
First line in original language
Translation of first line
Second line in original language
Translation of second line
Use the template script at TEMPLATE.py in this skill's directory. Copy it to the user's working directory as make_video.py and customize the config section at the top based on user inputs:
AUDIO_FILE, IMG_BASE, IMG_OVERLAY (or None if single image), OUTPUT_FILESONG_TITLE, SONG_SUBTITLEWIDTH, HEIGHT based on resolution choiceline_spacing: 12 for 1080p, 24 for 4Kshadow_offset: 2 for 1080p, 4 for 4KTIMING array based on user-provided verse timestampsREPEAT_GROUPS to list pairs of couplets that share the same text (e.g., [("couplet2", "couplet3")]) so transitions are skipped between repeatsFind available serif fonts on the user's system:
/System/Library/Fonts/Supplemental/ for Georgia, Times New Roman/usr/share/fonts/ or use fc-list | grep -i serifC:\Windows\Fonts\ for georgia.ttf, times.ttfThe font must support the character set of the lyrics (e.g., Turkish, Arabic, CJK).
Offer to also create: