capcut_add_keyframe
Adds an animation keyframe to a video segment to animate scale, rotation, position, or opacity over time. Specify property, time offset, and value to set the animation state.
Instructions
Adds an animation keyframe for scale, rotation, translation (x, y), or opacity to a video segment.
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": {
"project_name_or_id": "<project_name_or_id>",
"segment_id": "<segment_id>",
"property": "<property>",
"time_offset_seconds": "<time_offset_seconds>",
"value": "<value>"
},
"name": "capcut_add_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value at keyframe (e.g. scale 1.2, x 0.1, alpha 0.5). | |
| property | Yes | Property to animate. | |
| segment_id | Yes | UUID of the video segment. | |
| project_name_or_id | Yes | Target project name or ID. | |
| time_offset_seconds | Yes | Time offset from segment start in seconds (e.g. 0.0 for start, 1.5 for mid-clip). |