Skip to main content
POST
/
kling
/
v1
/
videos
/
multi-elements
/
preview-selection
cURL
curl https://api.cometapi.com/kling/v1/videos/multi-elements/preview-selection \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "session_id": "<session_id>"
    }'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}
Use this endpoint to preview the selected region before you submit the final multimodal edit task.

Why preview matters

  • It lets you verify that the selection points cover the intended object or area
  • It helps catch bad masks before you spend a generation call
  • It is the safest checkpoint between selection editing and final task creation

Workflow role

1

Initialize the session

Start with Initialize Video for Editing and keep the returned session_id on the same account.
2

Add selection points

Use Add Video Selection until the region is close to correct.
3

Preview before generating

Call this endpoint, then continue to Create Task only after the selection looks right.
For the complete parameter reference, see the Kling API documentation.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your CometAPI key.

Body

application/json
session_id
string
required

Session id returned by the video initialization endpoint.

Response

200 - application/json

Success

code
integer
required

Response code. 0 means the request succeeded.

message
string
required

Response message.

data
object

Route-specific response payload when present.