CoolFace
Apppublic

Shahzad786/siglip-service

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

ViralClip SigLIP Service

Semantic scene understanding for video frames using SigLIP (google/siglip-base-patch16-224).

API

POST /analyze

Analyze a base64-encoded video frame against a set of candidate labels.

Request body:

json
{
  "frame_b64": "<base64 jpeg>",
  "candidate_labels": ["person talking", "outdoor scene", "action sequence", "text on screen", "product showcase"]
}

Response:

json
{
  "scores": {
    "person talking": 0.87,
    "outdoor scene": 0.12
  },
  "top_label": "person talking",
  "top_score": 0.87
}

GET /health

Returns {"status": "ok"}.