Set transform on several clips
set_clips_transformApply identical Motion and Opacity values (position, scale, rotation, crop) to several clips in one sequence. Each clip is processed separately, with per-clip errors reported.
Instructions
Apply the same Motion/Opacity values (same fields as set_clip_transform) to several video clips of one sequence. Each clip is processed separately; per-clip errors (unknown id, audio clip) are reported without stopping the others. A parameter that is keyframed gets its keyframes removed first, so the new value holds for the whole clip. Returns one entry per clip.
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": "set_clips_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Uniform scale in percent (100 = source pixels 1:1). Turns Uniform Scale on. | |
| units | No | Unit of x/y. "pixels" (default): sequence-frame pixels for position (0,0 = top-left of the frame), source-frame pixels for the anchor point. "normalized": 0-1 fractions of the same frame (0.5, 0.5 = centre). | |
| opacity | No | Opacity in percent. | |
| clip_ids | Yes | Clip ids (from get_sequence_structure / list_clips). Video clips only. | |
| crop_top | No | Crop from the top edge, percent of the source height. | |
| position | No | [x, y] where the clip's anchor point is placed, in `units` (default pixels of the sequence frame). | |
| rotation | No | Rotation in degrees, clockwise. | |
| crop_left | No | Crop from the left edge, percent of the source width. | |
| blend_mode | No | Blend mode name (see set_clip_blend_mode). | |
| crop_right | No | Crop from the right edge, percent of the source width. | |
| crop_bottom | No | Crop from the bottom edge, percent of the source height. | |
| scale_width | No | Horizontal scale in percent. With scale_height, sets non-uniform scale (turns Uniform Scale off). | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| anchor_point | No | [x, y] anchor point, in `units` (default pixels of the clip's SOURCE frame; centre = half the source size). | |
| anti_flicker | No | Anti-flicker filter amount, 0-1. | |
| scale_height | No | Vertical scale in percent. With scale_width, sets non-uniform scale (turns Uniform Scale off). | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |