wan-video/wan-2.7-i2v
Generate videos from images, with support for first-and-last-frame control, clip continuation, and audio synchronization using Alibaba's Wan 2.7 model
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
audio | string(uri) | Audio file (wav/mp3, 3-30s, ≤15MB) for voice/music synchronization. If not provided, the model auto-generates matching audio. | — | — |
duration | integer | Duration of the generated video in seconds | 5 | min: 2, max: 15 |
enable_prompt_expansion | boolean | Automatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency. | true | — |
first_clip | string(uri) | Video clip to continue from (mp4/mov, 2-10s, ≤100MB). Cannot be combined with first_frame. | — | — |
first_frame | string(uri) | First frame image to animate into video (jpg/png/bmp/webp, ≤20MB) | — | — |
last_frame | string(uri) | Last frame image for first-and-last-frame video generation (jpg/png/bmp/webp, ≤20MB). Requires first_frame. | — | — |
negative_prompt | string | Negative prompt — describes content that should not appear in the video | "" | — |
prompt | string | Text prompt for video generation | "" | — |
resolution | string | Output video resolution | "1080p" | 720p1080p |
seed | integer | Random seed for reproducible generation. Range: 0-2147483647 | — | — |
audiostringAudio file (wav/mp3, 3-30s, ≤15MB) for voice/music synchronization. If not provided, the model auto-generates matching audio.
durationintegerDuration of the generated video in seconds
5min: 2, max: 15enable_prompt_expansionbooleanAutomatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency.
truefirst_clipstringVideo clip to continue from (mp4/mov, 2-10s, ≤100MB). Cannot be combined with first_frame.
first_framestringFirst frame image to animate into video (jpg/png/bmp/webp, ≤20MB)
last_framestringLast frame image for first-and-last-frame video generation (jpg/png/bmp/webp, ≤20MB). Requires first_frame.
negative_promptstringNegative prompt — describes content that should not appear in the video
""promptstringText prompt for video generation
""resolutionstringOutput video resolution
"1080p"seedintegerRandom seed for reproducible generation. Range: 0-2147483647
b2d9c361e320Updated: 8/1/202672.0K runs
cinemasetfree