Keep segments
keep_segmentsPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. REPLACE the keep list (SOURCE [[start,end],...]); new cut edges land audio-safe. Everything else is cut. Use only for wholesale restructuring, always after get_edl — for local fixes prefer cut_range/restore_range. Each cut edge it writes (keep_segments: every edge of the list) lands audio-safe on the source's sound: out of any word it falls in, onto the quietest point within ~80 ms (a word's release or lead-in up to 0.25 s), never into the word beyond; the result reports every move and any cut that joins running speech. snap_to_words:true first moves edges outward to word edges with a breath; snap_to_words:false keeps your exact times (a stutter cut). Every keep write also moves an edge that lands on or up to 6 frames past a source camera cut back off it (no flash of the other shot) and reports it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | ||
| project_id | Yes | Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess. | |
| snap_to_words | No |