Shahzad786/siglip-service
0
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:
{
"frame_b64": "<base64 jpeg>",
"candidate_labels": ["person talking", "outdoor scene", "action sequence", "text on screen", "product showcase"]
}Response:
{
"scores": {
"person talking": 0.87,
"outdoor scene": 0.12
},
"top_label": "person talking",
"top_score": 0.87
}GET /health
Returns {"status": "ok"}.
