trim_clip
Adjusts a timeline clip's in and out points to shorten it, using a clip ID plus optional in, out, or duration values.
Instructions
Adjusts the in and out points of a clip on the timeline, effectively shortening it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | The ID of the clip on the timeline to trim | |
| inPoint | No | The new in point in seconds from the start of the clip | |
| duration | No | Alternative: set the desired timeline duration in seconds; cannot be combined with outPoint | |
| outPoint | No | The new out point in seconds from the start of the clip; cannot be combined with duration |