Multimodal Video Editing
Create Task
Create a Kling multimodal video editing task via CometAPI: POST /kling/v1/videos/multi-elements to combine multiple elements and generate videos asynchronously.
POST
Create a Kling multimodal edit task
Use this endpoint to submit the final multimodal video-editing job after your session and selections are ready.
Full workflow
Initialize the editing session
Start with Initialize Video for Editing to obtain the
session_id for the clip you want to edit.Build the selection area
Use Add Video Selection and, when needed, Preview Selected Video Area to refine the edit region.
Before you call it
- Make sure the selection session is already initialized
- Confirm your region selection is correct before spending a generation call
- Treat this route as the final generation step, not the setup step
Authorizations
Bearer token authentication. Use your CometAPI key.
Body
application/json
Session id returned by the video initialization endpoint.
Editing operation to apply. Options: replace, remove.
Text prompt describing the desired edit for the selected region.