Generate videos from text prompts or images using Alibaba Wan2 models.
| Model | Description | Audio | First Frame | First & Last Frame | Resolution | Duration | FPS | Format |
|---|---|---|---|---|---|---|---|---|
| wan2.5-t2v-preview | Text-to-video with auto sound or custom audio | ✅ | ❌ | ❌ | 480P/720P/1080P | 5s/10s | 24fps | MP4 |
| wan2.5-i2v-preview | Image-to-video with auto sound or custom audio | ✅ | ✅ | ❌ | 480P/720P/1080P | 5s/10s | 24fps | MP4 |
| wan2.2-i2v-flash | Fast version, 50% speed improvement | ❌ | ✅ | ❌ | 480P/720P/1080P | 5s | 30fps | MP4 |
| wan2.2-i2v-plus | Professional version, enhanced stability | ❌ | ✅ | ❌ | 480P/1080P | 5s | 30fps | MP4 |
| wan2.1-vace-plus | Multi-modal support, video editing | ❌ | ✅ | ✅ | 720P | 5s | 30fps | MP4 |
| wan2.1-kf2v-plus | First & last frame (keyframe-to-video) | ❌ | ❌ | ✅ | 720P | 5s | 30fps | MP4 |
| Property | Requirement |
|---|---|
| Formats | JPEG, JPG, PNG (no transparency), BMP, WEBP |
| Dimensions | [360, 2000] pixels for both width and height |
| File Size | Max 10MB |
| Input | Public URL or Base64 encoded data |
size parameter with exact dimensions (e.g., “1920*1080”)resolution parameter with quality tier (e.g., “1080P”)Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Select the Wan2 video generation model you want to call. Each model exposes a tailored parameter set.
Fixed model name.
wan2.5-t2v-preview Text description for the desired video content (max 2000 characters).
2000Negative prompt describing unwanted content (max 500 characters).
500Enable automatic audio generation. Set to false to force a silent output.
Custom audio file URL (wav/mp3, 3-30s, ≤15MB). Overrides the audio flag.
Output resolution ("width*height"). Supported tiers:
832*480, 480*832, 624*624, 1280*720, 720*1280, 960*960, 1088*832, 832*1088, 1920*1080, 1080*1920, 1440*1440, 1632*1248, 1248*1632 Video duration in seconds (24 fps). Supported values 5 or 10.
5, 10 Enable intelligent prompt rewriting (slightly longer latency, better detail).
Random seed [0, 2147483647].
0 <= x <= 2147483647Accepted - Task created successfully