manage_timelines create with clips starts one from the recordings, get_timeline reads it, and undo takes back the last edit. Nothing is rendered until a file is needed, so a cut, a caption word or a crop changes in one call later.
Common edits
Each one stays changeable without a render, and the user sees it in the app before anything is exported.
By hand
edit_timeline takes a whole edit as one list of typed operations applied as one transaction: add, move, trim, split, slip and remove clips, ripple and close gaps, speed, clip properties, keyframes and camera moves, tracks, text, markers and caption settings. A clip can carry a color grade with color wheels, LUTs and masks, any of 19 effects from film grain to color key, transitions and fades. A person or object mask found in the picture uses cloud processing, free through the desktop app. The full list of operations is in the Timeline operations skill, through manage_skills.
timeline_media holds the items a timeline works with: the media it uses or was gathered for it, and documents kept beside it, such as a script or a shot list.
Words on a clip
Words on a clip come from transcription. An empty transcript on uploaded speech means the file has not been transcribed, not that it is silent.transcribe_media with timeline_id gives the clips their words, and captions, get_transcript and remove_words read from there. remove_words shifts word indices, so get_transcript is read again after a cut.
When speech is both cleaned and cut, clean_audio goes before any cut, since the cleaned item replaces the clip’s sound. remove_silence and remove_words each shift the word positions, so the transcript is read again between them.
Keyframe tracks
A punch-in, a reframe and music ducking (auto_zoom, auto_reframe, duck_music) each write a keyframe track, replacing what was on it. setKeyframes on edit_timeline sets a single property by hand. On updateClip, grade and effects are replaced as a whole.
Versions
Another cut of a piece is a variation:manage_timelines create with parent makes a copy, or a blank one, as the next tab of the same timeline, in the same projects. A file edited with another tool joins the piece as its next variation: import_media, then manage_timelines create with parent and the file as its clip.

