← スキル一覧に戻る

veo-frames-to-video
by bluewaves-creations
Bluewaves Antropic Skills
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: veo-frames-to-video description: 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. allowed-tools: Bash, Read, Write
Veo 3.1 First-Last-Frame-to-Video
Generate smooth video transitions between two frames using Google DeepMind's Veo 3.1 model via fal.ai.
Prerequisites
FAL_KEYenvironment variable must be set (typically in~/.zshrc)
API Endpoint
POST https://fal.run/fal-ai/veo3.1/first-last-frame-to-video
Parameters
Required
prompt(string): Text description of how the video should transition between framesfirst_frame_url(string): URL of the first/starting framelast_frame_url(string): URL of the last/ending frame
Optional
| Parameter | Type | Default | Options |
|---|---|---|---|
duration | string | "8s" | "4s", "6s", "8s" |
aspect_ratio | string | "auto" | "auto", "9:16", "16:9" |
resolution | string | "720p" | "720p", "1080p" |
generate_audio | boolean | true | Enable/disable audio generation |
Usage
cURL
curl --request POST \
--url https://fal.run/fal-ai/veo3.1/first-last-frame-to-video \
--header "Authorization: Key $FAL_KEY" \
--header "Content-Type: application/json" \
--data '{
"prompt": "Smooth time-lapse transition from day to night as the sun sets",
"first_frame_url": "https://example.com/daytime-scene.jpg",
"last_frame_url": "https://example.com/nighttime-scene.jpg",
"duration": "8s",
"resolution": "1080p",
"generate_audio": true
}'
Python
import fal_client
result = fal_client.subscribe(
"fal-ai/veo3.1/first-last-frame-to-video",
arguments={
"prompt": "Smooth time-lapse transition from day to night as the sun sets",
"first_frame_url": "https://example.com/daytime-scene.jpg",
"last_frame_url": "https://example.com/nighttime-scene.jpg",
"duration": "8s",
"resolution": "1080p",
"generate_audio": True
}
)
# Access the generated video URL
video_url = result["video"]["url"]
print(f"Generated video: {video_url}")
JavaScript
import { fal } from "@fal-ai/client";
const result = await fal.subscribe("fal-ai/veo3.1/first-last-frame-to-video", {
input: {
prompt: "Smooth time-lapse transition from day to night as the sun sets",
first_frame_url: "https://example.com/daytime-scene.jpg",
last_frame_url: "https://example.com/nighttime-scene.jpg",
duration: "8s",
resolution: "1080p",
generate_audio: true
}
});
console.log("Generated video:", result.video.url);
Response Format
{
"video": {
"url": "https://storage.googleapis.com/.../output.mp4"
}
}
Examples
-
Time-lapse transition:
- First frame: Morning cityscape
- Last frame: Same cityscape at night
- Prompt: "Time-lapse of the city from morning to night, lights gradually turning on"
-
Seasonal change:
- First frame: Summer landscape
- Last frame: Winter landscape (same location)
- Prompt: "Seasons change from summer to winter, leaves fall and snow covers the ground"
-
Transformation:
- First frame: Empty room
- Last frame: Furnished room
- Prompt: "Furniture magically appears and arranges itself in the room"
-
Growth animation:
- First frame: Seed in soil
- Last frame: Full-grown plant
- Prompt: "Plant grows from seed, stem emerges and leaves unfold"
-
Scene morphing:
- First frame: Photo of a person
- Last frame: Artistic painting of the same person
- Prompt: "Realistic photo gradually transforms into an impressionist painting"
Tips
- Ensure both frames have similar composition for smooth transitions
- Describe the transition motion/action in the prompt
- Works best when both frames share similar subjects or scenes
- Use longer duration (8s) for complex transitions
- The AI will interpolate the motion between the two frames
Error Handling
| Error | Cause | Solution |
|---|---|---|
401 Unauthorized | Invalid FAL_KEY | Verify key at fal.ai dashboard |
429 Too Many Requests | Rate limit exceeded | Wait 60 seconds, retry |
400 Bad Request | Invalid frame URLs or mismatch | Use similar composition frames |
500 Server Error | API temporary issue | Retry after 30 seconds |
Timeout | Video generation taking too long | Use 720p or 4s duration |
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です