{
"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 ' \
--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
}'
{
"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"
}