Upload Media File
Upload a single file via
multipart/form-data.List Media Files
List non-expired files for your team.
Delete Media File
Delete a file and free upload quota immediately.
Prerequisites
- A Modellix API Key
- A local media file within the size and format limits
Typical workflow
Upload a file
Send a On success, the response includes a
POST request to /api/v1/media/files with multipart/form-data. The form field name must be file.The file must use a supported extension and contain valid content for that type.file_id, media type (image, video, or audio), and a url:Use the file URL in a model API
Pass
data.url into the image, video, or audio input fields of a prediction API (for example image_url).List files (optional)
List media files that belong to your team and have not yet expired. Default page size is
100; limit is capped at 100.Limits and supported formats
Default limits
| Limit | Default |
|---|---|
| Max file size | 16 MB |
| Files per team | 10 |
| Concurrent uploads per team | 2 |
| Retention | About 7 days |
Allowed file extensions
| Category | Extensions |
|---|---|
| image | jpg, jpeg, png, webp, gif, bmp, tiff, tif, heic, heif |
| video | mp4, m4v, webm, mov, mkv, avi |
| audio | mp3, wav, m4a, aac, ogg, flac, opus, weba |
type field is derived from the extension and is one of image, video, or audio.
Error handling
Error responses use the same JSON shape as other Modellix APIs:| HTTP status | Common causes |
|---|---|
| 400 | Missing file, unsupported format, content mismatch, invalid image, or rejected content |
| 401 | Missing or invalid API Key |
| 404 | File not found (delete only) |
| 413 | File exceeds the maximum allowed size |
| 429 | Upload quota or concurrency limit exceeded |
| 500 | Internal server error |
Next steps
- Upload Media File — full request and response schema
- List Media Files — pagination parameters
- Delete Media File — path parameter and delete behavior
- REST API — authenticate, submit async tasks, and poll results