Multimodal video editing
Initialize a Kling editing session
Initialize video elements via Kling init-selection endpoint in CometAPI to start multimodal editing with selectable regions and timestamps.
POST
cURL
Use this endpoint to open a video-editing session and obtain the
session_id required by all later multimodal editing steps.
Choose one input path
- Kling-generated video: send
video_id - External or already-hosted video: send
video_url - Do not send both input paths at the same time
- Do not send the parent
task_idhere; save the returnedsession_idfor the next steps
Workflow role
Mark selection points
Continue with Add Video Selection to define the region you want to edit.
Submit the final edit task
After selection is ready, continue with Create Task.
Authorizations
Bearer token authentication. Use your CometAPI key.
Body
application/json