Back to Models Guide
Alibabavideo

Complete Guide to Using Wan 2.7

Try This ModelTutorial

Overview

Alibaba Wan 2.7 reference-to-video: generate a video conditioned on up to 5 reference images/videos, 720p/1080p, 2–10s

Input Parameters

prompt
textarearequired

Positive prompt (max 5000 chars).

negative_prompt
textarea

Negative prompt (max 500 chars).

reference_image
file

Reference images (JPEG/PNG/WebP, ≤30MB each). Combined with reference_video, max 5 total.

reference_video
file

Reference videos (MP4/MOV, ≤10MB each). Combined with reference_image, max 5 total.

first_frame
file

Optional first-frame image (≤30MB). When provided, aspect_ratio is derived from this image.

reference_voice
file

Optional voice timbre reference (MP3/WAV, 1–10s, ≤15MB).

resolution
selectrequired

Output resolution. 16 cr/s @ 720p, 24 cr/s @ 1080p.

Options
720p1080p
Default: 1080p
aspect_ratio
selectrequired

Aspect ratio (ignored when first_frame is provided).

Options
16:99:161:14:33:4
Default: 16:9
duration
sliderrequired

Video duration in seconds (2–10).

Min: 2Max: 10Default: 5
Auto-Expand Prompt
toggle

Automatically rewrite/expand short prompts.

Default: true
watermark
toggle

Add an 'AI generated' watermark.

Default: false
seed
number

Random seed (0–2147483647, 0 = random).

NSFW Filter
toggle

Enable NSFW content filtering.

Default: false