Prepare video upload
prepare_video_uploadPrepare a private MP4/MOV/WebM reference upload, at most 100 MiB and 30 seconds. PUT the exact bytes using the returned URL/headers, then complete_video_upload. Starts no depth processing or generation.
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": {
"request": "<request>"
},
"name": "prepare_video_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | PUT | |
| headers | Yes | Use these exact headers for byte transfer. | |
| max_bytes | Yes | Source byte limit. | |
| upload_id | Yes | Session to complete after transferring bytes; not usable as a video input yet. | |
| expires_at | Yes | Upload session expiry in UTC. | |
| upload_url | Yes | Sensitive short-lived upload URL. Transfer bytes without API/OAuth credentials. |