First and last frame to video

Give a start image and an end image, and the model renders the motion between them.

What it does

Useful for transitions, before-and-after reveals and product transformations, where the start and the end of the shot must be exact.

How your assistant does it

Your assistant calls generate_video with the first frame in image_url and the last frame in end_image_url.

Tools it calls

Models that can do it

Prices in credits, from the same price list as the models page.

What it costs

  • 4 to 177 credits per second
ModelGood forPrice
Gemini Omni FlashGooglegemini-omni-flashDefault
Fast, affordable clips with native sound and dialogue. The sensible default for drafts and social video.
4 ($0.04) per second · 360p
9 ($0.09) per second · 720p
13 ($0.13) per second · 1080p
25 ($0.25) per second · 4K
Kling 4.0Kuaishoukling-4
Directed motion and camera work for up to 30 seconds, with strong character consistency from references.
21 ($0.21) per second · 720p
31 ($0.31) per second · 1080p
72 ($0.72) per second · 4K
Seedance 2.5ByteDanceseedance-2.5
Cinematic multi-shot clips with native audio, up to 30 seconds and 4K. Follows image, video and audio references.
21 ($0.21) per second · 480p (est.)
44 ($0.44) per second · 720p (est.)
108 ($1.08) per second · 1080p (est.)
177 ($1.77) per second · 4K (est.)
Seedance 2.5 FlashByteDanceseedance-2.5-flash35% off until 30 November 2026
The economical Seedance tier, at 480p and 720p.
11 ($0.11) per second · 480p (est.)
23 ($0.23) per second · 720p (est.)
Veo 3.1Googleveo-3.1
Top-tier realism and physics with synchronised sound. Short clips, premium price.
29 ($0.29) per second · 720p
29 ($0.29) per second · 1080p
58 ($0.58) per second · 4K
Veo 3.1 FastGoogleveo-3.1-fast
Veo's faster tier at half the price.
12 ($0.12) per second · 720p
15 ($0.15) per second · 1080p
Wan 3.0Alibabawan-3.0
Versatile and inexpensive, up to 30 seconds. Takes image, video and audio references.
6 ($0.06) per second · 480p
12 ($0.12) per second · 720p
23 ($0.23) per second · 1080p
LTX 2.5 FastLightricksltx-2.5-fast
Very fast renders up to 20 seconds and 4K, with optional sound.
15 ($0.15) per second · 720p
21 ($0.21) per second · 1080p
48 ($0.48) per second · 4K
MiniMax H3MiniMaxminimax-h3
Expressive characters and physical action at a low per-second price.
6 ($0.06) per second · 480p
12 ($0.12) per second · 720p
MiniMax H3 MaxMiniMaxminimax-h3-max
The tuned H3: sharper detail and reference-driven consistency.
7 ($0.07) per second · 480p
11 ($0.11) per second · 720p
Kling 3.0 ProKuaishoukling-3-proLegacy
The previous Kling generation; still a solid, predictable performer.
14 ($0.14) per second · 1080p

Prices marked as estimates belong to models billed by usage rather than a flat rate.

Example prompts

Go from the closed box in the first image to the unboxed phone in the second, with a smooth camera move.
Transition from the empty room to the furnished room, like a time-lapse.
From the pencil sketch to the finished painting, the brush strokes filling in.

What your assistant sends

The tool call behind a request like the one above. The same call works over REST.

generate_video {
  "model": "gemini-omni-flash",
  "prompt": "Go from the closed box in the first image to the unboxed phone in the second, with a smooth camera move.",
  "image_url": "ast_…",
  "end_image_url": "ast_…",
  "duration": 5
}

Related jobs

  • Text to video · Turn a written shot description into a video clip, with sound on the models that make it.
  • Image to video · Animate a still image: your photo or generated picture becomes the first frame of a moving clip.
  • Reference to video · Keep a character, product or style consistent by giving the model reference images, clips or audio.
  • Talking avatar · Make the person in a photo speak: one image and a voice track become a talking video.
  • Lip-sync · Re-sync the mouth in an existing video to a new voice track, for dubbing and script fixes.
  • Motion transfer · Make the character in an image perform the motion from a driving video.

All features →