Model Version | Function | Duration (seconds) | Resolution | Style | Generation Time (seconds) | Price (ptc) |
---|---|---|---|---|---|---|
Vidu-1.5 | Reference-based video generation (character2video) | 4 | 360p | General | 30 | 0.5 |
4 | 720p | General | 155 | 1.25 | ||
4 | 1080p | General | 620 | 2.5 | ||
8 | 720p | General | 360 | 2.5 | ||
Vidu-1.0 | Reference-based video generation (character2video) | 4 | 360p | General | 30 | 0.5 |
8 | 360p | General | 60 | 1.0 |
vidu-high-performance
and stable
must be provided. When the version is set to 1.5, these parameters are optional. These two parameters do not affect the generation quality and only need to be transmitted as required.{
"type": "character2video",
"model_version": "1.5",
"input": {
"enhance": true,
"multi_image_boost": true,
"prompts": [
{
"type": "text",
"content": "女孩的手心漂浮着一只半透明金鱼,镜头逐渐拉近,镜头顺时针旋转"
},
{
"type": "image",
"content": "https://dev-ss-images.s3.cn-northwest1.amazonaws.com.cn/tmp/20241126-175112.png"
},
{
"type": "image",
"content": "https://dev-ss-images.s3.cn-northwest1.amazonaws.com.cn/tmp/20241126-175116.png"
},
{
"type": "image",
"content": "https://dev-ss-images.s3.cn-northwest1.amazonaws.com.cn/tmp/20241126-175120.png"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "720p",
"duration": 4,
"aspect_ratio": "1:1",
"movement_amplitude": "auto"
},
"moderation": false
}
curl --location --request POST 'https://api.302.ai/vidu/ent/v1/tasks' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "character2video",
"model_version": "1.5",
"input": {
"enhance": true,
"multi_image_boost": true,
"prompts": [
{
"type": "text",
"content": "女孩的手心漂浮着一只半透明金鱼,镜头逐渐拉近,镜头顺时针旋转"
},
{
"type": "image",
"content": "https://dev-ss-images.s3.cn-northwest1.amazonaws.com.cn/tmp/20241126-175112.png"
},
{
"type": "image",
"content": "https://dev-ss-images.s3.cn-northwest1.amazonaws.com.cn/tmp/20241126-175116.png"
},
{
"type": "image",
"content": "https://dev-ss-images.s3.cn-northwest1.amazonaws.com.cn/tmp/20241126-175120.png"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "720p",
"duration": 4,
"aspect_ratio": "1:1",
"movement_amplitude": "auto"
},
"moderation": false
}'
{}