Skip to main content
POST
cURL
このユーティリティエンドポイントを使用すると、現在の編集領域を再構築または破棄する前に、マルチモーダルな編集セッションから選択状態を削除できます。

使用するタイミング

  • 現在の選択記録をそのまま使い続けるのではなく、削除したい場合
  • 新しい対象領域をマークする前に、編集パスをクリーンアップしたい場合

ワークフロー上の役割

  • 動画編集用に初期化 で取得した session_id が必要です
  • 削除したい選択ポイントに対して、frame_index と 0〜1 の割合で表した points が必要です
  • 通常は 動画選択を追加 に続くか、生成せずにセッションを終了します
完全なパラメータリファレンスについては、Kling API documentation を参照してください。

承認

Authorization
string
header
必須

Bearer token authentication. Use your CometAPI key.

ボディ

application/json
session_id
string
必須

Selection session id returned by init-selection. Follow-up calls must use the same account and exact session id.

frame_index
integer
必須

Frame index where the selected point set applies.

points
object[]
必須

Points to delete from the current selection.

レスポンス

200 - application/json

Success

code
integer
必須

Response code. 0 means the request succeeded.

message
string
必須

Response message.

data
object

Route-specific response payload when present.