clip_stretch
Grow or shrink a clip's left or right edge to change its duration. Positive values trim inward; negative values reveal previously removed audio.
Instructions
Grow or shrink a clip's left or right edge, revealing previously- trimmed audio when growing (or time-stretching if none remains).
CONFIRMED LIVE: same delta_sec sign convention as clip_trim, despite the name suggesting the opposite - positive delta_sec SHRINKS the clip inward from the given edge, negative GROWS it outward. e.g. to restore 1 second previously trimmed off the right edge, call with side="right", delta_sec=-1.0, not +1.0.
Args: key: The clip's key, in "trackId:itemId" format. side: "left" or "right". delta_sec: Positive shrinks inward, negative grows/reveals outward. min_clip_duration: Minimum duration the clip must retain, in seconds. Default: 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| side | Yes | ||
| delta_sec | Yes | ||
| min_clip_duration | No |