Start a video upload
create_uploadStep 1 of uploading a local video, up to 95 MB. Returns put_url: PUT the file bytes there yourself with the given headers (e.g. curl -T file.mp4 -H 'Content-Type: video/mp4' '<put_url>') within 10 minutes, then call commit_upload. purpose 'swap' = a reel to swap a character into; 'own' = your own video to post (Sharing).
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": {
"purpose": "<purpose>",
"content_type": "<content_type>",
"size": "<size>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Exact file size in bytes | |
| purpose | Yes | ||
| filename | No | ||
| content_type | Yes |