Add a sync point at a word + timestamp
add_sync_pointInsert one sync marker on a clip's transcript.
Use this when:
The user is explicit about WHERE the camera should pause / cut (e.g. "sync the word 'submit' to 4.2s of the demo").
auto_syncran but missed a step you care about.
How matching works:
word: case-insensitive, punctuation-stripped. The first match in the transcript is used unlessoccurrence > 1.occurrence: 1-indexed — pass 2 to target the SECOND time that word appears, 3 for the third, etc. Required when the word repeats.timestamp_seconds: clip-relative seconds. When the clip has run TTS already (generated_timestampspresent), the server inverse-maps this to original-recording seconds automatically.
Constraints: the clip MUST be a video clip with a source recording (otherwise the frame thumbnail can't be extracted). The transcript must already contain the word — if not, you'll get word_not_found with a 200-char excerpt of the transcript to help you retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | Target word (case-insensitive; trailing punctuation is stripped). | |
| clip_id | No | Clip ID (preferred). If omitted, clip_index is used. | |
| clip_index | No | Zero-based clip index. Ignored if clip_id is provided. | |
| occurrence | No | 1-indexed match number when the word repeats. Defaults to 1 (first occurrence). | |
| project_id | Yes | Project ID. | |
| sync_point_name | No | Optional label (e.g. 'Click submit'). Defaults to 'Sync point N' using the next order number. | |
| timestamp_seconds | Yes | Clip-relative timestamp in seconds. Auto-mapped to original-recording seconds when the clip has generated_timestamps. |