capcut_add_keyframe
Add or replace a keyframe on a segment property at a specified time to create real per-property animation in CapCut. Supports position, rotation, scale, brightness, and more.
Instructions
Add/replace a keyframe on a segment property at a time, creating real per-property animation (not a static value). Call twice with different atSec/value on the same property to animate between them. property must be one of: KFTypePositionX, KFTypePositionY, KFTypeRotation, KFTypeScaleX, KFTypeScaleY, UNIFORM_SCALE, KFTypeAlpha, KFTypeSaturation, KFTypeContrast, KFTypeBrightness, KFTypeVolume.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atSec | Yes | ||
| draft | Yes | ||
| value | Yes | ||
| property | Yes | ||
| segmentId | Yes |