Upload a video, audio, or image file to Visual Intelligence for processing and analysis.
Documentation Index
Fetch the complete documentation index at: https://api-tools.memories.ai/llms.txt
Use this file to discover all available pages before exploring further.
https://mavi-backend.memories.ai/serve/api/v2
Auth: Authorization: sk-mavi-... (no Bearer prefix)asset_id that can be used to reference this asset in all subsequent API calls.
| Category | Formats |
|---|---|
| Video | MP4, MOV, AVI, WebM, MKV, FLV, WMV, MPEG |
| Audio | MP3, WAV, AAC, FLAC, OGG, M4A |
| Image | JPEG, PNG, GIF, WebP, BMP, TIFF |
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | file | Yes | The file to upload (multipart/form-data). See supported formats above. |
| Parameter | Type | Description |
|---|---|---|
| code | integer | Response code (200 on success — the example shows this correctly but the prose previously said string) |
| msg | string | Response message describing the operation result |
| data | object | Response data object containing the uploaded asset information |
| data.asset_id | string | Unique identifier of the uploaded asset, format re_<digits>. Use this ID in all subsequent API calls. |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
HTTP 400 with a generic "Request has exceeded the limit." body — that string is shared between rate-limit and several validation paths, so don’t parse msg to distinguish them; rely on the HTTP status code.
SUCCESS status can be used in subsequent API calls.
| Status | Description |
|---|---|
WAITING | Upload request received, waiting to process |
UPLOADING | File is being uploaded and processed |
SUCCESS | Upload completed successfully — asset is ready for use |
FAILED | Upload failed — retry the upload |
upload_status of an asset.
asset_id is required for all subsequent operations (transcription, editing, embedding, etc.)upload_status: "SUCCESS" can be used in subsequent API callsThe file to upload
File uploaded successfully
Response code indicating the result status
200
Response message describing the operation result
"success"
Response data object containing the uploaded asset information
Indicates whether the operation was successful
true
Indicates whether the operation failed
false