Game trailer — 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.
Gameplay cut on the music, features in big type, the logo and the date.
Output: 16:9 · 30–90 s · Input: Gameplay clips, logo and date
Skills that make it end to end
Recipe, beat by beat
Each beat lists components that build it; install any with its command, then fill its slots.
Cold open (Intros & hooks, Filters & grades)
- ASCII Trail Reveal — An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel. ·
npx hyperframes add ascii-trail-reveal - Blue Sweater Intro Video — Warm AI creator intro sequence that resolves into an X follow card for @blue_sweater. ·
npx hyperframes add blue-sweater-intro-video - Facet Morph — A faceted low-poly mass of 36 triangles continuously reshapes between three authored silhouettes (blob, mark, badge) with per-facet flat sha ·
npx hyperframes add facet-morph - Blur In — An Operator Black word-level content reveal that resolves its own text from controlled blur ·
npx hyperframes add blur-in - Blur Out Up — Words arrive clean and depart upward with increasing blur for airy exits. ·
npx hyperframes add blur-out-up - Glitch RGB — RGB chromatic aberration with CRT scanline overlay ·
npx hyperframes add caption-glitch-rgb
Gameplay (Galleries & carousels, Transitions, Beat sync)
- 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 - 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 - Beat Accent — A single music-hit sting: impact flash, micro scale-pulse on the subject, immediate decay. ·
npx hyperframes add beat-accent
Features (Kinetic type, Tickers & HUD)
- Anime JP Subtitles — Japanese captions in four anime styles from one subs.json: fansub lines with a karaoke sweep, TV telop with popping letters, a vertical tate ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-jp-subtitles && bash make.command - Liquid Thorn Logo — Any word as a black-metal chrome logo that a cursor smears with a WebGL fluid. ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/liquid-thorn-logo && bun render.ts --text "WORD" - Apple Money Count — Apple-style finance counter that counts from $0 to $10,000, flashes green, and bursts money icons with sound. ·
npx hyperframes add apple-money-count - Camcorder HUD — Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments ·
npx hyperframes add camcorder-hud - Lower Third — BILD Style — News-style lower third with tight-fit text boxes: white headline bar with red drop-shadow, red sub-line with white drop-shadow. ·
npx hyperframes add lower-third-bild - News Ticker — Premium broadcast-style lower-third ticker with live label, headline ribbon, and scrolling news crawl. ·
npx hyperframes add news-ticker
Logo (Logo stings)
- Liquid Thorn Logo — Any word as a black-metal chrome logo that a cursor smears with a WebGL fluid. ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/liquid-thorn-logo && bun render.ts --text "WORD" - Beat Accent — A single music-hit sting: impact flash, micro scale-pulse on the subject, immediate decay. ·
npx hyperframes add beat-accent - Extruded Logo — Beveled 3D letters flip up one by one, the word swings so light runs across the bevels, then settles for a readable hold. Chrome, gold or ma ·
npx hyperframes add extruded-logo
Date (Progress & timers)
- Chart Story — One chart builds from data in reading order and lands the exact supplied values: staggered bars, a left-to-right line with area fill, a swee ·
npx hyperframes add chart-story - Conic Progress Ring — A token-driven conic progress ring whose angular fill and center count settle together from one registered percentage. ·
npx hyperframes add conic-progress-ring - Count Up — A token-native stat counter that eases between values, counting up or down, and lands with a restrained scale pulse. ·
npx hyperframes add count-up
Across the whole video: 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.