client.video object allows you to process video files and extract structured data.
Python SDK
client.video
Video Processing API
The
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Video Processing API
client.video object allows you to process video files and extract structured data.
from pathlib import Path
from vlmrun.client import VLMRun
from vlmrun.client.types import PredictionResponse
# Initialize the client
client = VLMRun()
# Process a video file with a predefined schema
response: PredictionResponse = client.video.generate(
file=Path("path/to/video.mp4"),
domain="video.transcription",
)
from vlmrun.client.types import CreditUsage
usage: CreditUsage = response.usage
print(usage)