alibaba 1.4.2。源码:plugins/tasks/alibaba/plugin.js。| 模型 | 时长(秒) | 分辨率 |
|---|---|---|
| wan3.0-video | -1 或 2 至 30 | 480P, 720P, 1080P |
| wan3.0-video-prime | -1 或 2 至 30 | 480P, 720P, 1080P |
| wan2.7-t2v | 2 至 15 | 720P, 1080P |
| wan2.7-i2v | 2 至 15 | 720P, 1080P |
| wan2.6-t2v | 2 至 15 | 720P, 1080P |
| wan2.6-t2v-us | 5, 10, 15 | 720P, 1080P |
| wan2.6-i2v | 2 至 15 | 720P, 1080P |
| wan2.6-i2v-flash | 2 至 15 | 720P, 1080P |
| wan2.6-i2v-us | 5, 10, 15 | 720P, 1080P |
| wan2.5-t2v-preview | 5, 10 | 480P, 720P, 1080P |
| wan2.5-i2v-preview | 5, 10 | 480P, 720P, 1080P |
| wan2.2-t2v-plus | 5 | 480P, 1080P |
| wan2.2-i2v-flash | 5 | 480P, 720P, 1080P |
| wan2.2-i2v-plus | 5 | 480P, 1080P |
| wan2.2-kf2v-flash | 5 | 480P, 720P, 1080P |
| wan2.2-s2v | 大于 0 且小于 20,跟随音频 | 480P, 720P |
| wanx2.1-t2v-plus | 5 | 720P |
| wanx2.1-t2v-turbo | 5 | 480P, 720P |
| wanx2.1-i2v-plus | 5 | 720P |
| wanx2.1-i2v-turbo | 3, 4, 5 | 480P, 720P |
Authorization: Bearer ********************curl --location '/api/v1/services/aigc/image2video/video-synthesis' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.6-i2v",
"input": {
"prompt": "海边日出,镜头缓慢推进",
"img_url": "https://example.com/input.png"
},
"parameters": {
"size": "1280*720",
"duration": 5
}
}'{
"request_id": "request_example",
"output": {
"task_id": "task_example",
"task_status": "PENDING"
}
}