> ## 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_image_upload

> Solara AI MCP tool: Start an image upload

Use this for each image the person gives you to post (a photo, a slide of a carousel): .jpg, .png or .webp, up to 20 MB. JPEG goes everywhere; TikTok takes JPEG or WebP, Instagram JPEG or PNG. 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). Returns upload\_command, one shell line, curl -fsS -T "FILE" "\$(curl -fsS '\<upload\_link>')": run it with FILE replaced by the path to the image (keep the quotes), then call finish\_image\_upload. Then prepare\_photo\_post with every upload\_id, in order. The link in it works for 2 hours. Not for a video: start\_upload.

| | |
| - | - |
| 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: .jpg/.jpeg image/jpeg, .png image/png, .webp image/webp. One of `image/jpeg`, `image/png`, `image/webp`. |
| `size_bytes` | integer | Yes | The exact size of the file in bytes (wc -c \< FILE). From 1 to 20971520. |

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.