Request
POST
/v1/generationsmode: image_to_videojson
{
"model": "wan-3.0",
"mode": "image_to_video",
"variant": "prime",
"parameters": {
"resolution": "1080p",
"duration_seconds": 6,
"ratio": "adaptive",
"prompt_extend": true
},
"input": {
"prompt": "The camera slowly pushes toward the subject",
"first_frame": {
"type": "https_url",
"url": "https://cdn.example.com/first-frame.png"
},
"last_frame": {
"type": "https_url",
"url": "https://cdn.example.com/last-frame.png"
}
}
}Frame rules
first_frameis required and accepts an HTTPS URL or a ready imagemedia_asset.last_frameis optional and uses the same locator shape.input.promptis optional for image-to-video.- Do not mix
first_frame/last_framewith areferencesarray.
URL lifetime
An HTTPS URL must be reachable without embedded credentials and remain available until provider processing completes. Alibaba fetches caller-hosted media directly in the closed alpha. To avoid depending on the source URL after isolated uploads are enabled for your project, upload once and pass the resulting media_asset_id.