返回模型调用 API 参考
POST/kling/v1/videos/multi-elements/delete-selection

删减视频选区

API Key application/json

请求示例

curl -X POST https://top.qingyuntop.ai/kling/v1/videos/multi-elements/delete-selection \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "session_id": "828033558945619987",
    "frame_index": 1,
    "points": [
        {
            "x": 1.0,
            "y": 0.0
        }
    ]
}'

请求参数

参数位置类型必填说明示例
Content-TypeHeaderstring-application/json
AuthorizationHeaderstring-Bearer {{YOUR_API_KEY}}
session_idJSON bodystring会话ID,会基于视频初始化任务生成,不会随编辑选区行为而改变-
frame_indexJSON bodyinteger帧号 最多支持添加10个标记帧,即最多基于10帧标记视频选区 1次仅支持标记1帧-
pointsJSON bodyarray<object>点选坐标,用x、y表示 取值范围:[0,1],用百分比表示;[0,1]代表画面左上角 支持同时增加多个标记点,某一帧最多可标记10个点-
points[].xJSON bodyinteger--
points[].yJSON bodyinteger--

返回响应 (200)

此部分没有定义参数。

来源原始接口定义(用于追溯)

以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。

{
  "id": 495899792,
  "name": "删减视频选区",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "post",
  "path": "/kling/v1/videos/multi-elements/delete-selection",
  "tags": [],
  "status": 1,
  "requestBody": {
    "type": "application/json",
    "parameters": [],
    "jsonSchema": {
      "type": "object",
      "properties": {
        "session_id": {
          "type": "string",
          "description": "会话ID,会基于视频初始化任务生成,不会随编辑选区行为而改变"
        },
        "frame_index": {
          "type": "integer",
          "description": "帧号 最多支持添加10个标记帧,即最多基于10帧标记视频选区 1次仅支持标记1帧"
        },
        "points": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "x": {
                "type": "integer"
              },
              "y": {
                "type": "integer"
              }
            },
            "x-apifox-orders": [
              "x",
              "y"
            ]
          },
          "description": "点选坐标,用x、y表示 取值范围:[0,1],用百分比表示;[0,1]代表画面左上角 支持同时增加多个标记点,某一帧最多可标记10个点"
        }
      },
      "required": [
        "session_id",
        "frame_index",
        "points"
      ],
      "x-apifox-orders": [
        "session_id",
        "frame_index",
        "points"
      ]
    },
    "examples": [
      {
        "mediaType": "application/json",
        "value": "{\r\n    \"session_id\": \"828033558945619987\",\r\n    \"frame_index\": 1,\r\n    \"points\": [\r\n        {\r\n            \"x\": 1.0,\r\n            \"y\": 0.0\r\n        }\r\n    ]\r\n}"
      }
    ],
    "mediaType": "",
    "oasExtensions": "",
    "required": true,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [],
    "query": [],
    "cookie": [],
    "header": [
      {
        "id": "xvMqz0r5FT",
        "name": "Content-Type",
        "required": false,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "application/json"
      },
      {
        "id": "q29lX4QbWH",
        "name": "Authorization",
        "required": false,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "Bearer {{YOUR_API_KEY}}"
      }
    ]
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 112621206,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {},
        "x-apifox-orders": []
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": []
    }
  ],
  "responseExamples": [],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436143,
  "ordering": 12,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {}
  },
  "customApiFields": {},
  "oasExtensions": "",
  "mockScript": {},
  "createdAt": "2026-08-02T03:53:34.000Z",
  "updatedAt": "2026-08-06T12:15:55.000Z",
  "creatorId": 2863449,
  "editorId": 2863449,
  "creatorUserId": 2863449,
  "editorUserId": 2863449,
  "responseChildren": [],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}