Apply the Transform effect
apply_transform_effectAdds the effect-level Transform to a video clip and sets position, scale, rotation, opacity, skew or motion blur shutter angle, separate from the clip's intrinsic Motion.
Instructions
Add the Transform effect (a second, effect-level transform that supports motion blur via shutter angle) to a video clip and set any of its values; omitted values keep the effect's defaults. This is not the clip's intrinsic Motion: use set_clip_transform and the other motion tools for that. Position and anchor point are normalised [x, y]: [0.5, 0.5] is the frame centre, [0, 0] the top-left corner. If Premiere rejects a value the new effect is removed again and the call fails. Returns effect_index and the values read back.
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": "apply_transform_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skew | No | Skew amount (the effect's Skew value). Effect default 0. | |
| scale | No | Uniform scale in percent (100 = unchanged); turns the effect's Uniform Scale on. Effect default 100. | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| opacity | No | Opacity in percent, 0-100. Effect default 100. | |
| position | No | Normalised [x, y] (0-1 of the frame). Effect default [0.5, 0.5]. | |
| rotation | No | Rotation in degrees, clockwise. Effect default 0. | |
| 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). | |
| anchor_point | No | Normalised [x, y] (0-1 of the frame). Effect default [0.5, 0.5]. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| shutter_angle | No | Shutter angle in degrees (0-360) for motion blur; also turns off "Use Composition's Shutter Angle". Omit to leave motion blur as is. |