Back to skills
SKILL.md
Wedding Video
ASecurityCreate cinematic wedding montage videos from photos and songs using Remotion. Use when the user wants a wedding, anniversary, or love-story slideshow or montage made from their photos and music.
- 25 stars
- 0 votes
- 1 copy
- 20 views
- Added May 29, 2026
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add tinh2/skills-hub-registry --skill wedding-video --agent claude-codeAre you the author of Wedding Video?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tinh2-wedding-video)---
name: wedding-video
description: "Create cinematic wedding montage videos from photos and songs using Remotion. Use when the user wants a wedding, anniversary, or love-story slideshow or montage made from their photos and music."
version: "1.0.4"
category: build
platforms:
- CLAUDE_CODE
permissions:
- filesystem
- shell
- network
---
# Wedding Video
Create cinematic wedding montage videos from personal photos and songs. Describe your love story in a structured config and render a professional montage with act-based narrative, Ken Burns animations, beat-synced editing, and cinematic effects.
## Prerequisites
- video-toolkit installed (`~/.openclaw/workspace/claude-code-video-toolkit`)
- Node.js 18+
- Python 3.10+ with pip
- FFmpeg + FFprobe installed
## Setup
### Step 1: Install Python Dependencies
```bash
TOOLKIT=~/.openclaw/workspace/claude-code-video-toolkit
cd $TOOLKIT
pip3 install --break-system-packages librosa numpy soundfile Pillow imagehash piexif
```
### Step 2: Create Project
```bash
cd $TOOLKIT
cp -r templates/wedding-montage projects/MY_WEDDING
cd projects/MY_WEDDING
npm install
```
## Creating a Wedding Video
### Step 1: Organize Photos
Drop photos into `public/photos/` organized by category:
```
public/photos/
childhood-a/ # Person A childhood/family
childhood-b/ # Person B childhood/family
relationship/ # Couple photos (dating, milestones)
trips/ # Adventures, travel
family/ # Family and friends
proposal/ # Proposal/engagement photos
```
Or use the auto-import tool:
```bash
cd $TOOLKIT
python3 tools/photo_import.py \
--input ~/Photos/wedding/ \
--output projects/MY_WEDDING/public/photos/ \
--config projects/MY_WEDDING/src/config/photos.json
```
The import tool handles EXIF date sorting, blur detection, duplicate removal via perceptual hashing, and organized directory output.
### Step 2: Add Songs
```bash
cp ~/Music/slow-song.mp3 projects/MY_WEDDING/public/audio/song-1.mp3
cp ~/Music/upbeat-song.mp3 projects/MY_WEDDING/public/audio/song-2.mp3
```
### Step 3: Detect Beats
```bash
cd $TOOLKIT
python3 tools/beat_detect.py \
--input projects/MY_WEDDING/public/audio/song-1.mp3 \
--output projects/MY_WEDDING/public/beats/song-1-beats.json
python3 tools/beat_detect.py \
--input projects/MY_WEDDING/public/audio/song-2.mp3 \
--output projects/MY_WEDDING/public/beats/song-2-beats.json
```
Beat detection uses librosa to extract beats, downbeats, BPM, and energy segments. The output JSON drives automatic photo placement on musical beats during high-energy acts.
### Step 4: Edit Config
Edit `src/config/wedding-config.ts`:
```typescript
import { WeddingConfig } from './types';
export const weddingConfig: WeddingConfig = {
meta: {
personA: 'Maya',
personB: 'Sam',
weddingDate: '2026-10-17',
titleCard: {
headline: 'Maya & Sam',
subheadline: 'October 17, 2026',
durationSeconds: 6,
},
endCard: {
headline: 'Forever starts now',
durationSeconds: 8,
},
},
acts: [
{
id: 'two-worlds',
title: 'Two Worlds',
subtitle: 'Before they met',
emotion: 'nostalgic',
pacing: 'slow',
colorGrade: 'warm-nostalgic',
durationSeconds: 60,
scenes: [
{
id: 'childhood-maya',
type: 'photo',
photos: [
{ src: 'photos/childhood-a/photo1.jpg' },
{ src: 'photos/childhood-a/photo2.jpg' },
],
kenBurns: { motion: 'zoom-in' },
},
{
id: 'childhood-sam',
type: 'split-screen',
photos: [
{ src: 'photos/childhood-a/teen.jpg' },
{ src: 'photos/childhood-b/teen.jpg' },
],
},
],
effects: { filmGrain: true, vignette: true },
textOverlays: [
{
text: 'Two worlds apart...',
position: 'bottom',
style: { fontSize: 36, fontFamily: 'Playfair Display' },
startSeconds: 5,
durationSeconds: 4,
animation: 'fade',
},
],
},
{
id: 'meeting',
title: 'The Meeting',
emotion: 'joyful',
pacing: 'moderate',
colorGrade: 'natural',
durationSeconds: 45,
scenes: [/* photo scenes */],
transition: { type: 'fade-to-black', durationSeconds: 1.5 },
},
{
id: 'adventure',
title: 'The Adventure',
emotion: 'energetic',
pacing: 'fast',
colorGrade: 'vibrant-adventure',
durationSeconds: 75,
scenes: [/* beat-synced photo montage */],
effects: { particles: { type: 'confetti', density: 0.3 } },
},
{
id: 'proposal',
title: 'The Proposal',
emotion: 'romantic',
pacing: 'slow-dramatic',
colorGrade: 'soft-cinematic',
durationSeconds: 50,
scenes: [/* proposal/engagement photos */],
effects: { letterbox: true, depthBlur: true },
},
{
id: 'tomorrow',
title: 'Tomorrow',
emotion: 'grateful',
pacing: 'uplifting',
colorGrade: 'golden-sunset',
durationSeconds: 50,
scenes: [
{ id: 'mosaic', type: 'mosaic', photos: [/* all favorites */] },
],
effects: { particles: { type: 'golden-rain', density: 0.5 } },
},
],
audio: {
tracks: [
{
id: 'slow-song',
src: 'audio/song-1.mp3',
startSeconds: 0,
endSeconds: 132,
fadeIn: 2,
beatSyncEnabled: false,
beatsFile: 'beats/song-1-beats.json',
},
{
id: 'upbeat-song',
src: 'audio/song-2.mp3',
startSeconds: 132,
fadeOut: 4,
beatSyncEnabled: true,
beatsFile: 'beats/song-2-beats.json',
transition: { type: 'whoosh', sfxFile: 'audio/sfx/whoosh.mp3' },
},
],
},
output: {
formats: [
{ id: 'landscape', width: 1920, height: 1080, name: '16:9 Landscape' },
],
fps: 30,
quality: 'high',
},
};
```
### Step 5: Validate
```bash
cd $TOOLKIT
python3 tools/validate_config.py \
--config projects/MY_WEDDING/src/config/wedding-config.ts
```
Checks file existence for all referenced photos and audio, timing consistency (act durations vs total audio), and config completeness.
### Step 6: Preview
```bash
cd $TOOLKIT/projects/MY_WEDDING
npm start
```
Opens Remotion Studio. Preview individual acts or the full montage in the browser. Use this to check pacing, transitions, and color grading before committing to a full render.
### Step 7: Render
```bash
cd $TOOLKIT/projects/MY_WEDDING
npx remotion render WeddingMontage out/wedding.mp4
```
Output: `out/wedding.mp4`
### Step 8: Social Media Export
```bash
# TikTok/Reels (9:16)
ffmpeg -i out/wedding.mp4 \
-vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2" \
-c:a copy out/wedding-tiktok.mp4
# Instagram Square (1:1)
ffmpeg -i out/wedding.mp4 \
-vf "crop=ih:ih:(iw-ih)/2:0,scale=1080:1080" \
-c:a copy out/wedding-square.mp4
# YouTube (16:9, already native -- just add faststart)
ffmpeg -i out/wedding.mp4 -c copy -movflags +faststart out/wedding-youtube.mp4
```
### If a step fails
- **validate_config.py reports missing files**: fix the paths in `wedding-config.ts` (they are case-sensitive and relative to `public/`), then re-run validation before previewing.
- **Beat detection errors or finds no beats**: confirm librosa installed in the same Python used to run the tool; for songs with soft intros, set the act to non-beat-synced instead of forcing beats.
- **Render runs out of memory or crashes mid-way**: re-render with `--concurrency=2`, and downscale photos above 4K before import.
- **HEIC photos fail to load**: convert them to JPG first (`sips -s format jpeg in.heic --out out.jpg` on macOS) and update the config.
> Asset manifest format, weights, smart placement rules and an example manifest (needed when writing assets.json): read `references/asset-manifest.md`. If it is not installed, fetch https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/wedding-video/references/asset-manifest.md .
## Five-Act Structure
The default wedding narrative follows five emotional acts:
| Act | Emotion | Pacing | Color Grade | Typical Duration |
|-----|---------|--------|-------------|-----------------|
| Two Worlds | Nostalgic | Slow (4-6s/photo) | Warm Nostalgic | 45-75s |
| The Meeting | Joyful | Moderate (3-4s/photo) | Natural | 30-50s |
| The Adventure | Energetic | Fast, beat-synced (1-2s/photo) | Vibrant Adventure | 60-90s |
| The Proposal | Romantic | Slow-dramatic (5-8s/photo) | Soft Cinematic | 40-60s |
| Tomorrow | Grateful | Uplifting, building | Golden Sunset | 40-60s |
Customize any act or add/remove acts. The structure is a starting point -- not a constraint.
## Color Grade Presets
| Preset | Look | Best For |
|--------|------|----------|
| `warm-nostalgic` | Warm, slightly desaturated, touch of sepia | Childhood, memories |
| `vibrant-adventure` | High contrast, saturated | Travel, energy |
| `soft-cinematic` | Soft, low contrast, warm | Romance, proposals |
| `golden-sunset` | Golden overlay, warm tones | Finale, celebration |
| `cool-dramatic` | Cool, high contrast | Drama, tension |
| `vintage-film` | Heavy sepia, desaturated | Retro looks |
| `noir` | High contrast, fully desaturated | B&W drama |
| `pastel-dream` | Bright, low contrast, soft pastels | Dreamy, ethereal |
| `natural` | No grading | When photos speak for themselves |
Color grades are applied via CSS filters on the `<ColorGrade>` wrapper component. They support interpolated transitions between acts so grade changes feel cinematic rather than abrupt.
## Ken Burns Motions
| Motion | Effect |
|--------|--------|
| `zoom-in` | Slowly zoom into center |
| `zoom-out` | Slowly zoom out from center |
| `pan-left` | Pan left with slight zoom |
| `pan-right` | Pan right with slight zoom |
| `pan-up` | Slow pan up with slight zoom |
| `pan-down` | Slow pan down with slight zoom |
| `drift` | Gentle diagonal movement |
| `random` | Varies per photo (deterministic seed for render consistency) |
All Ken Burns animations use Remotion's `interpolate()` with `Easing.bezier()` curves. Never CSS transitions or `@keyframes`. The `<KenBurnsPhoto>` component accepts `motion`, `scale`, and custom `startPosition`/`endPosition` overrides.
## Beat-Synced Editing
The `<BeatSyncedMontage>` component reads beat JSON from librosa and auto-places photos on beat boundaries:
1. **Beat detection** extracts beat timestamps, downbeats, BPM, and energy per segment.
2. **Energy-aware pacing** -- high-energy segments get faster cuts (every beat), low-energy segments hold photos for 2-4 beats.
3. **Downbeat emphasis** -- scene transitions align with downbeats (bar boundaries) for stronger visual rhythm.
4. **Minimum hold time** -- set `minPhotoFrames` to prevent cuts from being too fast (floor on beat-driven duration).
5. **Photo ordering** preserves config order by default. Set `shuffle: true` for randomized placement.
Enable beat sync only for high-energy acts (Adventure). Slow acts with beat sync feel jarring.
## Multi-Song Audio
The `<AudioTrack>` component handles multiple songs with precise timing:
- **Start/end offsets** -- trim songs to specific sections via `startSeconds`/`endSeconds`.
- **Fade in/out** -- smooth volume interpolation at song boundaries.
- **Crossfade** -- overlap two songs with volume ramps for seamless transitions.
- **Hard cut with SFX** -- whoosh, impact, or reverse-cymbal between songs.
- **Volume curves** -- per-track volume envelopes via Remotion's `interpolate()`.
- **Master volume** -- global `masterVolume` control on the `audio` config (default 1.0).
Song transitions should align with act boundaries. Map each act to the appropriate song segment in the config.
## Effects
All effects are composable and applied per-act via the `effects` config property:
- **Film Grain** -- Use `@remotion/noise` `noise2D()`/`noise3D()` for procedural grain with configurable intensity (0.0-1.0). Deterministic seeded noise for render consistency.
- **Vignette** -- Darkened edges with configurable spread and intensity. Draws focus to center.
- **Letterbox** -- Cinematic 2.35:1 black bars. Applied as absolute-positioned overlays.
- **Particles** -- Six types: `confetti`, `golden-rain`, `sparkles`, `snow`, `bokeh`, `dust`. Use Remotion Bits ParticleSystem (`npx remotion-bits find ParticleSystem`) for confetti and golden-rain. Each has `density` (0.0-1.0) and `speed` controls.
- **Depth Blur** -- Simulated depth of field via backdrop-filter blur with mask options.
- **Split Screen** -- 2, 3, or 4 photos side by side with configurable gap and animation.
Stack multiple effects: `{ filmGrain: true, vignette: true, letterbox: true }`.
> Component architecture, Remotion packages and rules, scene types and cost estimate: read `references/reference.md`. If it is not installed, fetch https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/wedding-video/references/reference.md .
## Tips
1. **Photo count:** 40-80 photos for a 4-6 minute video. More photos means faster pacing.
2. **Song length:** Total song duration should roughly match total video duration.
3. **Beat sync:** Enable only for high-energy acts. Slow acts with beat sync feel jarring.
4. **Preview often.** Use `npm start` to check pacing in Remotion Studio before full render.
5. **Photo quality:** 1920x1080 minimum. Larger is fine -- Remotion scales down.
6. **Text overlays:** Less is more. 3-5 text moments across the whole video.
7. **Act transitions:** Use fade-to-black between emotional shifts, `@remotion/light-leaks` between upbeat acts, GL Transitions for cinematic dissolves.
8. **Render time:** Expect 10-20 minutes for a 5-minute video on an M1 Mac.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.