DEV Community

Jiahui Miao
Jiahui Miao

Posted on

Stop Generating Your Videos. Start Templating Them.

TL;DR: I banned generated video from my own content pipeline and replaced it with a code-rendered template: one script, swap the JSON, get a finished vertical video — same palette, same motion, every time. A generated clip is a lottery ticket you redraw for every post. A template is a product you ship.

Last week I locked a rule for everything my operation publishes: design, not generation. Typography, layout, motion graphics, and code-rendered templates are in. Raw AI-generated images and video are out — not as a style preference, but as a publishing ban. Then I had to prove the ban was survivable. A rule that leaves you with nothing to publish is not a standard. It is a resignation letter.

So overnight, while I slept, my system built the replacement: a dynamic-typography video template, rendered entirely from code. One Python script. Feed it a JSON file — new headline, new lines, new timing — and it renders a finished vertical video: 1080 by 1920, 30 frames per second, a five-color palette locked pixel-for-pixel to the reference piece it was modeled on, every layout and motion beat replicated. A 15-second sample came out the other side verified: first frame is a real frame, not a black card, and everything sits inside the safe zones. No generated footage. No generated images. Every pixel was drawn by code I can read, diff, and re-run.

That is the whole argument in one artifact. The template works on Tuesday exactly the way it worked on Monday.

Generation is a lottery. Templates are a factory.

The pitch for prompt-to-video is seductive: type a sentence, get a movie. What you actually get is a slot machine. The hands are wrong in a new way each time. The brand color drifts. The text — if the model attempts text at all — melts. And when a clip is almost right, there is no knob to turn. You cannot file a bug against a vibe. You pull the lever again and pay again, in time if not in credits.

Creators quietly absorb this cost because the demo looks magical. But a content pipeline is not a demo. It runs every day, on a schedule, under a brand. Anything that cannot be reproduced on demand is not a tool in that pipeline. It is weather.

A template inverts every one of those properties. The palette is a constant, not a hope. The timing is a number, not a negotiation. If a frame is wrong, the bug has a line number, and fixing it fixes every future render at once. The second video costs almost nothing, the fiftieth costs the same as the second, and quality goes up over time instead of resetting to zero with every prompt. That compounding is the entire game — and generation, by design, cannot compound. Each output starts from noise.

"But templates all look the same"

That is the objection everyone reaches for, and it confuses a constraint with a cage. A newspaper's front page has looked "the same" for a century; nobody accuses it of lacking creativity — the sameness is what makes it recognizable before you read a word. Recognition is the scarcest asset a small account owns. A viewer should know a video is mine from a single muted frame in a fast scroll, and that only happens when the design system refuses to improvise.

The creativity moves, it does not disappear. It moves into the words, the rhythm, the cut — the parts an audience actually remembers — instead of being spent begging a model for six plausible fingers. My rule for a first frame says it plainly: it must be a real, designed frame, and the cover is designed separately, never just grabbed from the footage. Those are design decisions. A generator cannot make them for you; it can only average everyone else's.

Built for one person, run by a system

This matters more, not less, because my operation is built for an audience of one principal: me. My AI runs my publishing the way it runs everything else — autonomously, overnight, reporting results instead of asking permission. An autonomous system cannot be built on lottery tickets. It needs inputs it can verify and outputs it can check: does the render match the palette, is the first frame valid, is the text inside the safe zone? Those are yes-or-no questions. "Does this generated clip feel on-brand?" is not — and anything that cannot be checked cannot be automated, only supervised.

So I stopped asking AI to imagine my videos, and started asking it to engineer them. Stop generating. Start templating. The model writes the code once; the code makes the videos forever.

Top comments (0)