wan-video/wan-2.7-i2v 🔢🖼️📝❓✓ → 🖼️

⭐ Official ▶️ 4.7K runs 📅 Mar 2026 ⚙️ Cog 0.17.2
image-to-video-with-audio video-continuation

About

Generate videos from images, with support for first-and-last-frame control, clip continuation, and audio synchronization using Alibaba's Wan 2.7 model

Example Output

Prompt:

"Wispy clouds drift slowly across the mountain peaks, casting moving shadows on the ridges. Mist swirls gently in the valley below. Cinematic timelapse with soft golden hour light."

Output

Performance Metrics

225.01s Prediction Time
225.03s Total Time
All Input Parameters
{
  "seed": 2024,
  "prompt": "Wispy clouds drift slowly across the mountain peaks, casting moving shadows on the ridges. Mist swirls gently in the valley below. Cinematic timelapse with soft golden hour light.",
  "duration": 5,
  "resolution": "720p",
  "first_frame": "https://images.pexels.com/photos/2662116/pexels-photo-2662116.jpeg?w=1920",
  "enable_prompt_expansion": false
}
Input Parameters
seed Type: integer
Random seed for reproducible generation. Range: 0-2147483647
audio Type: string
Audio file (wav/mp3, 3-30s, ≤15MB) for voice/music synchronization. If not provided, the model auto-generates matching audio.
prompt Type: stringDefault:
Text prompt for video generation
duration Type: integerDefault: 5Range: 2 - 15
Duration of the generated video in seconds
first_clip Type: string
Video clip to continue from (mp4/mov, 2-10s, ≤100MB). Cannot be combined with first_frame.
last_frame Type: string
Last frame image for first-and-last-frame video generation (jpg/png/bmp/webp, ≤20MB). Requires first_frame.
resolution Default: 1080p
Output video resolution
first_frame Type: string
First frame image to animate into video (jpg/png/bmp/webp, ≤20MB)
negative_prompt Type: stringDefault:
Negative prompt — describes content that should not appear in the video
enable_prompt_expansion Type: booleanDefault: true
Automatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 2024
Creating Wan 2.7 I2V task...
Created task 7d69d091-9db6-431c-ab09-772b1015d144, polling for result...
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: RUNNING
Task status: SUCCEEDED
Wan 2.7 I2V completed in 222.7sec
Downloading 4026491 bytes
Downloaded 3.84MB in 0.70sec
Version Details
Version ID
828436fb90dcc167bc1566ba13c294d98c68fdbfbdcdd7a095149c98c7a9e668
Version Created
April 2, 2026
Run on Replicate →