Skip to main content
POST
Get Upload Signed URL
Product: Visual Intelligence — Asset Management Use case: Upload, manage, and download video/image assets used by other Visual Intelligence APIs Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
This endpoint generates a pre-signed URL that allows you to upload files directly to cloud storage.
Pricing:
  • API calls are free
  • Storage fee: $0.001/1GB per day

Code Examples

Request Body

Response

Returns a signed URL and associated metadata for file upload.

Response Parameters

Notes

  • The signed URL expires after the time specified in expires_in (in seconds)
  • Upload the file before the URL expires to avoid upload failures
  • The expires_in value indicates how long the signed URL remains valid from the time it was generated

Authorizations

Authorization
string
header
required

Body

application/json
original_filename
string
required

The original filename with extension

Example:

"video.mp4"

Response

200 - application/json

Signed URL generated successfully

code
string

Response code indicating the result status

Example:

200

msg
string

Response message describing the operation result

Example:

"success"

data
object

Response data object containing the signed URL and asset information

success
boolean

Indicates whether the operation was successful

Example:

true

failed
boolean

Indicates whether the operation failed

Example:

false