Start uploading a local file
upload_startBegin uploading a LOCAL file into an explicit project. Returns presigned URL(s) you upload the bytes to yourself (curl), then call upload_finish. kind: 'original' the main video, 'clip' b-roll, 'music' audio, 'image' a still. A clip may instead be marked role='shorts_reference' for reference-only Shorts style analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| role | No | Optional and valid only with kind='clip'. Makes the upload reference-only Shorts style input, not placeable media. | |
| filename | Yes | Name with extension, e.g. talk.mp4 | |
| duration_s | No | Optional locally probed media duration in seconds; repeated in the returned upload_finish contract. | |
| project_id | Yes | ||
| size_bytes | Yes | Exact size of the local file |