Profile

google / veo-3.1-first-last-frame-to-video

Generate seamless 8-second video transitions by interpolating between a first and last frame with high-fidelity visuals and native audio.

0.4 per second of output video

Model Input

Input

The text description for the video.

Text describing what not to include in the video.

The initial image to animate (start frame).

The final image for the video to transition to.

The video's aspect ratio.

The video's resolution.

You need to be logged in to run this model and view results.
Log in

Model Output

Output

Fill in the input form and click submit to see the output
Logs (1 lines)

Model Details

Model Details

Veo 3.1 redefines video creation by allowing users to generate high-fidelity, 8-second videos that transition seamlessly between a specific starting image and an ending image. This "frame-specific generation" capability gives creators precise control over the video's trajectory, ensuring the output begins and resolves exactly as intended. Whether animating a character's movement, transforming a scene's lighting, or depicting a changing landscape, the model intelligently interpolates the frames between the two inputs based on a descriptive text prompt.

Beyond simple cross-fading, this model understands semantic context and physics, generating realistic motion and intermediate states that bridge the gap between the provided visuals. The result is a smooth, cinema-quality video available in 720p or 1080p resolutions, accompanied by natively generated audio that synchronizes with the visual events.

### Use Cases * **Storytelling:** Visualizing a character disappearing, a prop changing location, or a scene evolving over time. * **Creative Transitions:** Morphing one object into another or shifting between distinct environments (e.g., day to night). * **Marketing:** Creating dynamic transitions between product states, such as a box opening or a device turning on.

### How to get the best results * **Prompting:** Clearly describe the action, movement, or change occurring between the two frames in the `prompt` field (e.g., "The fog thickens and swirls around her, and she slowly fades away"). * **Image Alignment:** For the most cohesive results, ensure the first and last images share a consistent artistic style and aspect ratio. * **Configuration:** The model creates 8-second videos by default for this mode. Select between `16:9` or `9:16` aspect ratios to match your input images and target platform.

To run via ModelRunner javascript client, use the following code:

```javascript import { modelrunner } from "@modelrunner/client";

const result = await modelrunner.subscribe('google/veo-3.1-first-last-frame-to-video', { input: { "prompt": "The fog thickens and swirls around her, and she slowly fades away, vanishing completely.", "negative_prompt": "low quality, blurry, distorted, cartoon", "image_url": "https://storage.googleapis.com/generativeai-downloads/images/ghost_girl.png", "last_frame_url": "https://storage.googleapis.com/generativeai-downloads/images/empty_tree.png", "aspect_ratio": "16:9", "resolution": "720p" } }); ```