API Reference
This page provides API reference for the Real-Time VLM Microservice.
Base URL
For a VSS developer-profile deployment, the API is available at:
- REST API:
http://<host>:${RTVI_VLM_PORT:-8018}
The profile maps that host port to port 8000 in the RTVI-VLM container. A
standalone RTVI-VLM Compose deployment instead publishes the required
BACKEND_PORT value; the standalone setup example sets it to 8000.
All endpoints are prefixed with /v1.
Authentication
The API supports Bearer token authentication. Include your token in the Authorization header:
API Categories
The RTVI-VLM API is organized into the following categories:
- Captions: Generate VLM captions and alerts for videos and live streams
- Files: Upload and manage video/image files
- Live Stream: Add, list, and manage RTSP live streams
- Stream: CV-compatible stream add, remove, and list APIs
- Config: Update generated-message and error-message output routing
- Models: List available VLM models
- Health Check: Service health and readiness probes
- Metrics: Prometheus metrics endpoint
- Metadata: Service metadata and version information
- NIM Compatible: OpenAI-compatible endpoints for interoperability
Endpoint catalog
Metrics
Health Check
Metadata
Files
Live Stream
Config
Stream
Models
Captions
NIM Compatible
The machine-readable OpenAPI specification is services/rtvi/rt-vlm/api_spec/openapi.json in this repository.