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

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

Response

Response Fields

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