Model Version | Function | Duration (seconds) | Resolution | Style | Generation Time (seconds) | Unit Price (ptc) |
---|---|---|---|---|---|---|
Vidu-1.5 | Text-to-Video (text2video) | 4 | 360p | General | 30 | 0.25 |
4 | 360p | Anime | 30 | 0.25 | ||
4 | 720p | General | 90 | 0.625 | ||
4 | 720p | Anime | 90 | 0.625 | ||
4 | 1080p | General | 320 | 1.25 | ||
4 | 1080p | Anime | 320 | 1.25 | ||
8 | 720p | General | 250 | 1.25 | ||
8 | 720p | Anime | 250 | 1.25 | ||
Vidu-1.0 | Text-to-Video (text2video) | 4 | 360p | General | 30 | 0.25 |
4 | 360p | Anime | 30 | 0.5 | ||
8 | 360p | General | 60 | 0.5 | ||
8 | 360p | Anime | 60 | 1.0 |
{
"type": "text2video",
"style": "general",
"model_version": "1.5",
"input": {
"seed": 123,
"enhance": true,
"prompts": [
{
"type": "text",
"content": "猪在飞"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "512",
"aspect_ratio": "16:9",
"movement_amplitude": "auto",
"duration": 4
},
"moderation": false
}
curl --location --request POST 'https://api.302.ai/vidu/ent/v1/tasks' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "text2video",
"style": "general",
"model_version": "1.5",
"input": {
"seed": 123,
"enhance": true,
"prompts": [
{
"type": "text",
"content": "猪在飞"
}
]
},
"output_params": {
"sample_count": 1,
"resolution": "512",
"aspect_ratio": "16:9",
"movement_amplitude": "auto",
"duration": 4
},
"moderation": false
}'
{
"id": "string",
"type": "string",
"state": "string",
"model": "string",
"style": "string",
"moderation": true,
"input": {
"creation_id": "string",
"prompts": [
{
"type": "string",
"content": "string",
"negative": true
}
],
"seed": 0,
"enhance": true,
"multi_image_boost": true
},
"output_params": {
"sample_count": 0,
"duration": 0,
"aspect_ratio": "string",
"resolution": "string",
"movement_amplitude": "string"
},
"err_code": "string",
"creations_count": 0,
"model_version": "string",
"created_at": "string"
}