Wan 2.7 First-Last Frame to Video
Submit an asynchronous Ali wan2.7-i2v first-and-last-frame video generation task.
Use first_frame to specify the start frame, last_frame to specify the end frame, optionally paired with driving_audio for audio-driven generation.
Supported media combinations:
first_frame + last_framefirst_frame + last_frame + driving_audio
The prompt field is optional for this capability. size only supports 720P and 1080P. seconds only supports integer strings from 2 to 15. Also supports official fields negative_prompt, prompt_extend, watermark, and seed.
Authorizations
Body
List of media assets (images, audio) for video generation. Each element is a media object with type and url.
Supported combinations (invalid combinations will return an error):
- First & last frame:
first_frame+last_frame - First & last frame + audio:
first_frame+last_frame+driving_audio
Each type can appear at most once in the array.
Specifies the output resolution tier for controlling video clarity (total pixels).
The model automatically scales to a similar total pixel count based on the selected resolution tier. The video aspect ratio will attempt to stay consistent with the input material (first frame or first clip).
720P, 1080P Random seed, range [0, 2147483647]. When unspecified, the system auto-generates a random seed. For better reproducibility, set a fixed seed. Note: due to the probabilistic nature of model generation, the same seed does not guarantee identical results every time.
0 <= x <= 2147483647Response
Submitted successfully. Returns an OpenAI-compatible video task object.