Generate Video Embedding
Embeddings
Generate Video Embedding
Generate vector embeddings for videos using multimodal models
POST
Generate Video Embedding
Product: Visual Intelligence — Embeddings
Use case: Generate vector embeddings for image, video, or text inputs for semantic search and similarity tasks
Host:
https://mavi-backend.memories.ai/serve/api/v2
Auth: Authorization: sk-mavi-... (no Bearer prefix)Pricing:
- $0.002/second of video
Code Examples
Request Body
Supported Models:
multimodalembedding@001- Google’s multimodal embedding model supporting video
Response
Returns a single embedding vector representing the entire video.Response Parameters
Notes
- Video embeddings are returned synchronously in the response
- The embedding represents the entire video content as a single vector
- Videos must be uploaded first using the
/uploadendpoint to obtain an asset_id multimodalembedding@001produces 1408-dimensional vectors- Supports various video formats: MP4, MOV, AVI, WebM, MKV, etc.
- Processing time depends on video length and complexity
- Use video embeddings for:
- Video similarity search
- Content-based video retrieval
- Video classification and categorization
- Duplicate video detection
Authorizations
Body
application/json
Response
200 - application/json
Embedding generated successfully
Response code indicating the result status
Example:
200
Response message describing the operation result
Example:
"success"
Response data object containing the embedding
Indicates whether the operation was successful
Example:
true
Indicates whether the operation failed
Example:
false
