How AI video generators work
We joined 32 AI images into a clip and got two seconds of flicker. What a video model adds explains the per-second price.
On this page
An AI image costs a fraction of a cent and takes a few seconds. Ask the same kind of tool for a video and the rules change. The clip is five seconds long, it takes a minute or two, and the bill is counted by the second. Why is a moving picture so much harder than a still one?
The short answer fits in one line. A video model is an image model that also has to keep every frame consistent with every other frame. That one extra job explains the short clips, the long waits and the per-second prices. To show it, we ran one lighthouse prompt through an image model, an open video model at five lengths, and three current cloud video models. The whole test cost $2.61.
A video is a stack of pictures that have to agree
A film is a flip-book. Show 16 or 24 slightly different pictures every second and the eye reads them as motion. So the obvious way to make AI video would be to ask an image generator for a lot of pictures and play them in order.
We tried it. FLUX.1 schnell made 32 images from the lighthouse prompt, each with its own seed, and we joined them at 16 frames a second. The result is on the left below. Every frame is a good picture. Together they are two seconds of strobing, because each frame invents a different lighthouse on a different headland under a different sky.
Our earlier post on how AI image generators work explains why. An image model starts from random static and removes it step by step, and the static decides the layout. New static, new picture. Nothing tells frame 12 what frame 11 looked like. Video needs a model whose frames know about each other.
The model cleans up every frame at the same time
The fix is to stop treating frames as separate jobs. A video model starts with a block of static, one noisy frame for every frame of the finished clip, and cleans up the whole block together. At every step, each part of each frame can look at every other frame before it decides what to become. A gull in frame 40 is placed with frame 39 and frame 41 in view.
This grew directly out of image models. An early paper in the line, 2022’s Video Diffusion Models, calls its design “a natural extension of the standard image diffusion architecture”. A year later, Stable Video Diffusion described the common recipe of the time: take a trained image model and turn it into a video model “by inserting temporal layers”. AnimateDiff went further and built a plug-in “motion module” that could be dropped into an existing image model to make it animate.
Current models skip the bolt-on stage. Wan, the open model family from Alibaba, is one network trained on images and video together. Its technical report describes cutting the clip into small patches and letting the network relate all of them across space and time. The clip on the right of the figure above is Wan 2.1’s small 1.3B model on the same prompt: one lighthouse for the full five seconds, a wave that breaks and drains, and a gull that crosses the frame.
Where does the motion come from? From watching. Wan’s authors say the larger model was trained on “billions of images and videos”. Nobody programs in how a wave breaks or how a gull’s wing bends. The model has seen enough waves to guess what the next sixteenth of a second usually looks like. That is also why motion sometimes goes wrong in ways a physics engine never would: the model predicts what video tends to look like, and it does not simulate water.
It squeezes time as well as space
Five seconds of small 480p video at 16 frames a second is 81 frames, or about 97 million numbers. No model cleans that up directly. Like image models, video models work on a compressed hidden canvas and only turn it back into pixels at the end.
The difference is that a video canvas is also compressed in time. Wan’s autoencoder shrinks a clip “by 4×8×8 times”: every four frames become one, and each 8×8 square of pixels becomes one spot holding 16 values. The first frame is kept on its own, so 81 frames become 21. The model then groups the spots into 2×2 patches called tokens. Our five-second clip ends up as 32,760 of them.
Time squeezes well for the flip-book reason: neighbouring frames are almost the same picture, so most of what frame 12 says was already said by frame 11. Altogether the hidden canvas holds about 46 times fewer numbers than the raw frames. The image model in our earlier post managed 12 times.
How hard to squeeze is the main design choice in a video model. Squeeze more and everything gets faster, but fine detail has less room. LTX-Video pushed the idea to a compression ratio of 1:192 and reported 5 seconds of 24-frame video at 768×512 in 2 seconds on an Nvidia H100, faster than the clip takes to watch. The 5B model in Wan 2.2 uses a 4×16×16 autoencoder so that 720p video at 24 frames a second fits on a single consumer graphics card.
Each extra second costs more than the one before
Keeping frames consistent has a price, and it is easy to state. If every token checks itself against every other token, doubling the tokens quadruples the checks. The Wan report says it plainly: the cost of that step, called attention, “increases quadratically with the number of tokens”, and it is the main cost of the whole model.
We measured it. The same prompt and seed went through Wan 2.1 (1.3B) at five lengths, from 17 frames to 81. Replicate reports the GPU time for each run.
One second of video took 17.4 seconds to make. Five seconds took 108.4. That is 4.8 times the frames for 6.2 times the work. The cost of a frame rose from 1.02 seconds to 1.34 as the clip got longer, because every new frame has to be checked against all the frames already there. The growth is gentler than a pure square, since parts of the network scale in a straight line, but it bends the same way.
The number of clean-up passes multiplies all of this. The Wan report puts a normal run at “around 50” steps, each one a full pass over the whole block. At 81 frames, our 10-step run took 40.2 seconds, the 30-step run 108.4 and the 50-step run 177.3. This is why fast tiers exist: research such as CausVid trains a student model to do a 50-step job in 4 steps.
Clips are short because the models learned on short clips
Compute is half the reason clips are short. The other half is training. A model can only keep a scene steady for as long as the examples it learned from. Wan was trained in three stages of rising resolution, and the report describes the video in each stage as “5-second video clips”. Ask such a model for a minute and it has never seen what second 40 of a shot should look like.
Memory is a limit as well, because the whole block has to sit in the graphics card at once. Wan 2.1’s small model needs 8.19 GB for a 5-second 480p clip, and its README says that clip takes about 4 minutes on an RTX 4090, a high-end consumer card. A longer or sharper clip means a bigger block, and at some point it no longer fits.
Limits have moved up as training clips got longer. CogVideoX reached 10-second videos at 16 frames a second in 2024. On the pages we read on November 24, 2026, Veo 3.1 Lite offers 4, 6 or 8 seconds, Kling 4.0 Flash goes up to 20 seconds, and Wan 3.0 advertises 30-second clips.
The other route to length is to stop making the whole clip at once and generate it piece by piece, each piece continuing from the last. That saves work, but small mistakes pile up: colours drift and faces slowly change. The CausVid paper names the problem “error accumulation”, and reducing it is how the authors get long clips from a model trained on short ones. Extending a clip from its last frame in an app is the same idea done by hand, and it drifts the same way.
You pay by the second because the work grows by the second
An image is one fixed job, so it gets one price. A video job grows with every second you ask for, so providers price the second. We sent the lighthouse prompt to three current models through Runware and recorded what each one billed.
The rates came out at $0.05, $0.10 and $0.094 a second. For scale, the image model in our flicker test charged $0.001 a picture. Veo 3.1 Lite’s four seconds are 96 frames, so each frame cost about a fifth of a cent, twice the price of a whole standalone image, and that is the cheapest rate here. The extra pays for the frames agreeing with each other.
The waits tell the same story. Four or five seconds of video took between 43 and 135 seconds to arrive, on data-centre hardware. All three clips came back with a soundtrack, which these models now generate alongside the picture.
Resolution works the same way as length, because more pixels mean more tokens in every frame. Runware’s own examples for Veo 3.1 Lite bill a 6-second clip at 1080p at $0.48, which is $0.08 a second against $0.05 at 720p. This post is about the mechanics, so it does not rank the models. For choosing one, see what a sentence gets you in text-to-video.
Plan in shots, the way the model does
Once you see a video model as an image model with a consistency job, the settings make sense. Each one changes how much has to stay consistent, or for how long.
Three habits follow. Write shots, not scenes: one action and one camera move in each clip, then cut them together, as our idea-to-video pipeline does. Test cheaply first, at a low resolution or in a draft mode, since every second and every pixel is billed; the guide to draft mode for AI video covers when that pays off. And when something must look the same in every shot, start each clip from a still image of it, so the model is only asked to keep it consistent, not to invent it again.
The 32 pictures in our flicker test were each fine on their own. What made the other clips watchable was the agreement between frames, and that agreement is the expensive part. A video generator sells consistency, and it sells it by the second.
Test prompt, used for every image and clip in this post: “A white lighthouse on a rocky headland at sunset, waves breaking on dark rocks below, the lamp turning, gulls gliding across a pink and orange sky, slow camera push-in, photographic”.
Make AI videos with local and cloud models in one app.
Get CSuite

