Authorization: Bearer ********************x-api-key: ********************{
"model": "vidu2.0",
"subjects": [
{
"name": "your_subject1_name",
"images": [
"https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/image2video.png"
],
"voice_id": ""
},
{
"name": "your_subject2_name",
"images": [
"https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/kling-qa-test/multi-2.png"
],
"voice_id": ""
}
],
"prompt": "@your_subject1_name 和 @your_subject2_name 在一起吃火锅,并且旁白音说火锅大家都爱吃。",
"resolution": "720p",
"duration": 4,
"audio": true
}curl --location '/vidu/ent/v2/reference2video' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "vidu2.0",
"subjects": [
{
"name": "your_subject1_name",
"images": [
"https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/image2video.png"
],
"voice_id": ""
},
{
"name": "your_subject2_name",
"images": [
"https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/kling-qa-test/multi-2.png"
],
"voice_id": ""
}
],
"prompt": "@your_subject1_name 和 @your_subject2_name 在一起吃火锅,并且旁白音说火锅大家都爱吃。",
"resolution": "720p",
"duration": 4,
"audio": true
}'{}