Upload a file
uploadFree. Put your own video or audio file into AwesomeVideo and get a fileId for caption_video, transcribe, burn_captions, create_clips, remove_silences or preview. action start: one single-use PUT URL (valid 15 min, files up to 80 MB); start_multipart: parts[] of PUT URLs for files over 80 MB (up to 2048 MB / 3 h) or flaky connections; status: missingParts of a multipart upload; complete: finish a multipart upload after every part is PUT; abort: cancel an unfinished multipart upload (deletes its parts); inline: send a clip of up to 10 MB as base64 in one call. For a public link use import_url instead. Up to 30 uploads per hour.
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": {
"action": "<action>"
},
"name": "upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | File bytes as base64 (a data: URL prefix is accepted). | |
| action | Yes | start (single PUT URL), start_multipart, status, complete, abort, or inline (base64 up to 10 MB). | |
| fileId | No | fileId from upload {action:'start_multipart'}. | |
| filename | No | File name, e.g. clip.mp4. | |
| sizeBytes | No | Exact file size in bytes (the PUT must match). | |
| contentType | No | video/* or audio/*, e.g. video/mp4. | |
| partSizeBytes | No | Bytes per part, 5242880-99614720. Default 67108864 (64 MB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total number of items (paginated lists). | |
| result | No | The value, when the tool returns something other than an object. | |
| hasMore | No | true when more items are available (paginated lists). | |
| nextCursor | No | Pass as cursor for the next page (paginated lists). |