モデルバージョン | 機能 | 長さ/秒 | 解像度 | スタイル | 生成時間/秒 | 単価(ptc) |
---|---|---|---|---|---|---|
Vidu-1.5 | 始めと終わりのフレームから動画生成 (headtailimg) | 4 | 360 | 汎用 | 30 | 0.25 |
4 | 720 | 汎用 | 90 | 0.625 | ||
4 | 1080 | 汎用 | 320 | 1.25 | ||
8 | 720 | 汎用 | 250 | 1.25 |
{
"type": "headtailimg2video",
"model_version": "1.5",
"input": {
"prompts": [
{
"type": "text",
"content": "两个人拥抱"
},
{ // first image
"type": "image",
"content": "https://test-ss-images.s3.ap-southeast1.amazonaws.com/tmp/prompt-300k.jpeg"
},
{ // last image
"type": "image",
"content": "https://test-ss-images.s3.ap-southeast1.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-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "headtailimg2video",
"model_version": "1.5",
"input": {
"prompts": [
{
"type": "text",
"content": "两个人拥抱"
},
{ // first image
"type": "image",
"content": "https://test-ss-images.s3.ap-southeast1.amazonaws.com/tmp/prompt-300k.jpeg"
},
{ // last image
"type": "image",
"content": "https://test-ss-images.s3.ap-southeast1.amazonaws.com/tmp/prompt-300k.jpeg"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "512",
"movement_amplitude": "auto",
"duration": 4
},
"moderation": false
}'
{}