Skip to main content
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)
Download an asset by its asset_id. The response body is a binary file stream — not JSON. On error, the response is JSON.
Pricing: $0.12 / GB downloaded

Code Examples

Path Parameters

Response

Success (200): Binary file stream. Response headers include:
  • Content-Type — MIME type (e.g. video/mp4)
  • Content-Disposition: attachment; filename="..." — original filename
  • Content-Length — file size in bytes
Error: JSON with code, msg, success: false, failed: true.

Notes

  • Use stream=True (Python) or responseType: 'stream' (axios) to avoid loading the entire file into memory.
  • The original filename is in the Content-Disposition header.
  • This is irreversible — once deleted an asset cannot be downloaded.