timeline.set_transform
Place a clip on a video track as a layer: its position, size and opacity in the frame. Video tracks stack by order (higher order is drawn on top), and anything outside a scaled-down or transparent clip shows the tracks beneath — so a logo, watermark or picture-in-picture is an image/GIF/video placeholder on a track ABOVE the footage, with e.g. scale 0.15 and x 0.9, y 0.1 for the top-right corner. Images and GIFs loop to fill their clip's whole duration; GIF/PNG transparency is kept. Only the fields you pass change. Defaults (nothing set) are x 0.5, y 0.5, scale 1, opacity 1 — the full frame.
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": {
"projectId": "<projectId>",
"expectedVersion": "<expectedVersion>",
"itemId": "<itemId>"
},
"name": "timeline.set_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Clip center, fraction of frame width: 0 left edge, 0.5 centered, 1 right edge | |
| y | No | Clip center, fraction of frame height: 0 top, 0.5 centered, 1 bottom | |
| scale | No | Size relative to filling the frame: 1 full frame, 0.2 a small logo | |
| itemId | Yes | ||
| opacity | No | 0 invisible, 1 opaque | |
| projectId | Yes | ||
| expectedVersion | Yes |