✓ Verified 💻 Development ✓ Enhanced Data

Vlmrun Cli Skill

Use the VLM Run CLI (`vlmrun`) to interact with Orion visual AI agent.

Rating
4.1 (482 reviews)
Downloads
637 downloads
Version
1.0.0

Overview

Use the VLM Run CLI (`vlmrun`) to interact with Orion visual AI agent.

Complete Documentation

View Source →

VLM Run CLI

Chat with VLM Run's Orion visual AI agent via CLI.

Setup

bash
uv venv && source .venv/bin/activate
uv pip install "vlmrun[cli]"

Environment Variables

You must load the following variables in your environment so that the CLI can use them. You may load the ./env file to your environment.

VariableTypeDescription
VLMRUN_API_KEYRequiredYour VLM Run API key (required)
VLMRUN_BASE_URLOptionalBase URL (default: https://agent.vlm.run/v1)
VLMRUN_CACHE_DIROptionalCache directory (default: ~/.vlmrun/cache/artifacts/)

Command

bash
vlmrun chat "<prompt>" -i input.jpg [options]

Options

FlagDescription
-p, --promptPrompt text, file path, or stdin
-i, --inputInput file(s) - images, videos, docs (repeatable)
-o, --outputArtifact directory (default: ~/.vlmrun/cache/artifacts/)
-m, --modelvlmrun-orion-1:fast, vlmrun-orion-1:auto (default), vlmrun-orion-1:pro
-s, --sessionOptional session ID to continue a previous session
-j, --jsonRaw JSON output
-ns, --no-streamDisable streaming
-nd, --no-downloadSkip artifact download

Examples

Images

bash
vlmrun chat "Describe what you see in this image in detail" -i photo.jpg
vlmrun chat "Detect and list all objects visible in this scene" -i scene.jpg
vlmrun chat "Extract all text and numbers from this document image" -i document.png
vlmrun chat "Compare these two images and describe the differences" -i before.jpg -i after.jpg

Image Generation

bash
vlmrun chat "Generate a photorealistic image of a cozy cabin in a snowy forest at sunset" -o ./generated
vlmrun chat "Remove the background from this product image and make it transparent" -i product.jpg -o ./output

Video

bash
vlmrun chat "Summarize the key points discussed in this meeting video" -i meeting.mp4
vlmrun chat "Find the top 3 highlight moments and create short clips from them" -i sports.mp4
vlmrun chat "Transcribe this lecture with timestamps for each section" -i lecture.mp4 --json

Video Generation

bash
vlmrun chat "Generate a 5-second video of ocean waves crashing on a rocky beach at golden hour" -o ./videos
vlmrun chat "Create a smooth slow-motion video from this image" -i ocean.jpg -o ./output

Documents

bash
vlmrun chat "Extract the vendor name, line items, and total amount" -i invoice.pdf --json
vlmrun chat "Summarize the key terms and obligations in this contract" -i contract.pdf

Prompt Sources

bash
# Direct prompt
vlmrun chat "What objects and people are visible in this image?" -i photo.jpg

# Prompt from file
vlmrun chat -p long_prompt.txt -i photo.jpg

# Prompt from stdin
echo "Describe this image in detail" | vlmrun chat - -i photo.jpg

Continuing a previous session

If you want to keep the past conversation and generated artifacts in context, you can use the -s flag to continue a previous session using the session ID generated when you started the session.

bash
# Start a new session of an image generation task where a new character is generated
vlmrun chat "Create an iconic scene of a ninja in a forest, practicing his skills with a katana?" -i photo.jpg

# Use the previous chat session in context to retain the same character and scene context (where the session ID is <session_id>)
vlmrun chat "Create a new scene with the same character meditating under a tree" -i photo.jpg -s <session_id>

Skipping artifact download

If you want to skip the artifact download, you can use the -nd flag.
bash
vlmrun chat "What objects and people are visible in this image?" -i photo.jpg -nd

Notes

  • Use -o ./ to save generated artifacts (images, videos) relative to your current working directory
  • Without -o, artifacts save to ~/.vlmrun/cache/artifacts//
  • Multiple input files upload concurrently

Installation

Terminal bash

openclaw install vlmrun-cli-skill
    
Copied!

💻Code Examples

## Setup

-setup.sh
uv venv && source .venv/bin/activate
uv pip install "vlmrun[cli]"

vlmrun chat "<prompt>" -i input.jpg [options]

vlmrun-chat-prompt--i-inputjpg-options.txt
## Options

| Flag | Description |
|------|-------------|
| `-p, --prompt` | Prompt text, file path, or `stdin` |
| `-i, --input` | Input file(s) - images, videos, docs (repeatable) |
| `-o, --output` | Artifact directory (default: `~/.vlmrun/cache/artifacts/`) |
| `-m, --model` | `vlmrun-orion-1:fast`, `vlmrun-orion-1:auto` (default), `vlmrun-orion-1:pro` |
| `-s, --session` | Optional session ID to continue a previous session |
| `-j, --json` | Raw JSON output |
| `-ns, --no-stream` | Disable streaming |
| `-nd, --no-download` | Skip artifact download |

## Examples

### Images

echo "Describe this image in detail" | vlmrun chat - -i photo.jpg

echo-describe-this-image-in-detail--vlmrun-chat----i-photojpg.txt
### Continuing a previous session
If you want to keep the past conversation and generated artifacts in context, you can use the `-s` flag to continue a previous session using the session ID generated when you started the session.

vlmrun chat "Create a new scene with the same character meditating under a tree" -i photo.jpg -s <session_id>

vlmrun-chat-create-a-new-scene-with-the-same-character-meditating-under-a-tree--i-photojpg--s-sessionid.txt
### Skipping artifact download
If you want to skip the artifact download, you can use the `-nd` flag.
example.sh
vlmrun chat "Describe what you see in this image in detail" -i photo.jpg
vlmrun chat "Detect and list all objects visible in this scene" -i scene.jpg
vlmrun chat "Extract all text and numbers from this document image" -i document.png
vlmrun chat "Compare these two images and describe the differences" -i before.jpg -i after.jpg
example.sh
vlmrun chat "Summarize the key points discussed in this meeting video" -i meeting.mp4
vlmrun chat "Find the top 3 highlight moments and create short clips from them" -i sports.mp4
vlmrun chat "Transcribe this lecture with timestamps for each section" -i lecture.mp4 --json
example.sh
# Direct prompt
vlmrun chat "What objects and people are visible in this image?" -i photo.jpg

# Prompt from file
vlmrun chat -p long_prompt.txt -i photo.jpg

# Prompt from stdin
echo "Describe this image in detail" | vlmrun chat - -i photo.jpg
example.sh
# Start a new session of an image generation task where a new character is generated
vlmrun chat "Create an iconic scene of a ninja in a forest, practicing his skills with a katana?" -i photo.jpg

# Use the previous chat session in context to retain the same character and scene context (where the session ID is <session_id>)
vlmrun chat "Create a new scene with the same character meditating under a tree" -i photo.jpg -s <session_id>

Tags

#coding_agents-and-ides #cli

Quick Info

Category Development
Model Claude 3.5
Complexity Multi-Agent
Author spillai
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install vlmrun-cli-skill