---
agentTools:
  projectIndex: https://elai.readme.io/llms.txt
---

# Uploading media

To upload media to our data center, follow these steps:

1. Retrieve a [signed URL](https://elai.readme.io/reference/retrieve-signed-url).
2. `PUT` the file to that URL directly — this goes to storage, not to the Elai API.
3. [Trigger our API ](https://elai.readme.io/reference/upload-confirm)to confirm that a file has been uploaded successfully.

We accept images (jpg, png, svg), videos (mp4, ogg, mov, webm, wmv) and gifs.

> 🚧 We don't support JSON base64-encoded strings
>
> File should be sent as request body with **PUT** method