create_upload
Screen a video and get a one-time upload URL. Send its duration, size, width, height and 1-4 JPEG frames (raw base64, no data URL, each up to 300 KB) sampled across the clip for content moderation. Then PUT the video bytes to putUrl with the returned contentType, and pass key as uploadKey to remove_green_screen. Requires a key.
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": {
"fileName": "<fileName>",
"sizeBytes": "<sizeBytes>",
"durationSeconds": "<durationSeconds>",
"width": "<width>",
"height": "<height>",
"frames": "<frames>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| frames | Yes | JPEG frames as raw base64. | |
| height | Yes | ||
| fileName | Yes | Original file name, e.g. clip.mp4 (the extension sets the format). | |
| sizeBytes | Yes | ||
| durationSeconds | Yes |