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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft": "<draft>",
"segmentId": "<segmentId>",
"property": "<property>",
"atSec": "<atSec>",
"value": "<value>"
},
"name": "capcut_add_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atSec | Yes | ||
| draft | Yes | ||
| value | Yes | ||
| property | Yes | ||
| segmentId | Yes |