Product: Visual Intelligence — Human ReID & Caption
Use case: Identity-aware vision analysis — generate captions for videos and images, with optional reference photos to name specific people in the output (Human Re-identification)
Host:
https://security.memories.ai
Auth: Dedicated API key required — contact support@memories.aihttps://security.memories.ai
Access to this API requires a dedicated API key separate from the standard Memories.ai key. Contact support@memories.ai to request access.
Endpoints
Async endpoints require a
callback URL. Sync endpoints return the result directly in the response — suitable for shorter videos.
Request Examples
Parameters
string
Publicly accessible video URL. Required for URL-based endpoints (
/upload, /uploadSync). Omit when uploading a local file.string
required
Instruction for the analysis — e.g.
"Summarize the video and identify key persons".string
required
Role or context for the AI — e.g.
"You are a video understanding system.".string
Public URL to receive the async result. Required for
/upload and /uploadFile. Not used for sync endpoints.array
Reference people for Human Re-identification. Up to 5 entries. Each entry:
name(string, required) — identifier for the personurl(string) — publicly accessible reference image URL
boolean
default:"false"
Enable reasoning mode for more detailed analysis.
string
Only applies when
thinking is true. Level 1–10; higher values use more tokens. Default -1 (model decides automatically).boolean
default:"false"
true for conversational Q&A style; false for information retrieval / caption style.Video Requirements
- Max file size: 8 GB
- Max duration: 2 hours
- Reference images (ReID): up to 5 per request
Response
Async (/upload, /uploadFile)
callback URL when processing completes:
Sync (/uploadSync, /uploadFileSync)
Response Fields
integer
0 = success, -1 = failure.string
Async only. Use this to correlate callback notifications.
string
Sync only. Generated caption, summary, or analysis text.
object
Sync only. Token usage:
input, output, total.Human Re-identification (ReID)
Pass apersons array to identify specific individuals in the video. The model compares reference images against people detected in the video and names them in the output text.
"Alice enters first, followed by Bob.").
Notes
- Callback delivery is retried up to 5 times until your endpoint returns
2xx. - Sync endpoints are best suited for videos under a few minutes. For long videos, use async endpoints.
