> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solaraai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# start_upload

> Solara AI MCP tool: Start a video upload

Use this first for every new video, as soon as the person gives you a recording (.mp4, .mov, .webm; up to 2 GB, 10 min). Ask nothing first: the file's extension gives content\_type, `wc -c &lt; FILE` in your shell gives size\_bytes (exact: the upload is signed for it), and its length is needed only later (create\_video). Returns upload\_command, one shell line, curl -fsS -T "FILE" "\$(curl -fsS '\<upload\_link>')": run it with FILE replaced by the path to the file (keep the quotes), then call finish\_upload. Pick the style while it uploads. The link in it works for 2 hours.

| | |
| - | - |
| Permission | Edit (`mcp:edit`) |
| Read-only | No |
| Safe to repeat | No |
| Overwrites, spends or posts | No |
| Reaches outside Solara | No |

## Inputs

| Name | Type | Required | Description |
| - | - | - | - |
| `content_type` | string | Yes | By the extension: .mp4 video/mp4, .mov video/quicktime, .webm video/webm. One of `video/mp4`, `video/quicktime`, `video/webm`. |
| `size_bytes` | integer | Yes | The exact size of the file in bytes (wc -c \< FILE). From 1 to 2147483648. |

A refusal is a result with `isError: true` and `structuredContent.error` = `{code, message, next}`: see [Limits and errors](https://docs.solaraai.com/guides/limits-and-errors.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.