> For the complete documentation index, see [llms.txt](https://docs.whisk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whisk.com/api/media.md).

# Media

Request example

```
curl -i -X POST "https://media.whisk.com/image/bytes" -H "accept: application/json" -H "Content-Type: multipart/form-data" -H "Authorization: Bearer {Token}" -F file=@{pathToFile}
```

Response example

```
{"hosted_url":"https://image-cdn.whisk.com/image/upload/v1631706400/custom_upload/788e371552918a69507cb316f859d362.jpg","width":668,"height":400}
```
