askill
video-from-frames

video-from-framesSafety 90Repository

Generate video from first and last frame images using fal.ai Veo 3.1. Use when the user wants to create a video transition between two images, morph between scenes, or generate smooth video connecting a starting and ending frame.

1 stars
1.2k downloads
Updated 2/18/2026

Package Files

Loading files...
SKILL.md

Video from Frames

Generate smooth video transitions between two frames using Google DeepMind's Veo 3.1 model via fal.ai.

See references/fal-api.md for setup, Python patterns, and error handling.

API Endpoint

fal-ai/veo3.1/first-last-frame-to-video

Parameters

Required

  • prompt (string): Text description of how the video should transition between frames
  • first_frame_url (string): URL of the first/starting frame (use fal_client.upload_file() for local files)
  • last_frame_url (string): URL of the last/ending frame (use fal_client.upload_file() for local files)

Optional

ParameterTypeDefaultOptions
durationstring"8s""4s", "6s", "8s"
aspect_ratiostring"auto""auto", "9:16", "16:9"
resolutionstring"720p""720p", "1080p"
generate_audiobooleantrueDisable to save ~50% credits

CLI Script

python3 scripts/fal_generate.py \
    --endpoint video-from-frames \
    --prompt "Smooth transition from day to night" \
    --first-frame morning.jpg \
    --last-frame night.jpg \
    --duration 8s \
    --video-resolution 1080p \
    --output video.mp4

Tips

  • Ensure both frames have similar composition and framing for smooth transitions
  • Describe the transition motion and action clearly in the prompt
  • Works best when both frames share the same subject or scene from the same viewpoint
  • Use longer duration (8s) for complex transitions with many intermediate states
  • The AI interpolates plausible motion between the two frames
  • Upload local files with fal_client.upload_file() before passing as frame URLs
  • Shorter duration (4s) generates faster and works well for simple transitions

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

80/100Analyzed 2/25/2026

Well-structured reference-style skill for generating video transitions using fal.ai Veo 3.1. Provides clear API parameters, CLI usage, and practical tips. Uses external reference for setup/error handling which is appropriate for reference-style documentation. Includes when-to-use trigger, structured commands, and tags. Score benefits from completeness of parameter documentation and clarity, slightly reduced by reference-style delegation of setup details."

90
85
70
70
75

Metadata

Licenseunknown
Version-
Updated2/18/2026
Publisherbluewaves-creations

Tags

apiprompting