Ken Burns effect
ken_burnsAdd slow zoom or pan motion to a whole clip, usually a still: first scale it to fill the frame, then animate zoom or pan direction with easing so no borders appear.
Instructions
Add a slow zoom/pan across the whole clip (Ken Burns), typically for stills. The clip is first scaled to fill the frame, then animated: zoom_in / zoom_out change scale by amount percent around the centre; pan_left / pan_right / pan_up / pan_down zoom in by amount and slide across the extra margin so no border ever shows. Replaces the clip's Position and Scale keyframes. Returns the keyframes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ken_burns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Extra zoom over the fill scale, in percent. Default 15. | |
| easing | No | Speed curve of the move. "linear" (default): constant speed. "ease_in": starts slowly and speeds up. "ease_out": starts fast and slows into the end value. "ease_in_out": slow at both ends. "hold": keeps the start value, then jumps to the end value at the end time. | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| direction | No | Move to make. Default "zoom_in". pan_left moves the picture leftwards. | |
| clip_index | No | 0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id. | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "video". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | 0-based track index (0 = V1 or A1). | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |