set_keyframe_velocity
Adjust animation speed by setting velocity values for keyframes in Adobe After Effects, controlling motion smoothness and timing between frames.
Instructions
Set velocity (speed graph) for keyframes
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": {
"compId": "<compId>",
"layerIndex": "<layerIndex>",
"propertyPath": "<propertyPath>",
"keyframeIndex": "<keyframeIndex>"
},
"name": "set_keyframe_velocity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| propertyPath | Yes | Property path | |
| keyframeIndex | Yes | Index of the keyframe (1-based) | |
| incomingVelocity | No | Incoming velocity | |
| outgoingVelocity | No | Outgoing velocity |