curl --location --request POST \
'https://suanwuyou.com.cn/v1/videos' \
--header "Authorization: Bearer $SUANWYOU_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "happyhorse-1.1-r2v",
"input": {
"prompt": "[Image 1]中的人物拿起[Image 2]中的折扇,镜头缓慢推近。",
"media": [
{
"type": "reference_image",
"url": "https://example.com/person.jpg"
},
{
"type": "reference_image",
"url": "https://example.com/fan.jpg"
}
]
},
"parameters": {
"resolution": "720P",
"ratio": "16:9",
"duration": 5
}
}'