> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vlm.run/llms.txt
> Use this file to discover all available pages before exploring further.

# client.video

> Video Processing API

> [!WARNING]
>
> Enterprise-tier only. [Contact us](mailto:support@vlm.run).

## Generate Predictions

```python theme={"theme":{"light":"github-light","dark":"dark-plus"}}
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",
)
```

## Get Usage

```python theme={"theme":{"light":"github-light","dark":"dark-plus"}}
from vlmrun.client.types import CreditUsage

usage: CreditUsage = response.usage
print(usage)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.