Complete video upload
complete_video_uploadValidate uploaded video size, format, duration and dimensions, then return a reusable file_id and measured metadata. No depth processing or generation starts. Use the file in input.reference_video.source, or reuse an owned video asset instead.
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": {
"upload_id": "<upload_id>"
},
"name": "complete_video_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Displayed source width in pixels. | |
| height | Yes | Displayed source height in pixels. | |
| object | No | file | |
| sha256 | Yes | SHA-256 of the stored source bytes. | |
| file_id | Yes | Completed video file ID for input.reference_video.source, type=file. | |
| byte_size | Yes | Validated source bytes. | |
| mime_type | Yes | Validated video media type. | |
| duration_seconds | Yes | Measured source duration; the selected range must fit it. |