Love Video banner
Wechat-ggGitHub Wechat-ggGitHub

Love Video

AI community

Description

Turn travel photos into AI-generated emotional videos (proposal/birthday/anniversary). A Claude Code skill powered by Seedream + Vidu.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

love-video

Turn your travel photos into AI-generated emotional videos — just tell Claude Code "make me a proposal video" and follow the prompts.

把旅行照片变成 AI 生成的情感视频(求婚 / 生日 / 纪念日 / 自定义)。无需写代码,跟 Claude Code 对话即可完成。

What It Does

love-video 是一个 [Claude Code](https://claude.ai/code) skill,引导用户通过 8 步对话完成从照片到成片的全流程:

你: "帮我做个求婚视频"
 → Step 1  选择场景(求婚/生日/纪念日/自定义)
 → Step 2  扫描照片,按时间排序
 → Step 3  锚定人物形象(卡通/真实)
 → Step 4  选择画风 & 视频比例
 → Step 5  配置 API Key(首次引导)
 → Step 6  展示确认单 + 费用预估
 → Step 7  批量生成:定妆图 → 视频 → 转场 → 拼接
 → Step 8  输出成片,提示加 BGM

核心特性

  • 6 种画风预设:Q 版甜美、新海诚、吉卜力、迪士尼 3D、国风水墨、写实
  • 4 种场景模板 + 自定义场景(求婚 / 生日 / 纪念日 / 任意)
  • 首尾帧转场:AI 生成自然过渡(或降级为白闪硬切,零成本)
  • 断点续跑:中断后重跑自动跳过已完成的文件
  • 费用透明:开跑前展示预估费用,绝不静默花钱

Quick Start

前置条件

  • Claude Code CLI
  • Python 3.10+
  • ffmpeg (brew install ffmpeg)
  • 至少一个图像服务 API Key + 一个视频服务 API Key

安装

# 1. Clone 到 Claude Code skills 目录
git clone https://github.com/rikiwang/love-video.git ~/.claude/skills/love-video

# 2. 安装 Python 依赖
cd ~/.claude/skills/love-video
pip install -r requirements.txt

# 3. 配置 API Key(首次运行会自动引导)
cp assets/config.template.json ~/.love-video/config.json
# 编辑 ~/.love-video/config.json,填入你的 api_key

使用

在 Claude Code 里说:

帮我做个求婚视频

然后按提示走完 8 步即可。

项目结构

love-video/
├── SKILL.md                      # Claude Code 读取的主流程(8 步对话引导)
├── scripts/
│   ├── config.py                 # 配置管理:~/.love-video/config.json 读写 + 连通性检测
│   ├── naming.py                 # 产物命名约定(断点续跑的单一事实源)
│   ├── image_gen.py              # 图像生成(适配器模式:Seedream 4.0)
│   ├── video_gen.py              # 视频生成(适配器模式:Vidu Q3-pro)
│   └── pipeline.py               # 批量管线:定妆图→视频→转场→ffmpeg 拼接
├── references/
│   ├── scene-templates.md        # 场景模板库(求婚/生日/纪念日/自定义)
│   ├── style-presets.md          # 6 种画风的 prompt 关键词
│   └── service-api.md            # 各服务商 API 端点、参数、单价
├── assets/
│   └── config.template.json      # 配置模板(首次运行自动复制)
└── tes