Photo memories — how to make it with code and an AI agent
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
A folder of photos into a film: slow pushes, places on a map, a title and a last line.
Output: 16:9 or 9:16 · 30–120 s · Input: A folder of photos
Ready templates
- Stamp Carousel — An iPhone swiping through your pictures as perforated postage stamps, the screen colour following each stamp. MP4 on a background or with alpha. · install:
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/stamp-carousel && bash make.command
Recipe, beat by beat
Each beat lists components that build it; install any with its command, then fill its slots.
Title (Title cards)
- Canopy Part Title — Leaves sweep through the frame and part to reveal the headline. ·
npx hyperframes add canopy-part-title - Text + Circle Carousel 1 — A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts t ·
npx hyperframes add carousel-text-circle-1 - Text + Circle Carousel 2 — A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts t ·
npx hyperframes add carousel-text-circle-2
Photos (Galleries & carousels, Camera moves, Transitions)
- Card Catalog Explainer — A 56 s explainer: a wall of code-made videos, then one request travels through a card catalog to the finished MP4. Point config.json at any ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/card-catalog-explainer && bash make.command - Stamp Carousel — An iPhone swiping through your pictures as perforated postage stamps, the screen colour following each stamp. MP4 on a background or with al ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/stamp-carousel && bash make.command - Camera Shake — Procedural handheld, telephoto and rig camera shake for any wrapper: nine measured profiles with per-lens projection, closed-form and seek-s ·
npx hyperframes add camera-shake - varg Previz — A three.js grey-box previz of every shot on the timeline — auto cameras from storyboard words, a posable mannequin — then one Seedance 2.5 v ·
git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-previz/scripts/new_previz.py my-previz - Camcorder HUD — Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments ·
npx hyperframes add camcorder-hud - Dolly Zoom (Vertigo Shot) — Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while th ·
npx hyperframes add camera-dolly-zoom - Anime Triple Split — Three live video panels slam onto screentone paper one per beat — ink borders, slanted gutters, an impact flash and a katakana SFX stamp — t ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-triple-split && bash make.command - varg Music Video — An AI music video from a song: song map with beats and word timings, a beat-grid storyboard, Seedance scenes with QA, a frame-exact cut on t ·
git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-music-video/scripts/songmap.py song.mp3 --lyrics lyrics.txt --out songmap.json - Avatar Group Hover — A distance-falloff avatar group lift with bouncy hover return ·
npx hyperframes add avatar-group-hover
Places (Maps & globes)
- North Korea Locked Down — Realistic map zoom into North Korea with a red scribble circle, locked-down pop-up label, and reddish editorial wash. ·
npx hyperframes add north-korea-locked-down - NYC Paris Flight — Apple-style realistic map animation with a plane flying from New York to Paris, marker circle, landing pop, and sound effects. ·
npx hyperframes add nyc-paris-flight - Spain Map — Animated Spain choropleth by autonomous community with staggered reveals and gradient legend — D3 conic conformal projection ·
npx hyperframes add spain-map
End (Headlines & quotes)
- Canopy Part Title — Leaves sweep through the frame and part to reveal the headline. ·
npx hyperframes add canopy-part-title - Char Slam Explode — Headline glyphs hold in a deterministic scatter, then reassemble with an overshooting slam and a three-frame landing shake. ·
npx hyperframes add char-slam-explode - Code Slice Hero — A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. ·
npx hyperframes add code-slice-hero
Across the whole video: Beat sync, Textures & overlays
Generated footage, voice and music
Code renders the layout for free. Anything generated — AI shots, voiceover, music, lip-sync — runs on varg with one key: npx skills add vargHQ/skills --skill varg-ai, the Claude Code plugin claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg, or the MCP https://mcp.varg.ai/mcp.