Add Kling video selection
Use Kling Add Video Selection endpoint to add selection elements in multi-element video editing, enabling targeted edits and scene control via CometAPI.
How selection works
session_idcomes from Initialize Video for Editing- Use the same account and exact
session_idreturned by initialization frame_indexselects the frame where you place pointspointsare normalized coordinates between0and1- Kling documents up to 10 marked frames and up to 10 points per frame
Workflow role
Initialize first
session_id.Preview the area
Authorizations
Bearer token authentication. Use your CometAPI key.
Body
Selection session id returned by init-selection. Follow-up calls must use the same account and exact session id.
Frame number
Supports adding up to 10 marked frames, meaning video selections can be marked based on a maximum of 10 frames. Only 1 frame can be marked at a time.
Click coordinates, represented by x and y. Value range: [0,1], expressed as a percentage; [0,1] represents the top-left corner of the frame. Supports adding multiple marked points simultaneously, with a maximum of 10 points per frame.