Skip to main content
Wan2.7 I2V is Alibaba Cloud’s image-to-video model, available through the AnyFast asynchronous video API. It supports first-frame animation, first-and-last-frame control, video continuation, and optional audio-driven motion. I2V means image-to-video. Wan2.7 also accepts an initial video clip for continuation.

Supported media combinations

Each media type can appear at most once. Output aspect ratio follows the first frame or first video clip.

Enable NSFW generation

  1. Select the Special-Ns resource group when creating the API token.
  2. Set parameters.prompt_extend to false. Its default value is true.

Quick example

cURL

Input limits

  • Images: JPEG/JPG/PNG/BMP/WEBP, 240-8,000 px per side, aspect ratio 1:8 to 8:1, up to 20 MB; public URL or Base64 data URL
  • Driving audio: WAV/MP3, 2-30 seconds, up to 15 MB; public URL
  • Initial clip: MP4/MOV, 2-10 seconds, 240-4,096 px per side, aspect ratio 1:8 to 8:1, up to 100 MB; public URL
For continuation, parameters.duration is the maximum total output duration, including the input clip.

Parameters

API Reference

View the complete request schema.

Task Query

Poll the task and retrieve the result URL.

Official reference

See the Alibaba Cloud Model Studio Wan2.7 image-to-video API reference.