Model Version | Function | Duration (s) | Resolution (p) | Style | Generation Time (s) | Price (ptc) |
---|---|---|---|---|---|---|
Vidu-1.5 | Image to Video (img2video) | 4 | 360 | General | 30 | 0.25 |
4 | 720 | General | 90 | 0.625 | ||
4 | 1080 | General | 320 | 1.25 | ||
8 | 720 | General | 250 | 1.25 | ||
Vidu-1.0 | Image to Video (img2video) | 4 | 360 | General | 30 | 0.25 |
8 | 360 | General | 60 | 0.5 |
vidu-high-performance
.stable
.vidu-high-performance
and stable
must be provided.general
, anime
{
"type": "img2video",
"model_version": "1.5",
"input": {
"prompts": [
{
"type": "text",
"content": "两个人拥抱"
},
{
"type": "image",
"content":"https://test-ss-images.s3.ap-southeast-1.amazonaws.com/tmp/prompt-300k.jpeg"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "512",
"movement_amplitude": "auto",
"duration": 4
},
"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": "img2video",
"model_version": "1.5",
"input": {
"prompts": [
{
"type": "text",
"content": "两个人拥抱"
},
{
"type": "image",
"content":"https://test-ss-images.s3.ap-southeast-1.amazonaws.com/tmp/prompt-300k.jpeg"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "512",
"movement_amplitude": "auto",
"duration": 4
},
"moderation": false
}'
{}