apply layout
Arrange clips into a split-screen, picture-in-picture, sidebar or grid, each clip in a named slot, in one call. clip_id per slot frames clips already on the timeline: the first slot's clip stays; the others move onto new tracks at its start. Calling again re-frames clips already in the layout and moves nothing. clip_ids gives one slot several clips. The same clip_id in every slot splits one recording (one shot or a split-screen) into a tile per person, left to right, each framed on that person, once auto_reframe has read the clip; tiles names who went where. item per slot places library media over range instead, one track per slot. Video and image only. fit: "fill" (default) crops to the slot; "fit" letterboxes the whole source; anchor per slot picks what survives the crop. Layouts and slots, first named first: split-h: left, right; split-v: top, bottom; pip-bottom-right, pip-bottom-left, pip-top-right, pip-top-left: main, inset; main-sidebar: main, sidebar; row3: left, center, right; stack3: top, middle, bottom; grid-2x2, grid-3x3, grid-4x4: r1c1 to r4c4, row 1 at the top. edit_timeline updateClip {frame: null} takes a clip out of its layout. Free.
POST
apply layout
Authorizations
Headers
Body
application/json

