Skip to main content
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.ai
Analyze images and generate natural-language captions or descriptions. Supports single and batch inputs via URL, local file upload, or base64 encoding. Base URL: https://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

Supported formats: image/png, image/jpeg

Request Examples

Parameters

string | array
Single image URL (string) or list of image URLs (array). Used for /uploadImg only.
string
required
Instruction for the analysis — e.g. "What is happening in this image?".
string
Role or context for the AI — e.g. "You are an image understanding system.".
boolean
default:"false"
Enable reasoning mode for more detailed analysis.
string
Only applies when thinking is true. Level 110; higher values use more tokens. Default -1 (model decides).
boolean
default:"false"
true for Q&A / chat style; false for caption / information retrieval style.
string
Base64-encoded single image. Used with /uploadImgFileBase64. Requires img_type.
array
Batch base64 input. Each item: { "image_base64": "...", "img_type": "image/png" }.
string
MIME type of the base64 image — "image/png" or "image/jpeg". Required when using image_base64.

Response

Response Fields

integer
0 = success, -1 = failure.
string
Generated caption or descriptive text.
integer
Number of input tokens consumed.
integer
Number of output tokens generated.
integer
Total token count.
integer
Model processing time in milliseconds.
integer
Upload time in milliseconds.