Pricing
Compare models →Price depends on the output size and the video duration. A default request (832×480, 5 seconds) costs $0.30 per run.
| Size | 5 s | 10 s |
|---|---|---|
| 832×480 | $0.30 | $0.45 |
| 480×832 | $0.30 | $0.45 |
| 1280×720 | $0.40 | $0.60 |
| 720×1280 | $0.40 | $0.60 |
- A 5-second video is billed at the 5 s price for its size.
- Any duration from 6 to 10 seconds is billed at the 10 s price for its size. For example, a 6-second video at 832×480 costs $0.45, and a 6-second video at 1280×720 costs $0.60.
Input schema
| Parameter | Type | Description |
|---|---|---|
imageRequired | string | URL of the starting image.JSON schema{
"x-aliases": [
"first_image"
]
} |
last_imageRequired | string | URL of the ending image. |
prompt | string | |
negative_prompt | string | The negative prompt for the generation. |
duration | integer | The duration of the generated media in seconds.Default: 5Minimum: 5 · Maximum: 10 |
size | string | The size of the generated media in pixels (width*height).832*480480*8321280*720720*1280"832*480" |
num_inference_steps | integer | The number of inference steps to perform.Default: 30Minimum: 1 · Maximum: 40 |
guidance_scale | number | The guidance scale to use for the generation.Default: 5Minimum: 0 · Maximum: 20 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
Wan FLF2V — OpenSI-ai/wan-flf2v
Wan FLF2V is a first-last-frame-to-video model that generates a short video by interpolating a coherent motion path between a image and a last_image, guided by an optional text prompt. Provide the starting frame and the ending frame, then describe what happens in between (e.g., a transformation, assembly, reveal, or scene change). The model produces a smooth transition clip while keeping the beginning and ending states aligned with your provided frames.
Key capabilities
- First-last-frame guided video generation (image → last_image)
- Prompt-guided in-between action and transformation logic
- Supports negative_prompt to reduce artifacts and unwanted motion
- Size selection for different output resolutions
- Seed control for reproducible results
Use cases
- Transformation sequences (frame → completed object, sketch → final render)
- Product assembly and reveal animations (parts → finished product)
- Before/after transitions (makeover, restoration, environment change)
- Visual storytelling between two keyframes for ads and social
- Storyboard “in-betweening” from a first and last shot
Pricing
Price depends on the output size and the video duration. A default request (832×480, 5 seconds) costs $0.30 per run.
| Size | 5 s | 10 s |
|---|---|---|
| 832×480 | $0.30 | $0.45 |
| 480×832 | $0.30 | $0.45 |
| 1280×720 | $0.40 | $0.60 |
| 720×1280 | $0.40 | $0.60 |
- A 5-second video is billed at the 5 s price for its size.
- Any duration from 6 to 10 seconds is billed at the 10 s price for its size. For example, a 6-second video at 832×480 costs $0.45, and a 6-second video at 1280×720 costs $0.60.
Inputs
- image (required): starting frame
- last_image (required): ending frame
- prompt (optional): describe the transition and what happens in between
- negative_prompt (optional): what to avoid (blur, jitter, distortion, artifacts)
Parameters
- duration: video length in seconds
- size: output resolution selection (e.g., 832×480)
- num_inference_steps: sampling steps
- guidance_scale: prompt adherence strength
- seed: random seed (-1 for random; fixed value for reproducible results)
Prompting guide (FLF2V)
A good prompt explains how the first becomes the last:
Template:
Fixed camera. Start exactly from the first image and end exactly at the last image. In between, show [mechanism] smoothly and coherently. No flicker, no warping.
Example prompts
- Transform the car frame into a complete vehicle. Parts assemble step-by-step, bolts tighten, panels slide into place, paint and reflections appear gradually, cinematic lighting, smooth motion, fixed camera.
- A rough clay sculpture becomes a polished ceramic statue, cracks heal, glaze forms, subtle dust motes, steady camera, seamless transition.
- A bare room becomes fully furnished, objects slide into place naturally, lighting stays consistent, no jitter.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Wan FLF2V Image-to-Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/wan-flf2v for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/yhq843ini355.jpg",
"last_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"prompt": "The camera employs a dreamlike, grand, low-angle shot, focusing on a giant, translucent jellyfish floating on the vast ocean surface. Against a backdrop of purplish-blue twilight, the jellyfish's enormous bell-shaped canopy envelops a brightly lit miniature metropolis, with skyscrapers and a bridge spanning the sea clearly visible, radiating a warm golden glow. The jellyfish floats and rotates slowly in the air with the rise and fall of the waves, its long tentacles swaying gracefully below under the influence of the breeze and gravity, emitting an ethereal blue light. The camera slowly circles the jellyfish, showcasing this surreal spectacle from all angles. The sound of the waves intertwines with the faint hustle and bustle of the city, creating a serene yet breathtaking science fiction fairytale atmosphere.",
"negative_prompt": "A cinematic ocean wave at sunrise, highly detailed",
"duration": 5,
"size": "832*480",
"num_inference_steps": 30,
"guidance_scale": 5,
"seed": 0
}Wan FLF2V Image-to-Video API — Frequently asked questions
What is the Wan Flf2v API?
Wan Flf2v is a OpenSIAI model for video generation from images, exposed as a REST API on OpenSIAI. Wan-2.1 FLF2V converts a start and end frame into a smooth, coherent video sequence, bridging frames with realistic motion transitions. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Wan Flf2v API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/wan-flf2v.
How much does Wan Flf2v cost per run or per second?
Wan Flf2v starts at $0.06 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Wan Flf2v accept?
Key inputs: prompt, image, duration, size, seed, guidance_scale. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/wan-flf2v.
How long does Wan Flf2v take to generate?
Reported generation time on OpenSIAI is around 195 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Wan Flf2v outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.