Edit the video
editor_editPolish the video in the editor; changes show in the next export.
scene_note: edit one scene with a note (move, restyle, add or remove layers and overlays, change the text of a lower third, title card or callout, change motion); spends credits. Returns the changes and skipped_mutations: edits that didn't land (applied=false) or landed differently than asked (applied=true), each with a reason; check them. Scene lengths follow the narration; the image, clip and voiceover layers can't be removed. project_note: a note for the whole video, applied to up to 10 scenes per call; spends credits. captions: merge caption settings. add_sfx: attach a sound effect to a segment. add_music / update_music: background music timed in seconds; a track's duration follows from its trim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | Loop the music under the whole video | |
| name | No | The music track's name | |
| action | Yes | scene_note: segment_number, message; project_note: message; captions: caption_config; add_sfx: segment_number, library_track_id; add_music: library_track_id, optional name, volume, loop, start_seconds; update_music: track_id and any of name, volume, loop, start_seconds, trim_start_seconds, trim_end_seconds | |
| volume | No | Music volume 0-1; the 0.12 default sits under the narration, so raise it only if asked | |
| message | No | The note in plain words, e.g. "move the caption to the top" | |
| track_id | No | update_music: a track id from editor_read action=music | |
| project_id | No | Project id | |
| start_seconds | No | Where the music starts in the video, in seconds | |
| caption_config | No | captions: keys to merge into the caption settings (get_status shows them) | |
| segment_number | No | Segment number (1-based, from storyboard_read) | |
| library_track_id | No | A track id from editor_read action=audio_library | |
| trim_end_seconds | No | update_music: where playback stops within the track, in seconds | |
| trim_start_seconds | No | update_music: where playback starts within the track, in seconds |