Complete reference for the TupicAnalytics REST API. Upload media, get AI-powered intelligence back.
All endpoints require a Bearer token. Get a JWT via /auth/signin or create a Personal Access Token via /tokens.
Header: Authorization: Bearer YOUR_TOKEN
Verify Google ID token and login/register user. Auto-creates account if new.
⚠ Token shown once. Store securely.
Main endpoint. Uploads file, generates embedding, NSFW scan, duplicate check, hashtags, thumbnail, and blockchain registration.
| Param | Type | Description |
|---|---|---|
| file* | file | Image, video, audio, or text |
| Param | Type | Description |
|---|---|---|
| media_type | string | Filter: image, video, audio, text |
Upload query image, returns top-10 similar by cosine similarity.
Extracts frames at 1fps, YOLO + NSFW per frame. Returns scenes with hashtags and RGA.
Saliency maps, emotion, motion scoring, dominant colors, empty space. Best ad slot marked.
Extract audio → noise reduction → Whisper → SRT + optional translation.
Serves uploaded files, thumbnails, videos.
Serves analysis outputs: frames, SRT, pitch images, audio chunks.