Upload Video — from File
Upload a local video file to your Private Video Library for indexing and search.
https://api.memories.ai/serve/api/v1
Auth: Authorization: sk-mavi-... (no Bearer prefix)videoStatus: "UNPARSE"; register a callback URL or poll Get Metadata with the returned videoNo to know when indexing reaches PARSE.
Prerequisites
- You have created a memories.ai API key.
- Supported formats:
.mp4,.avi,.mkv,.mov.Content-Typeof the file part must start withvideo/. - Video codecs: h264, h265, vp9, hevc.
- Max file size: 3 GB.
Request Example
multipart/form-data. Send all non-file parameters as form fields, not JSON.Parameters
.mp4, .avi, .mkv, or .mov and Content-Type must start with video/. Maximum 3 GB.-1) to store in your account’s Default folder (created automatically on first use). Pass a folder id from List Folders or Create Folder to store in that folder — it must belong to your account, otherwise the request is rejected.yyyy-MM-dd HH:mm:ss format (e.g. 2025-10-20 11:00:00). Invalid formats are rejected.["outdoor", "2025"]). Maximum 20 tags. An api tag is appended automatically.true.Response Example
Response Fields
0000 indicates success.UNPARSE immediately after upload; transitions to PARSE once indexing completes.Knowing When Indexing Is Done
A successful upload returnsvideoStatus: "UNPARSE" — the video is queued for indexing but is not yet searchable. Two ways to wait for PARSE:
Notes & Limits
- Rate limiting: Exceeding the per-account upload rate limit returns an error. See Rate limits.
- Concurrent indexing: There is a cap on how many videos can be in the indexing queue within a rolling 2-hour window. New uploads are rejected once the cap is reached until prior videos finish parsing.
- Billing: Each upload deducts credits from your account. Insufficient balance causes the request to fail.
Authorizations
Body
Video file to upload. Allowed extensions: .mp4, .avi, .mkv, .mov. Content-Type must start with video/. Max size 3 GB.
Callback URL invoked when the video moves to the parsing stage. Max 299 characters.
299"https://your.app/callback"
Capture time in format yyyy-MM-dd HH:mm:ss.
"2025-10-20 11:00:00"
Camera/device model. Max 200 characters.
200"Canon EOS 5D"
66.66
66.66
User-defined tags. Max 20. The server automatically appends an 'api' tag.
20"Focus on the speaker and major scene changes."
Optional target folder for the upload. Omit or pass -1 for the account's Default folder (auto-created on first use). A positive id must belong to your account.
671631448308117500
