SV
Endpoint: POST https://mps.intl.tencentcloudapi.comAction: CreateAigcVideoTask
SV 是视频生成模型,支持文生视频、首帧 / 首尾帧生视频和参考图生成。提供 1.5-pro、1.0-pro、1.0-pro-fast、1.0-lite-i2v 多个版本,可按质量与速度选择。
基本信息
| 项目 | 值 |
|---|---|
| ModelName | Seedance |
| ModelVersion | 1.5-pro / 1.0-pro / 1.0-pro-fast / 1.0-lite-i2v |
| 默认值 | ModelVersion=1.5-pro / Resolution=1080P |
| 是否支持护栏解除 | 不支持 |
各版本支持规格
| 版本 | 分辨率 | 宽高比 | 时长 |
|---|---|---|---|
1.5-pro / 1.0-pro / 1.0-pro-fast / 1.0-lite-i2v | 480P / 720P / 1080P / 2K / 4K | 16:9 / 9:16 / 1:1 | 通过 Duration 以秒为单位指定。请求示例 5 秒 |
请求参数
| 参数 | 必填 | 类型 | 说明 |
|---|---|---|---|
ModelName | 必填 | String | 固定值 Seedance |
ModelVersion | 选填 | String | 1.5-pro / 1.0-pro / 1.0-pro-fast / 1.0-lite-i2v |
Prompt | 必填 | String | 生成 Prompt。最多 2000 个字符 |
ImageUrl | 选填 | String | 首帧图片 URL。必须可从外部访问且不超过 10MB |
LastImageUrl | 选填 | String | 尾帧图片 URL。需与 ImageUrl 一起使用 |
ImageInfos.N | 选填 | Array | 参考图片数组。如 Category / Url / ReferenceType 等 |
Duration | 选填 | Integer | 生成时长(秒)。仅生效各模型允许的值 |
ExtraParameters | 选填 | Object | Resolution / AspectRatio / EnableAudio |
AdditionalParameters | 选填 | String | 承载模型专属选项的 JSON 字符串。seed 的传递格式请参考 附加配置 |
请求示例
json
{
"ModelName": "Seedance",
"ModelVersion": "1.5-pro",
"Prompt": "a calm sunset over the ocean, cinematic",
"Duration": 5,
"ExtraParameters": {
"Resolution": "1080P",
"AspectRatio": "16:9"
},
"Operator": "admin",
"StoreCosParam": {
"CosBucketName": "<bucket-appid>",
"CosBucketRegion": "<bucket-region>",
"CosBucketPath": "/aigc/"
}
}响应示例
json
{
"Response": {
"Status": "DONE",
"Message": "ok",
"Resolution": "1920x1080",
"VideoUrls": [
"https://aigc-output-video-<id>.cos.<region>.myqcloud.com/<file>.mp4?q-sign-algorithm=sha1&..."
],
"RequestId": "<request-id>"
}
}