Skip to main content
POST
cURL
在重新构建当前编辑区域或放弃当前编辑区域之前,使用此工具端点从多模态编辑会话中移除选区状态。

何时使用

  • 你希望移除当前选区记录,而不是继续使用它
  • 你要在标记新的目标区域之前清理一次编辑过程

工作流中的作用

  • 需要来自初始化编辑视频session_id
  • 需要你要删除的选区点对应的 frame_index 和 0-1 百分比 points
  • 通常后续会调用添加视频选区,或在不生成内容的情况下结束会话
完整参数说明请参阅 Kling API 文档

授权

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.