Authorization: Bearer ********************
{
"model": "wan2.2-kf2v-flash",
"input": {
"first_frame_url": "https://example.com/frame1.jpg",
"last_frame_url": "https://example.com/frame2.jpg",
"prompt": "镜头缓慢拉远,展现更广阔的场景"
},
"parameters": {
"resolution": "720P"
}
}
curl --location --request POST 'wan/api/v1/services/aigc/image2video/video-synthesis' \
--header 'X-DashScope-Async;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "wan2.2-kf2v-flash",
"input": {
"first_frame_url": "https://example.com/frame1.jpg",
"last_frame_url": "https://example.com/frame2.jpg",
"prompt": "镜头缓慢拉远,展现更广阔的场景"
},
"parameters": {
"resolution": "720P"
}
}'
{
"request_id": "9ac24eda-12b3-4274-8c3e-7ca78a6d1644",
"output": {
"task_id": "3e0b5f2d-5f3e-4b3a-8f3a-5f3e4b3a8f3a",
"task_status": "PENDING"
}
}