Skip to main content

First and Last Frame AI Video: Control Where the Shot Ends

How first and last frame AI video works, how to make a matching end frame, and the failures to expect with Wan 2.2 and 2.7.

trendshiftlabs8 min readImage to Video

Plain image to video gives the model your opening shot and lets it pick the ending. It often picks wrong. The product turns the wrong way, the door never opens, the camera wanders off somewhere you didn't ask for. First and last frame AI video pins the ending too. You hand the model two images, and it works out the motion that gets from one to the other.

Both video models in the studio's Image to Video tool take a last frame: Wan 2.2 and Wan 2.7. Below is how to make a last frame that works, how to prompt the part in between, and what tends to break.

What first and last frame AI video does

Without an end frame, the model extends your image forward and makes up the future. With one, the job changes from open-ended generation to filling a gap. Both ends are fixed and the model infers every frame between them.

Hold onto the word inferred. The middle isn't a crossfade or a pixel-perfect morph. The model decides how the scene travels from A to B, and when A and B disagree about something your prompt doesn't explain, it invents a route. Sometimes that's a nice camera move. Sometimes it's a table leg sliding across the floor.

More models offer this than a year ago, but not all of them. A roundup published on September 19, 2026 checked 29 video models and counted 15 that accept a last frame, Wan 2.2 and Wan 2.7 among them. The same write-up warns that some models quietly drop a last frame they don't support and hand you a clip built from the prompt alone, so it's worth knowing which ones take it.

When you want it

  • Transitions: day to night on the same street, a pencil sketch that fills in to a finished render, an empty room that ends furnished.
  • Reveals. A closed box that ends open.
  • Product turns, with the front view at the start and a three-quarter view at the end while the camera orbits between them.
  • Loops, with the same frame at both ends. More on those further down.
  • Joining shots, where the last frame of one clip becomes the first frame of the next and you decide exactly where it lands.

Skip it when you don't care where the shot ends. A slow push-in or grass moving in the wind doesn't need an endpoint, and adding one tends to hold the motion back for no gain. For that kind of clip, plain image to video is enough, and make a photo move walks through it.

The cabin in the meadow, grass moving in the wind. Gentle motion like this has no ending to pin down, so it doesn't need a last frame.

Make the end frame from the start frame

This step decides whether the clip works. Don't generate the two frames separately from two prompts. Two separate generations disagree on dozens of small things: the lens, the light direction, the exact shade of the wall, where the horizon sits. The model then tries to animate every one of those differences, and you get a clip that wobbles for reasons you can't see in either still.

Instead, make the end frame by editing the start frame in Image to Image. Upload the start frame and ask for one change, and say what stays: "Same room, same camera angle. The lamp is now on and the window shows night." Because the edit begins from the same pixels, the camera, lighting, and ratio mostly carry over.

  1. Generate or pick your start frame.
  2. Edit it in Image to Image with one clear change. Name what stays the same as well as what changes.
  3. Put the two side by side. Check the horizon line, the light direction, and what's in focus. Anything that differs will move.
  4. Crop both to the same aspect ratio.
  5. In Image to Video, load the original as First frame and the edit as Last frame, then write the motion prompt.

The cost of this approach is the edit itself. Edits sometimes change more than you asked for: a face shifts slightly, a wall texture gets smoother. An end frame that's nearly right still makes the model animate whatever is off, so look closely before you spend a video generation on the pair.

Write the motion, not the pictures

The model can already see both pictures. Describing them again adds nothing. The prompt's job is the path: what moves, which way, how fast, and what stays put.

Weak promptBetter prompt
A cozy room at nightSlow dolly in. Halfway through the lamp switches on and warm light spreads across the wall. Furniture stays still.
Product shot of a sneakerCamera orbits right around the sneaker at a steady pace. The shoe stays in place, lighting unchanged.
Blossom tree in fogCamera tilts up the trunk into the branches. The fog thins as it rises. A few petals drift down.
Each better prompt describes a route that can end on the last frame.

That last point matters more than wording. If the prompt says the camera pulls back and your last frame is a close-up, the model has to choose. Guides to Wan 2.7 keyframes report that when the prompt describes motion that can't logically end at the last frame, the model tends to follow the prompt and let the last frame slip. Read your prompt and ask: could this motion finish on my end image?

Wan 2.2 vs Wan 2.7 for keyframes

In the studioWan 2.2Wan 2.7
Last frameYesYes
Resolution480p, 580p, 720p720p, 1080p
Clip lengthFixed, about 5 seconds (81 frames at 16 fps)You choose, 2 to 15 seconds
Aspect ratioAuto, 16:9, 9:16, 1:1Follows your frames
ExtrasSeed, negative promptSeed, negative prompt, optional audio, or continue a source video

Use Wan 2.7 for keyframe work. The duration control is the reason. A big change between two frames squeezed into a short clip looks rushed, and with 2.7 you can give a slow reveal 8 or 10 seconds. The 1080p option helps product shots, where edges and labels need to stay crisp.

The cost is credits. Longer clips and higher resolution raise the estimate, which the composer shows before you generate. A sensible pattern is to test a frame pair at a lower resolution and a short length, confirm the two frames agree, then spend on the long 1080p version once you know it holds together.

Why it breaks: angle jumps, identity drift, reflections

Angle jumps

If the start frame is at eye level and the end frame looks down from above, the model has to invent a camera move to connect them, and the midpoint often looks like a lurch or a cut. Framing does the same thing: a wide shot paired with a close-up forces a zoom you never asked for. Keep the camera matched in both frames, or name the move you want in the prompt so the model has a plan.

Identity drift

A person can look like themselves at both ends and like a cousin in the middle. It gets worse when the two frames differ in style, say a render at one end and a photo at the other, because the model tries to blend the styles as well. Keep both frames in one style, keep the face large and sharp in both, and avoid a big head turn inside a single clip.

Reflections, glass, and water

Mirrors, chrome, windows, and still water are where the middle frames give way. The model has to keep the reflection consistent with the thing being reflected while both move, and it often loses track. A cabin can hold steady while its reflection in the lake ripples and smears. Light and focus cause the same trouble. If the main light comes from the left in one frame and from overhead in the other, or the background is blurred in one and sharp in the other, the model animates that change along with everything else.

Loops: the same frame at both ends

Load the same image as first and last frame and the clip starts and ends on the same picture, so it loops without a visible seam. It's the quickest way to get a looping background, a site header, or a cinemagraph-style post.

The tradeoff is motion. The model has half the clip to move away and half to come back, so it tends to play safe. Expect noticeably less movement than a plain image to video run from the same still, and don't expect a longer, more detailed prompt to fix that on its own. The loop is clean partly because not much happens in it.


The short version

First and last frame video fixes both ends and lets the model infer the middle. Make the end frame by editing the start frame, so the camera, light, and ratio agree. Write the prompt as the path between them, and check that the path can finish on your last frame. Use Wan 2.7 for final clips, keep reflections and big angle changes out of your first tries, and expect a one-frame loop to move less than you'd like.

Try a frame pair in Image to Video, or see the rest of the video tools. If you're new to animating stills, start with how to animate a still image with AI. To make the end frame, the Image to Image features page lists every edit model we run.

Filed under

  • first and last frame ai video
  • start and end frame video ai
  • keyframe to video ai
  • wan 2.7 first last frame
  • ai transition video between two images
All guides