多模态视频编辑
创建任务
通过 CometAPI 创建 Kling 多模态视频编辑任务:POST /kling/v1/videos/multi-elements,将多个元素组合起来并异步生成视频。
POST
Create a Kling multimodal edit task
使用此端点可在你的会话和选择内容准备就绪后,提交最终的多模态视频编辑任务。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
完整工作流
初始化编辑会话
先使用 初始化编辑视频 获取你想编辑的片段对应的
session_id。调用前说明
- 确保选区会话已经初始化
- 在消耗一次生成调用前,确认你的区域选择是正确的
- 将此路由视为最终生成步骤,而不是配置步骤
授权
Bearer token authentication. Use your CometAPI key.
请求体
application/json
Session id returned by the video initialization endpoint.
Editing operation to apply. Options: replace, remove.
Text prompt describing the desired edit for the selected region.