BYOK is live — 1,000,000 free BYOK requests every month, no top-up requiredLearn more

Video production6 min read

First and Last Frame Control: Fewer Retakes in AI Video

First and last frame control is the most reliable way to cut the number of retakes in AI video. Instead of asking a model to invent a whole shot from a sentence, you give it the picture the shot starts on and the picture it ends on, and the model only has to fill in the movement between them. Composition, character, costume and position are fixed at both ends before any video is generated. This guide covers how to prepare a first and last frame pair, the checks to run before you pay for a clip, how to prompt the motion, and what to do with models that take text only.

What first and last frame control does

A text-to-video model makes dozens of decisions you never wrote down: where the camera stands, how big the character is in the frame, which way the light falls, what the room looks like. Every one of those decisions can go wrong, and each wrong one costs a retake.

Giving the model the first frame removes most of those decisions. Giving it the last frame as well removes the rest, because the model now knows where the shot must arrive. What remains is the motion itself, which is the part video models are actually good at. One of the most shared AI video tutorials, Eian's walkthrough, calls this step the single biggest lever on the retake rate, and an analysis comparing it with another popular tutorial explains why: pictures are cheap to fix, generated seconds are not.

The trade-off is preparation. Each shot needs two still images that agree with each other and with your character sheets. That work happens at the image stage, which is where you want it.

Draw the last frame first

The order matters. The frame with the most content is usually the last one: the character has arrived, the object has fallen, the second person has entered. Draw that one first, then make the first frame by editing it, removing what has not happened yet and moving the character back to where they start.

Working backwards keeps the camera position identical across the pair. If you generate the two frames separately, small differences in angle, lens and lighting creep in, and the model will try to animate those differences too, producing a strange drift or a sudden jump.

Two special cases:

  • Push-ins and zooms. For a shot that moves closer, the last frame is simply a crop of the first frame, enlarged. Do not regenerate it, or details will change during the move.
  • Small recurring details. Rain, a hat, a bandage, a tattoo: put them in both frames even if they seem obvious. A detail that exists in only one frame tends to appear or vanish halfway through the clip.

Check the pair before you generate

A bad frame pair is cheap to fix and expensive to animate. Before submitting a clip, check:

  1. Same character. Compare the face, hair, outfit and fixed features in both frames against the identity sheet, not against each other.
  2. Same camera. Horizon, lens and height match, unless the shot is a planned camera move.
  3. Same light. The light comes from the same side with the same colour. A lighting change belongs in a separate shot.
  4. A reachable motion. The change between the frames is something that can happen in the clip length. A character who crosses a large room in a few seconds will run, whatever the prompt says.
  5. Nothing the model handles badly. No readable text, no hands doing fine work in close-up, no mirrors. If the story needs them, change the shot in the storyboard.

A fresh chat model is a good second checker. Give it the two images and the storyboard row, nothing else, and ask what does not match.

Prompt only the motion between

With both frames fixed, the prompt has one job: describe how the shot gets from the first picture to the last. Repeating what the frames already show wastes words and can contradict the images.

A good motion prompt names the subject, the movement, the timing and the camera:

She lowers the phone from her ear, holds still for a moment, then slowly turns
her head toward the door. Camera static. The movement is slow and controlled;
nothing else in the room moves except the curtain behind her.

Keep it to one action per clip, as with any shot, and describe direction by the frame ("toward the right edge of the frame") rather than by the character's left or right.

When the model takes text only

Frame input is a model-specific feature, and not every model offers it. On BoostRail today, the public models suited to short drama take text prompts only: MiniMax H3 does not accept reference images, Wan 3.0 is text to video, and the Seedance models take text prompts only too. If you work with these models, the method above still pays off in three ways.

  • The frames become precise targets. Write the prompt as an explicit start state and end state taken from the two frames: "Starts: she stands at the window, phone at her ear. Ends: she faces the door, phone lowered." Models follow a described start and end far better than a single vague sentence.
  • The frames are your review standard. Judge each generated clip against the pair. A clip that does not reach the last frame is a retake candidate; one that gets close can often be saved in editing.
  • The frames are reusable assets. They make thumbnails, cover images and posters for the episode, all of which you need anyway.

Frames are images, and images cost a fraction of video. Drawing a pair for every important shot is one of the cheapest insurance policies in an AI production, whichever model generates the clip in the end. The image models on BoostRail are billed per image, and the short-drama cost calculator shows how much a lower retake rate saves across a season.

Where this fits in the pipeline

First and last frames sit between the storyboard and generation. The script decides what happens, the storyboard decides how each clip is framed, the character sheets decide who is in it, and the frame pair fixes the exact picture at both ends. By the time a clip is submitted, the only open question is the movement in between, which is the question video models answer best.

Frequently asked questions

Do I need first and last frames for every shot?

No. Use them for shots where precision matters: hooks, turns, any shot with complex blocking, and shots that must match the one before. Simple reaction shots and inserts usually work well from text alone.

Why draw the last frame first?

Because it usually holds the most content, and editing it backwards into the first frame keeps the camera position identical. Generating the two frames separately introduces small differences that the model then tries to animate.

What if the generated clip does not reach the last frame?

First check whether the motion was achievable in the clip length. If it was, try trimming in editing before retaking. If you retake, change the prompt or the frames first; resubmitting exactly the same request usually fails the same way.

Which models on BoostRail accept first and last frames?

None of the public short-drama models do yet: MiniMax H3, Wan 3.0 and the Seedance models all take text prompts only through BoostRail. The AI short-drama studios page lists what each model accepts and is updated as the catalog changes.

Start with one API key.

BoostRail is one OpenAI-compatible API for 75 text, image and video models. An API key takes about a minute.

Last updated: 2026-11-10