多模態影片編輯
建立任務
透過 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.
完整流程
初始化編輯工作階段
先使用 Initialize Video for Editing 取得您要編輯之片段的
session_id。建立選取區域
使用 Add Video Selection,並在需要時搭配 Preview Selected Video Area 來微調編輯區域。
呼叫前須知
- 請確認選取工作階段已完成初始化
- 在消耗一次生成呼叫前,請確認您的區域選取正確無誤
- 請將此路由視為最終生成步驟,而非設定步驟
授權
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.