task_id,请通过回调或查询接口获取任务状态。agent_id 对应特定的配置参数,请严格参考下表及示例代码进行传参。{
"agent_id": "koubo_8f4e3d2a91c74b76a85d2c4e7f8a9b1c",// 模版id,必填
"params": {
"video_url": [
"http://player.install-ai-guider.top/files/6921810bab8bfad6516eccd1/upload_f4c62a21a3244c029739ce21dc966d44.mp4?OSSAccessKeyId=LTAI5t8QxFyxBtk3ApZgrQfZ&Expires=1780416978&Signature=%2BKRj8vlSeK5vSzr7b4lg3yOdHpw%3D" // 原视频链接,必填
],
"cover":[
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面图,可选
"title": "标题", // 标题,可选
"text_content":"正确文案" // 正确文案,可选
}
}{
"agent_id": "koubo_ddfe028229d24696bf080303c95f604c",// 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"kongjing_urls": [
"https://player.install-ai-guider.top/example/koubo_kongjing_1.mp4"
], // 空镜素材链接,必填,最少1个,最多10个,最好单个时长不超过15秒
"author": "作者", // 作者,选填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}{
"agent_id": "koubo_cbbe5e6b468844e782c961fd9ee07b7d", // 口播ID,必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"title": "流光剪辑标题", // 顶部标题,选填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}{
"agent_id": "koubo_d8b7f9e05c4a11efb9620242ac120003", // 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"title": "流光剪辑标题", // 顶部标题,选填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}{
"agent_id": "koubo_b82feeb636f3476a9a752ebd745d9750", // 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"title": "流光剪辑标题", // 顶部标题,选填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}{
"agent_id": "koubo_2dfb2efedde84791b218cfd798531bc8", // 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_test3.mp4"
], // 原视频链接,必填,只能填1个。
"title": "你必须非常努力\n才能毫不费力" // 顶部标题,选填
}
}{
"agent_id": "koubo_d47e8a905f1b48798e76123456789abc", // 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"title": "流光剪辑标题", // 顶部标题,选填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}{
"agent_id": "koubo_1f9c8d7e6a2b4c0d9e8f123456789abc", // 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}{
"agent_id": "koubo_6a4f2c9e8b1d4f7aa3c5e9d02b6f8c13", // 口播ID, 必填
"params": {
"video_url": [
"https://player.install-ai-guider.top/example/koubo_source.mp4"
], // 原视频链接,必填,只能填1个。
"text_content":"正确文案",// 原视频正确文案,选填,小语种或者方言必填
"cover": [
"https://player.install-ai-guider.top/example/mao.webp"
], // 封面,选填
"name": "测试草稿" // 草稿名,选填
}
}💡 建议:在正式大规模调用前,请先前往 官网控制台 查看模版实时效果并进行单次调优。
curl --location 'https://open.vectcut.com/cut_jianying/agent/submit_agent_task' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"agent_id": "koubo_8f4e3d2a91c74b76a85d2c4e7f8a9b1c",
"params": {
"video_url": [
"http://player.install-ai-guider.top/files/6921810bab8bfad6516eccd1/upload_f4c62a21a3244c029739ce21dc966d44.mp4?OSSAccessKeyId=LTAI5t8QxFyxBtk3ApZgrQfZ&Expires=1780416978&Signature=%2BKRj8vlSeK5vSzr7b4lg3yOdHpw%3D"
]
}
}'{
"task_id": "924E4C927BEE000216155282E20BFF11"
}