{
"model": "wan3.0-video",
"input": {
"prompt": "一只橘猫在草地上奔跑,阳光明媚,电影质感",
"img_url": "https://example.com/first-frame.jpg",
"media": [
{
"type": "first_frame",
"url": "https://example.com/first.jpg"
},
{
"type": "last_frame",
"url": "https://example.com/last.jpg"
}
]
},
"parameters": {
"size": "1920*1080",
"resolution": "480P",
"duration": 5,
"ratio": "adaptive",
"prompt_extend": true,
"watermark": true,
"seed": 0
}
}curl --location 'https://api.naoshengyun.com/ali/api/v1/services/aigc/video-generation/video-synthesis' \
--header 'Authorization: Bearer sk-xxxxxxxxxxxxxxxx' \
--header 'X-DashScope-Async: enable' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan3.0-video",
"input": {
"prompt": "一只橘猫在草地上奔跑,阳光明媚,电影质感",
"img_url": "https://example.com/first-frame.jpg",
"media": [
{
"type": "first_frame",
"url": "https://example.com/first.jpg"
},
{
"type": "last_frame",
"url": "https://example.com/last.jpg"
}
]
},
"parameters": {
"size": "1920*1080",
"resolution": "480P",
"duration": 5,
"ratio": "adaptive",
"prompt_extend": true,
"watermark": true,
"seed": 0
}
}'{
"request_id": "string",
"output": {
"task_id": "string",
"task_status": "PENDING"
}
}