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 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
| Method | Endpoint | Input method |
|---|---|---|
POST | /v1/understand/uploadImg | URL (single or batch) |
POST | /v1/understand/uploadImgFile | Local file (single or batch, multipart) |
POST | /v1/understand/uploadImgFileBase64 | Base64-encoded (single or batch) |
image/png, image/jpeg
Request Examples
Parameters
Single image URL (string) or list of image URLs (array). Used for
/uploadImg only.Instruction for the analysis — e.g.
"What is happening in this image?".Role or context for the AI — e.g.
"You are an image understanding system.".Enable reasoning mode for more detailed analysis.
Only applies when
thinking is true. Level 1–10; higher values use more tokens. Default -1 (model decides).true for Q&A / chat style; false for caption / information retrieval style.Base64-encoded single image. Used with
/uploadImgFileBase64. Requires img_type.Batch base64 input. Each item:
{ "image_base64": "...", "img_type": "image/png" }.MIME type of the base64 image —
"image/png" or "image/jpeg". Required when using image_base64.Response
Response Fields
0 = success, -1 = failure.Generated caption or descriptive text.
Number of input tokens consumed.
Number of output tokens generated.
Total token count.
Model processing time in milliseconds.
Upload time in milliseconds.
