How-to

How to Make a Matching Last Frame for AI Video

Learn how to prepare a matching first and last frame using image editing, locked camera angles, and consistent lighting, with 6 tested FLUX 3 Max pairs.

On this page5 sections
Short answer

The cleanest way to make a matching last frame is to edit a copy of your first frame - keeping the camera lens, horizon, and background geometry identical while changing only the target state. When two frames share the same geometry and aspect ratio, FLUX 3 Max animates the transformation cleanly instead of morphing the entire room or product.

Best methodRun an image edit on your first frame rather than generating two unrelated images from scratch.
Same cost as one photoAdding an optional last frame still bills 36 credits/s at 720p (180 credits for 5 s).

Why mismatched frames break transitions

When you drop two images into the Image tab (first frame and optional Last frame slot), FLUX 3 Max has to invent every intermediate frame between them at 24 fps. If the camera shifts left between frame A and frame B, or if the focal length changes from 35 mm to 85 mm, the model spends half the clip warping walls and bending straight lines.

Across our six verified first-and-last frame runs (waterfront day-to-night, flower bloom, pencil sketch to watercolor, park portrait turn, skincare jar unboxing, and Christmas living room reveal), the transitions that held rock-solid shared three traits:

1Locked background anchorsIdentical wooden desk, pencils, and paper corners in our sketch-to-watercolor clip keep the camera completely still.
2Shared lighting directionThe pale stone pedestal and studio key light stay consistent while the jar lid opens in our skincare unboxing test.
3Matching aspect ratioBoth frames share exact 16:9 dimensions so Ratio: Auto never stretches or crops the end state.

1How to build your matching frame pair

Follow these four steps whether you are editing a real product photograph or generating both frames with an AI image editor:

  1. Start with a clean, uncropped first frameLeave breathing room around the subject if anything will open, lift, or bloom (our skincare unboxing frame leaves pedestal space on the right for the removed lid).
  2. Edit the first image rather than re-rolling from textUse an image-editing tool or Photoshop layer adjustment to alter only what changes: paint the pencil lines into watercolor, open the jar lid, or add the lit tree in the empty living room corner.
  3. Export both frames at the exact same pixel aspect ratioKeep both files in JPEG, PNG, or WebP under 20 MB. With Ratio set to Auto, FLUX 3 Max follows the shape of your first frame.
  4. Write a bridge prompt focused on motion and soundDescribe what moves from start to finish and explicitly say “locked-off shot” or “camera holds still” when you want zero camera drift.

Three real frame pairs we tested on FLUX 3 Max

Notice how each of these three pairs holds background edges fixed while only the story element transforms:

Sketch to watercolor lighthouse

In our 6-second watercolor test (720p, 26 s wait), the paper sheet, pencils, and wooden tabletop never move between the pencil sketch starting image and the painted ending image. Only the drawing inside the paper fills with watercolor washes.

First frame: pencil sketch on wooden deskFirst frame: pencil sketch on wooden desk
Last frame: finished watercolor lighthouseLast frame: finished watercolor lighthouse
The pencils and desk grain stay identical in both frames, so FLUX 3 Max keeps the overhead camera locked while painting.

Exact prompt we ran:

The pencil lines on the white paper fill in smoothly with watercolor washes, blue sky first, then sea and rocks, while the camera holds completely still over the desk. Crisp audible watercolor brush strokes swishing across textured paper, a brush tapping a ceramic water cup, and gentle acoustic guitar.

Closed jar to open swirl

For our skincare unboxing run (5 s, 720p, 19 s wait), placing the removed matte lid beside the frosted jar in the ending photo gave FLUX 3 Max a concrete destination for where the lid should land.

First frame: closed frosted skincare jarFirst frame: closed frosted skincare jar
Last frame: opened jar with lid beside itLast frame: opened jar with lid beside it
Both images share the same travertine stone pedestal and soft studio lighting, letting the lid lift cleanly in 5 seconds.

Looking up to wave

When animating a fictional person in a sunlit park (5 s, 720p, 39 s wait), keeping the background foliage and denim jacket identical between the starting and waving poses preserved facial consistency across the turn and wave. Note that on this particular run, the park audio came back very quiet (-44.4 dB mean), showing that quiet ambient cues do not always register loudly.

First & last frame vs keyframes: when two frames are enough

Use first & last frame when
  • The transition moves linearly from state A to state B (closed to open, empty to decorated, sketch to painting)
  • You want a quick 5 to 8 second clip without preparing a middle image
  • No hidden middle object needs to appear and vanish before the end
Switch to keyframes mode when
  • A midpoint state matters (like midday to sunset to night on a skyline, or an intermediate milk pour before latte art)
  • You are building an 8 to 20 second arc that would drift halfway without a middle anchor
  • You want up to 10 beats pinned on a 24 fps timeline (see our keyframe timing guide)
No aspect-ratio mismatch fix: If frame B has a different framing than frame A, the transition will warp toward frame B’s crop.
No magic physics on giant leaps: Asking two completely unrelated scenes to connect in 5 seconds causes a blurry cross-dissolve rather than real motion.
Same per-second cost: 36 credits/s at 720p (180 credits for 5 s) and 62 credits/s at 1080p (310 credits for 5 s).
Try first-and-last frame mode

Open the first-and-last frame page, load our sketch-to-watercolor or skincare-jar pair, or drop two matching frames of your own.

Sketch startSketch endSkincare end
Open FLUX 3 Max first and last frame

FAQ

Does the last frame have to be the exact same resolution as the first frame?

Exact pixel dimensions do not have to match, but keeping the exact same aspect ratio and framing matters a lot. With Ratio set to Auto, FLUX 3 Max locks the video shape to your first uploaded image.

What file formats can I upload for first and last frames?

You can upload JPEG (.jpg), PNG (.png), or WebP (.webp) files up to 20 MB per image. Both frames pass an automatic safety check before generation begins.

Can I move the camera between the first and last frame?

Yes, subtle camera motion works well if both frames share a consistent physical space - for example, the slow subtle push-in on our skincare unboxing clip. Large cuts or swapped lenses between frame A and frame B tend to distort mid-clip.

Why did my two-frame transition blur or morph in the middle?

Either the two frames had different camera angles and backgrounds, or the transformation needed a middle anchor. For three-stage changes (such as day to sunset to night), switch to Keyframes mode and pin a midpoint image.