Skip to main content

Overview

Store videos, images, and text in buckets. Search everything with natural language.

Buckets

Organize content into memory buckets

Upload

Images, videos, text — even combined

Search

AI-powered natural language search

Simple

One API key, 5 endpoints

Quick Start

import requests

# 1. Create a bucket
response = requests.post(
    "https://memoryapi-production.up.railway.app/memory-bucket/create",
    headers={"X-API-Key": "xinobi"},
    json={"name": "My Memories"}
)
bucket_id = response.json()["bucket_id"]

# 2. Upload content (image + text together)
requests.post(
    "https://memoryapi-production.up.railway.app/upload",
    headers={"X-API-Key": "xinobi"},
    data={"unique_id": bucket_id, "text": "Beach sunset in Hawaii"},
    files={"file": open("sunset.jpg", "rb")}
)

# 3. Search
response = requests.post(
    "https://memoryapi-production.up.railway.app/search",
    headers={"X-API-Key": "xinobi"},
    json={"query": "beach vacation", "unique_id": bucket_id}
)
print(response.json()["results"])

Endpoints

MethodEndpointDescription
POST/memory-bucket/createCreate a bucket
POST/memory-bucket/deleteDelete a bucket
POST/uploadUpload content
POST/searchSearch a bucket
POST/search/multipleSearch multiple buckets

Auth

X-API-Key: xinobi

Base URL

https://memoryapi-production.up.railway.app