视频复刻
更新时间: 2026/08/27 10:13:38
该接口可以根据原视频和商品图或人物图做视频复刻。
请求信息
请求 URL
POST /hub/vidu/v2/trending-replicate
请求头
| Header | 必填 | 示例值 |
|---|---|---|
Authorization |
是 | Bearer sk-xxxxx |
Content-Type |
是 | application/json; charset=utf-8 |
请求体
请求示例
json{
"video_url": "https://example.com/original.mp4",
"images": [
"https://example.com/product.png"
],
"prompt": "保持原视频运镜节奏,将主体替换为参考商品。",
"aspect_ratio": "16:9",
"resolution": "1080p",
"remove_audio": false
}
响应信息
响应体
| 字段 | 类型 | 说明 |
|---|---|---|
task_id |
string | 任务 ID |
state |
string | 任务状态。常见值:created、queueing、processing、success、failed |
video_url |
string | 原视频地址 |
images |
string[] | 输入图片 |
prompt |
string | 提示词 |
aspect_ratio |
string | 输出比例 |
resolution |
string | 分辨率 |
remove_audio |
bool | 是否移除声音 |
credits |
string | 消耗量 |
created_at |
string | 创建时间 |
响应示例
json{
"task_id": "tsk_1234567908",
"state": "created",
"video_url": "https://example.com/original.mp4",
"images": [
"https://example.com/product.png"
],
"prompt": "保持原视频运镜节奏,将主体替换为参考商品。",
"aspect_ratio": "16:9",
"resolution": "1080p",
"remove_audio": false,
"credits": "30.000000",
"created_at": "2026-04-16T09:48:00Z"
}
错误码
完整列表请参考客户端 API 错误码。
此文档是否对你有帮助?




