add_video_layer
Add a video layer. The clip must already exist at users//clips// (uploaded via /api/upload-clip). To duplicate an existing layer, reuse its clip filename — the editor auto-assigns a fresh id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Centre x in 1080-wide base coords. | |
| y | Yes | Centre y in 1920-tall base coords. | |
| clip | Yes | Clip filename in the project's clips bucket, e.g. demo.mp4. | |
| name | No | Optional friendly label shown in the Inspector + Timeline. | |
| width | Yes | Width in px (must be > 0). | |
| height | Yes | Height in px (must be > 0). | |
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. |