Customize your input with more control.
Customize your input with more control.
Type # to reference inputs.
Hint: Drag and drop image files from your computer, images from web pages, paste from clipboard (Ctrl/Cmd+V), or provide a URL. Accepted file types: jpg, jpeg, png, webp, gif, avif, heic, heif

Hint: Drag and drop image files from your computer, images from web pages, paste from clipboard (Ctrl/Cmd+V), or provide a URL. Accepted file types: jpg, jpeg, png, webp, gif, avif, heic, heif

Customize your input with more control.
For a video generation, your request will cost $0.2 at 480p resolution and 0.4$ at 720p resolution. For $1 you can run this model with approximately 5 times. More than the default frames will cost 1.25x more.
For a video generation, your request will cost $0.2 at 480p resolution and 0.4$ at 720p resolution. For $1 you can run this model with approximately 5 times. More than the default frames will cost 1.25x more.
Advanced AI Model for Dynamic Video Generation from Key Frames
Transform your creative workflows with Wan-2.1 FLF2V, a powerful AI model that generates smooth, coherent video sequences by intelligently bridging between first and last frame images.
Wan-2.1 FLF2V delivers high-quality video generation by synthesizing intermediate frames between user-specified start and end images. Built on fal.ai's robust infrastructure, it offers seamless integration options through both REST APIs and native SDKs.
Transform your applications with Wan-2.1 FLF2V's unique advantages:
Getting up and running with Wan-2.1 FLF2V takes just a few minutes. Here's how to begin:
For JavaScript/TypeScript:
bashnpm install --save @fal-ai/client
For Python:
bashpip install fal-client
JavaScript:
javascriptimport { fal } from "@fal-ai/client"; fal.config({ credentials: "YOUR_FAL_KEY" });
Python:
pythonimport fal_client import os os.environ["FAL_KEY"] = "YOUR_FAL_KEY"
Here's a practical example of generating videos with Wan-2.1 FLF2V:
javascriptimport { fal } from "@fal-ai/client"; async function generateVideo() { try { const result = await fal.subscribe("fal-ai/wan-flf2v", { input: { first_frame_url: "https://your-domain.com/first-frame.jpg", last_frame_url: "https://your-domain.com/last-frame.jpg", prompt: "Smooth transition between frames", resolution: "720p" } }); return result; } catch (error) { console.error("Generation failed:", error); } }
Maximize your results by following these proven approaches:
For production deployments, consider implementing these patterns:
Queue-based Processing:
javascriptconst { request_id } = await fal.queue.submit("fal-ai/wan-flf2v", { input: { first_frame_url: "your-first-frame.jpg", last_frame_url: "your-last-frame.jpg", prompt: "Your transition description" }, webhookUrl: "https://your-webhook.url" }); // Check status const status = await fal.queue.status("fal-ai/wan-flf2v", { requestId: request_id }); // Get result const result = await fal.queue.result("fal-ai/wan-flf2v", { requestId: request_id });
File Upload Support:
javascriptconst file = new File([imageData], "frame.jpg", { type: "image/jpeg" }); const url = await fal.storage.upload(file); // Use the uploaded URL in your request
Input Requirements:
Output:
Our comprehensive support ensures smooth implementation:
Transparent, usage-based pricing:
Example: For $1, you can generate approximately 5 videos at 480p or 2.5 videos at 720p.
View detailed pricing or contact sales for enterprise solutions.
We're here to support your implementation:
Start building with Wan-2.1 FLF2V today and experience powerful video generation from key frames. Create your free account at fal.ai/login to begin exploring the possibilities.