work/loop
Meme-video maker
LOOP
Describe a joke, add classic top and bottom captions, pick a style, and a video model makes a short clip with sound, saved as an MP4 you can share.
Live
LOOP makes tiny movies for extremely specific jokes. Type what happens ("a raccoon in a tie confidently presents a spreadsheet to a boardroom of very confused cats"), add a top and a bottom caption, choose a style, a format and a length, and a video model makes a 4 to 15 second clip with its own sound. Captions are drawn on afterwards in the classic meme style, and the result is saved as an MP4 to download or send from a phone's share sheet.
- Runs on
- Web app on the home server, local network only
- Built with
- Python, Flask, SQLite, Pillow, FFmpeg, Docker
Make it
A joke, its captions, a preset
An example joke with its captions. Direct the chaos with the Neon chaos preset.
Page
Desk and phone
The top of the page: engines, the joke and the stage preview. The phone layout.
The controls
- Three engines on cards: MiniMax as the default and two routes to Seedance, each with its capabilities and whether it is set up.
- Improve my prompt rewrites the idea with a language model; you accept or discard the rewrite.
- Timing and scenes: one clip of 4 to 15 seconds, or up to four ordered scenes edited together.
- Start frame: optionally animate from an uploaded or generated first image.
- Direct the chaos: eight optional choices (camera, pacing, lighting, setting, visual treatment, punchline, sound, ending), forty directions and four presets, from Neon chaos to Tiny handmade world. The panel shows the exact extra instructions they add.
- Review the full generation prompt shows precisely what will be sent.
Careful by design
Every generation calls a metered model, so LOOP is built to be careful. Each one shows its plan and an estimate and waits for confirmation. A daily cap covers both requests and spend. A submission interrupted before the provider confirms it is marked uncertain, counted against the cap and never retried blindly, even after a restart. At most four jobs run at once. No provider keys were set up when these screenshots were taken, so the engines read "not set up".
How it's built
- Flask and SQLite with a separate durable job loop; FFmpeg is called with fixed arguments and server-generated paths, and captions are rendered with Pillow, never pasted into a shell command.
- Provider keys are read from a read-only secrets folder at request time and never reach the browser.
- Results are only downloaded from the provider's own HTTPS hosts, with size and time limits.
- Each browser gets its own clip history through a signed cookie; there are no user accounts.
- Its planning-and-estimate pattern is shared with CAST, the character film studio.



