爆款复刻 · 视频
脚本级复刻NEW
📌 这是什么:上传一条爆款参考视频和你的商品图,保留爆款的结构与节奏,换成你的商品重新拍出一条同款视频。可指定模特形象、口播语言和目标市场。
💡 什么时候用:做带货短视频:看到一条爆款,想用自己的商品快速复刻同样的脚本。
接口地址
| 用途 | 方法 | 路径 |
|---|---|---|
| 提交任务 | POST | /api/cqt/generator/viralclone |
| 查询结果 | GET | /api/cqt/info/viralclone?id={taskId} |
⏱ 建议轮询时间:爆款复刻生成较慢,一般需要几分钟。建议每 10 秒轮询一次,直到 status = succeeded / failed。
模型对照表
两个模型接口与参数完全一致,区别只在画质、可选时长与比例。表外的时长提交即报错(不扣费)。
| model | 用途 | 可用素材 | 时长(秒) | 分辨率 |
|---|---|---|---|---|
| viral-clone-flash | 高级版:速度与价格更均衡(默认档) | 参考视频 1 个 · 商品图 ≤10 | 2~15 | 720P / 1080P |
| viral-clone-pro | 专业版:画质与还原度更高,支持更长时长与 adaptive 比例 | 参考视频 1 个 · 商品图 ≤10 | 4~30 | 720P / 1080P |
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 必填 | viral-clone-flash(高级版)/ viral-clone-pro(专业版) |
| cloneMode | string | — | 复刻类型,本页固定 script(不传时默认 script) |
| videoUrls | string[] | 必填 | 爆款参考视频地址,恰好 1 个(需公网可访问) |
| imageUrls | string[] | 必填 | 商品图地址,至少 1 张、最多 10 张 |
| duration | number | 必填 | 成片时长(秒):高级版 2~15,专业版 4~30。同时是计费秒数 |
| resolution | string | — | 720P(默认)/ 1080P |
| aspectRatio | string | — | 9:16 / 16:9 / 3:4 / 4:3 / 1:1 / 21:9;专业版另支持 adaptive(跟随参考视频)。不传则按参考视频自动选 9:16 或 16:9 |
| prompt | string | — | 自定义要求(可选),如场景、氛围、要强调的卖点 |
| productName | string | — | 商品名称(可选) |
| productDescription | string | — | 商品卖点描述(可选) |
| personaImages | string[] | — | 人物形象参考图(可选,≤10 张),指定成片中的人物外观 |
| personaGender | string | — | 模特性别:male / female / any |
| personaAge | string | — | 年龄段:teenager / youth / middle_aged / senior |
| personaEthnicity | string | — | 外观特征:caucasian / asian / latino / african / middle_eastern |
| personaBodyType | string | — | 体型:slim / standard / athletic / chubby |
| language | string | — | 口播语言(仅脚本级):zh / en / ja / ko / es / pt / de / fr / it / pl / instrumental(纯音乐无口播) |
| market | string | — | 目标市场(仅脚本级),影响本地化风格:north_america / europe / china / japan / korea / sea / brazil |
请求示例
curl -X POST https://api.cqtai.com/api/cqt/generator/viralclone \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "viral-clone-flash",
"cloneMode": "script",
"videoUrls": [
"https://example.com/viral.mp4"
],
"imageUrls": [
"https://example.com/product-1.png",
"https://example.com/product-2.png"
],
"productName": "Ice-silk white dress",
"productDescription": "Cooling ice-silk fabric, quick-dry and breathable",
"duration": 10,
"resolution": "720P",
"aspectRatio": "9:16",
"language": "en",
"market": "north_america",
"personaGender": "female",
"personaAge": "youth",
"prompt": "Show the product in a sunny park"
}'
# -> { "code":200, "data":"<taskId>" }响应示例
{
"code": 200,
"msg": "success",
"data": {
"id": "<taskId>",
"status": "succeeded",
"resultUrl": "https://.../clone.mp4",
"errorMsg": null,
"createTime": "2026-11-18 10:00:00",
"completeTime": "2026-11-18 10:05:00"
}
}⏳ 文件链接保存 15 天,到期自动删除,请及时下载转存。
响应字段说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | number | 200 表示请求成功 |
| data.id | string | 任务 ID(taskId) |
| data.status | string | queued / running / succeeded / failed |
| data.resultUrl | string | 成片地址(我方 CDN,长期有效);未完成或失败为 null |
| data.errorMsg | string | null | 失败原因;成功时为 null |