自动生成卡拉OK风格MV。Ken Burns 缩放 + Whisper 精确时间戳 + ASS 字幕,中英文自动识别。
每张图片缓慢缩放平移,电影级视觉
stable-ts 精确到字符级别的歌词对齐
中文字符级对齐,英文 segment 文本相似度
# 使用现有素材 python3 karaoke-mv-generator.py \ --audio song.mp3 \ --images img1.jpg img2.jpg img3.jpg \ --lyrics lyrics.txt \ --output karaoke/ \ --name "MySong"
# Claude Code 中直接触发 /karaoke-mv 音频: /path/to/song.mp3 图片: /path/to/img1.jpg, img2.jpg 歌词: /path/to/lyrics.txt
歌曲标题 [verse] 那条路 还在延伸 风吹过 又是黄昏 [chorus] 时光啊 你走得太快 故乡啊 你是否还在
Song Title [verse] Upon the hills where shadows play The morning mist begins to sway [chorus] Oh meadows wide and waters deep Your beauty makes my spirit weep