OpenRouter Vision Agent OpenClaw Skill

Analyze images using OpenRouter's vision API with x-ai/grok-4.1-fast. Requires OPENROUTER_API_KEY env var or user-provided key. Use when the user asks to des...

v1.0.1 Recently Updated Updated 1 day ago

Installation

clawhub install openrouter-vision-skill

Requires npm i -g clawhub

42

Downloads

0

Stars

0

current installs

0 all-time

2

Versions

EU EU-Hosted Inference API

Power your OpenClaw skills with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

GLM 5

$1.00 / $3.20

per M tokens

Kimi

Kimi K2.5

$0.60 / $2.80

per M tokens

MiniMax

MiniMax M2.5

$0.30 / $1.20

per M tokens

Qwen

Qwen3.5 122B

$0.40 / $3.00

per M tokens

OpenRouter Vision Agent

Analyzes images via OpenRouter using x-ai/grok-4.1-fast.

API Details

  • Model: x-ai/grok-4.1-fast
  • Endpoint: https://openrouter.ai/api/v1/chat/completions
  • Auth: OPENROUTER_API_KEY env var — required
  • Max Tokens: 500–2000 (adjust depending on needed detail)

Image Analysis

Via curl

curl -s https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.1-fast",
    "max_tokens": 800,
    "messages": [{
      "role": "user",
      "content": [
        {"type": "text", "text": "<prompt>"},
        {"type": "image_url", "image_url": {"url": "<image_url>"}}
      ]
    }]
  }'

Parameters

Field Value
model x-ai/grok-4.1-fast
messages[].content[].type text + image_url
image_url.url Direct image URL (http/https)
max_tokens 500–2000

Output

Parse choices[0].message.content from the JSON response.

Notes

  • Credential required: OPENROUTER_API_KEY env var must be set. If not available, ask the user for their OpenRouter API key before proceeding.
  • Privacy: Images (including URLs and uploaded files) are sent to openrouter.ai. Do not use this skill with sensitive or private images.
  • Image URLs must be publicly accessible HTTP/HTTPS URLs
  • Supports JPEG, PNG, WebP, and other common formats
  • For local files, upload to a public URL first

Statistics

Downloads 42
Stars 0
Current installs 0
All-time installs 0
Versions 2
Comments 0
Created Apr 18, 2026
Updated Apr 18, 2026

Latest Changes

v1.0.1 · Apr 18, 2026

Declare OPENROUTER_API_KEY as required credential; add privacy warning about sending images to openrouter.ai

Quick Install

clawhub install openrouter-vision-skill
EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.

Customer Support