Give it a first frame and a last frame, or up to 10 keyframes placed on frame numbers;
get a clip that opens exactly on the first (scale 1.000) and lands on the very
last frame of the pinned end. In the tests both held on two seeds on all three routes,
with no duplicated subject. That pinned end also kept a small door sign legible, which
Flux 3 alone could not do. The same still as first and last frame closed a seamless
loop. The cost is $0.94 for the 5 s minimum at 720p. For one first frame and no end,
use flux-3-image-to-video. For a pinned 4 s shot at 720p use kling-v4-image-to-video
($0.70). For a cheap 360p transition between two different scenes use
pixverse-v6-transition.
Routes
| Route | 5 s at 720p | Input | Measured (end frame SSIM, landing at s of 5) |
|---|---|---|---|
First-last (fal/blackforestlabs/flux-3/first-last-frame-to-video) | $0.94 | start_image_url + end_image_url, both required | 0.886 at 4.96, 0.889 at 4.75 |
Keyframes (fal/blackforestlabs/flux-3/keyframes-to-video) | $0.94 | keyframes only | 0.889 at 4.92, 0.887 at 4.96 |
Max keyframes (fal/blackforestlabs/flux-3-max/keyframes-to-video) | $0.94 | keyframes, seed, reasoning_level | 0.894 and 0.899, both at 4.96 |
On this test the three were within 0.01 of each other. First-last is the plainest call. Use keyframes for a middle pose; middle keyframes were not tested. For reference, Kling v4 scored 0.926 and Seedance 2.0 us 0.93, at 4 s and with different output sizes.
Inputs
- The first frame, and a last frame derived from it, so that only what moves
changes (
nano-banana-derive-last-frame). - Keyframes (keyframes routes): 1 to 10 items of
{image_url, frame_index}. Indexes count at 24 fps, must be unique, and go no higher thanduration × 24. Frame 120 is the end of a 5 s clip. There is no plain image field: the first frame is{image_url, frame_index: 0}.
Run it
Call describe on the route before the first run in a job.
run("fal/blackforestlabs/flux-3/first-last-frame-to-video", {
"start_image_url": "<job>/stills/shot04_first.png",
"end_image_url": "<job>/stills/shot04_last.png",
"prompt": "<motion, see below>",
"duration": 5,
"resolution": "720p",
"generate_audio": false
}, into="<job>/video/raw", unit="shot04_flux3fl", tag="shot04")
run("fal/blackforestlabs/flux-3/keyframes-to-video", {
"keyframes": [
{"image_url": "<job>/stills/shot04_first.png", "frame_index": 0},
{"image_url": "<job>/stills/shot04_last.png", "frame_index": 120}
],
"prompt": "<motion>", "duration": 5, "resolution": "720p", "generate_audio": false
}, into="<job>/video/raw", unit="shot04_flux3kf", tag="shot04")
- First-last without an end frame fails (the request was refused, and refunded).
duration: whole seconds, 5 to 20. Give it explicitly, because it places the end frame.generate_audiodefaults to true. Set it tofalseunless you want sound.- Max keyframes: add
"reasoning_level": "low". The default,high, rewrites the prompt and is slower. promptis required on all three routes.
Prompt
Black Forest Labs' keyframe guide (checked 2026-12-04): the frames are read in order as one timeline. Keep them related in subject, scene and camera so it "reads as one take", and space them so each transition is achievable; a wider gap between frames gives more unpredictability. The prompt describes the motion between frames. These held in the tests:
- Describe the move between the frames and where it ends ("walks … and ends in front of the right-hand window"), plus "Static shot, locked camera".
- For a loop, describe a small action and say that it loops. The test prompt: "Static shot, locked camera. The man breathes gently and blinks once; the clip ends exactly where it began, so it loops seamlessly." All three routes blinked in between and came back to the still.
What you get
An MP4 at 1280×704, 24 fps and 5.042 s for 5 asked, with no audio when audio is off. The pinned frame arrives on the last frame, with no frozen tail to trim.
Examples
Test renders, each from the same starting still. Open one to play the clip.
Same still as first and last frame (a seamless loop).
Pinned last frame: the sign flips to CLOSED (lands on the very last frame).
Same still as first and last frame (Max: a seamless loop).
Tips and traps
- Pinned ends rescue small text. The 1 %-high "CLOSED" door sign was legible at the landing on both seeds of first-last and keyframes. Flux 3 i2v without an end frame garbled it on one seed of two.
- One walker, not two. All three routes reached the end pose with the same man. Kling v3 and Kling O3 std spawned a second walker on the same test.
- Loops (seen once each): SSIM 0.933–0.935 between the still and the final frame on all three routes. Cut the last frame, or the first frame plays twice at the seam.
- At $0.94 a render, approve the two frames before you render, and draft the motion on a cheaper route.
Check it
- Frame 0 against the first still, and the last frame against the end still:
python-check-pinned-frames. Expect scale 1.000 at frame 0 and a landing within the last 0.1–0.3 s. - Count the people across the clip, not just on the last frame.
- The output is 1280×704, not 16:9 exactly. Conform it to the delivery frame deliberately.
- Trim the shot with
ffmpeg-frame-exact-trim.


