Set non-uniform clip scale
set_clip_scale_xySets separate horizontal and vertical scale percentages for a video clip; disables uniform scale and removes keyframed scale so the new dimensions apply across the entire clip.
Instructions
Stretch a video clip with separate horizontal and vertical scale in percent. Turns Uniform Scale off (Premiere's Scale becomes the height and Scale Width the width). A parameter that is keyframed gets its keyframes removed first, so the new value holds for the whole clip. Returns the clip's transform.
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": {
"scale_width": "<scale_width>",
"scale_height": "<scale_height>"
},
"name": "set_clip_scale_xy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| 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". | |
| scale_width | Yes | Horizontal scale in percent. | |
| 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). | |
| scale_height | Yes | Vertical scale in percent. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |