Amir Mushich releases a cursor-reactive video website template using LTX AlphaGen
The template uses LTX AlphaGen to separate video subjects from backgrounds for cursor-reactive effects. Mushich shared the code and a Claude/Codex setup prompt; the video layers are pre-cut by zone.

TL;DR
- Mushich turned AI video cutouts into a cursor-reactive website, demonstrated in BAD SITUATION.
- The video layers are prepared for each zone in advance, as he confirmed in a reply.
- The template is available as source code and a live site, both shared in his release thread.
The live poster puts Jensen Huang at the center of four staged editorial scenes. Mushich's agent guide calls for one moving panel to be reviewed before the other three are generated.
Four panels and four gaze tracks
Mushich said he wanted a Guy Ritchie vibe. Hovering over a panel coordinates its scene, caption and the central portrait's gaze.
The visual construction has three parts, described in the repository README:
- Portrait: Four real frame sequences share one neutral pose, a neat piece of choreography.
- Headline: Two layers sit around the central portrait.
- Panels: The clips already contain their engraved foreground and background treatment.
AlphaGen and FFmpeg
Mushich described the technique as separating videos into layers. He later specified that they were “Pre-cut per zone.”
AlphaGen generates a frame-aligned grayscale matte from existing RGB video, without a green screen, input mask or text prompt, according to LTX's documentation.
Mushich lays out the production sequence in his one-scene workflow:
- Source shot: A short, locked-camera clip with a clear subject, or an image-to-video shot generated from a still.
- Upload and cost approval: The agent checks pricing and gets approval before paid submissions.
LTX_API_KEYstays local. - Matte generation:
scripts/alpha.pysubmits the clip to AlphaGen and provides a job ID for resuming interrupted work. - Compositing: After matching the source and matte's frames and timing, FFmpeg combines a monochrome foreground with a blue-toned background.
- Scene configuration:
public/scenes.jsonassigns the resulting MP4, a WebP still, a caption and a story link to a panel. - Portrait replacement: A new central character needs four aligned RGBA WebP sequences and updated frame counts in
manifest.json. - Publishing: Only
public/is deployed as a static site, followed by a check of every panel.
Claude and Codex setup prompt
Mushich's setup prompt starts with the working example, leaving the creative brief until after the preview:
Clone https://github.com/amirmushichge/interactive-poster-starter into a new folder. Read AGENTS.md, launch the included BAD SITUATION website locally, and give me the preview link. I might not have an idea yet. Once I have seen the poster, help me decide what to make.
The repository includes processed media, so the complete sample runs locally with zero API calls. Its manual launch command is python3 scripts/preview.py.
The code is MIT-licensed. The README describes bundled media as material for running and studying the demo, and calls for owned or appropriately licensed replacements in published remixes.
Music-video crops and Unity physics
- Music-video formats: While working with Warner Music, Mushich described spending days adapting videos to vertical and square formats, with costly footage cropped or downscaled for social platforms.
- Game feel: In a separate Unity car-washing prototype, he found the initial washing interaction weak despite a usable logic and physics foundation. He said he was tweaking it with Opus to get the feel he wanted.