マルチモーダル動画編集
タスクを作成
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.