Python CLI
CLI Reference
Complete guide to the VLM Run Command Line Interface
The VLM Run CLI provides a powerful command-line interface for interacting with the VLM Run platform directly from your terminal.
Installation
The CLI is included when you install the VLM Run Python SDK:
Configuration
Global Options
Using Environment Variables
You can set your API key and other settings using environment variables:
Command Groups
The CLI is organized into logical command groups:
Command | Description |
---|---|
files | File upload and management |
models | Model listing and information |
generate | Generate predictions from files |
hub | Domain and schema management |
datasets | Dataset creation and management |
fine-tuning | Model fine-tuning operations |
predictions | View and manage predictions |
Common Operations
File Management
Upload a file to VLM Run:
Model Operations
Generating Predictions
Generate predictions from various file types:
Working with Domains
Managing Datasets
Fine-tuning Models
Advanced Usage
JSON Output
Add the --json
flag to get machine-readable JSON output:
Using Remote Files
Generate predictions from remote URLs:
Detailed Help
Get detailed help for any command:
Command Reference
For each command, refer to the built-in help for detailed information: