set_video_clip
Repoint an existing video layer at a different uploaded clip — keeps the layer's id, position, size, animations, styles, and trim window; only the source mp4 changes. The clip must already exist at users//clips// (uploaded via the editor's '+ Add video' button or /api/upload-clip). Use this to swap a video layer's source WITHOUT losing its keyframes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Clip filename in the project's clips bucket, e.g. mickey-tiktok.mp4. | |
| elementId | Yes | Video layer id, video.<id>. | |
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. |