Basic Usage
# Describe an image
vlmrun chat "Describe this image" -i photo.jpg
# Analyze a document
vlmrun chat "Extract the key information" -i document.pdf
# Process a video
vlmrun chat "Summarize this video" -i video.mp4
# Compare multiple files
vlmrun chat "Compare these images" -i image1.jpg -i image2.jpg
Prompt Sources
The first source that is present wins.# 1. Direct argument
vlmrun chat "Your prompt here" -i file.jpg
# 2. Using -p option (text, file path, or stdin)
vlmrun chat -p "Your prompt" -i file.jpg
vlmrun chat -p prompt.txt -i file.jpg
# 3. Piped stdin
echo "Describe this" | vlmrun chat - -i file.jpg
cat prompt.txt | vlmrun chat - -i file.jpg
Using Skills
# Use a local skill
vlmrun chat "Extract data from this invoice" -i invoice.pdf -k ./my-skill
# Multiple skills
vlmrun chat "Analyze this" -i photo.jpg -k ./skill-a -k ./skill-b
-k sends the skill inline with the request. The skill is not uploaded. Create a persistent server-side skill with vlmrun skills upload.Stateful Sessions
--session-id persists chat history across calls.
# Start a session
vlmrun chat "What's in this image?" -i photo.jpg --session-id my-session
# Continue the conversation
vlmrun chat "Now describe the colors" --session-id my-session
Models
| Model | Description |
|---|---|
vlmrun-orion-1:fast | Speed-optimized |
vlmrun-orion-1:auto | Balanced (default) |
vlmrun-orion-1:pro | Most capable |
vlmrun chat "Describe this" -i photo.jpg -m vlmrun-orion-1:pro
Output Formats
# Rich formatted output (default)
vlmrun chat "Describe this" -i photo.jpg
# JSON output for scripting
vlmrun chat "Describe this" -i photo.jpg --json
# Pipe JSON to jq
vlmrun chat "Describe this" -i photo.jpg --json | jq '.content'
# Disable streaming (wait for complete response)
vlmrun chat "Describe this" -i photo.jpg --no-stream
Artifact Handling
# Default: saved to ~/.vlm/cache/artifacts/<session_id>/
vlmrun chat "Generate a variation of this image" -i photo.jpg
# Custom output directory
vlmrun chat "Generate a variation" -i photo.jpg -o ./output/
# Skip artifact download
vlmrun chat "Generate a variation" -i photo.jpg --no-download
Supported File Types
| Category | Extensions |
|---|---|
| Images | .jpg, .jpeg, .png, .gif, .webp, .bmp, .tiff |
| Videos | .mp4, .mov, .avi, .mkv, .webm |
| Documents | .pdf, .doc, .docx |
| Audio | .mp3, .wav, .m4a, .flac, .ogg |
Options Reference
| Option | Short | Description |
|---|---|---|
--prompt | -p | Prompt: text string, file path, or stdin |
--input | -i | Input file (repeatable) |
--skill | -k | Path to a skill directory (repeatable) |
--output | -o | Artifact output directory |
--model | -m | Model variant (default: vlmrun-orion-1:auto) |
--json | -j | Output JSON instead of formatted text |
--no-stream | -ns | Disable streaming |
--no-download | -nd | Skip artifact download |
--session-id | -s | Session UUID for stateful conversations |
--base-url | API base URL override |