input
对象中的参数决定。prompt
。prompt
和img_url
。Authorization: Bearer ********************
{
"model": "wan2.2-i2v-plus",
"input": {
"prompt": "一只猫在草地上奔跑",
"img_url": "https://cdn.translate.alibaba.com/r/wanx-demo-1.png"
},
"parameters": {
"resolution": "1080P",
"prompt_extend": true
}
}
curl --location --request POST '/wan/api/v1/services/aigc/video-generation/video-synthesis' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "wan2.2-i2v-plus",
"input": {
"prompt": "一只猫在草地上奔跑",
"img_url": "https://cdn.translate.alibaba.com/r/wanx-demo-1.png"
},
"parameters": {
"resolution": "1080P",
"prompt_extend": true
}
}'
{
"output": {
"task_status": "PENDING",
"task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
},
"request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}