Align clips to the frame
align_clipsMove video clips in a Premiere Pro sequence to align their scaled, rotated, or cropped bounding boxes with a frame edge, center, or margin. Only positions change.
Instructions
Move video clips so their on-screen bounding box (after scale, rotation and crop) lines up with an edge or the centre of the sequence frame, with an optional margin. Only position changes. Pass horizontal and/or vertical. Returns each clip's new bounding box.
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": {
"clip_ids": "<clip_ids>"
},
"name": "align_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| margin | No | Distance from the frame edge, in sequence pixels. Default 0. Ignored for center. | |
| clip_ids | Yes | Clip ids (from get_sequence_structure / list_clips). Video clips only. | |
| vertical | No | Vertical alignment. Omit to keep y. | |
| horizontal | No | Horizontal alignment. Omit to keep x. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |