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.
Product: Visual Search
Use case: Upload videos and images, auto-index them, then search by natural language, image, or transcript phrase
Host: https://api.memories.ai/serve/api/v1
Auth: Authorization: sk-mavi-... (no Bearer prefix)
Find video segments where a specific phrase was spoken. This is exact LIKE matching against stored audio transcripts, not semantic — use it when you know the phrase verbatim. For semantic audio search, use Search by Text with search_type=BY_AUDIO.
Prerequisites
Request Example
import requests
headers = {"Authorization": "sk-mavi-..."}
params = {
"query": "where is the love",
"page": 1,
"page_size": 100,
"unique_id": "default"
}
response = requests.get(
"https://api.memories.ai/serve/api/v1/search_audio_transcripts",
headers=headers,
params=params
)
print(response.json())
Parameters
Search phrase. LIKE-style exact matching against stored transcripts.
Results per page. Range: 1 – 500.
Namespace scoping the search to a folder in your account.
Response
{
"code": "0000",
"msg": "success",
"data": {
"current_page": 1,
"page_size": 100,
"total_count": "2",
"videos": [
{
"videoNo": "VI576925607808602112",
"videoName": "1920447021987282945",
"startTime": "13",
"audio_ts": "... where is the love ...",
"video_bucket": "mavi-resource",
"video_blob": "VI576925607808602112.mp4"
}
]
},
"success": true,
"failed": false
}
Total matching segments across all pages, returned as a string (int(total_count) to use it).
Identifier of the video containing the matched segment.
Internal stored name of the video.
Segment start time in seconds (returned as string).
The matched transcript text.
data.videos[].video_bucket
GCS bucket of the original video file. Omitted when the storage location cannot be resolved.
GCS blob (object) path of the original video. Use it with video_bucket at GET /serve/api/v2/download?bucket=&blob= to fetch the file directly.
Notes & Limits
- Rate limiting: Exceeding the per-account rate limit returns an error. See Rate limits.
- Billing: Each successful call deducts credits from your account balance.
Audio transcript search text (LIKE match). Must be non-empty.
One-based page number. Must be > 0.
Required range: x >= 1
Results per page. Range 1-500.
Required range: 1 <= x <= 500