Install
openclaw skills install @gawainchin/openrouter-vision-skillAnalyze 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 describe, explain, or interpret an image, or when image analysis is needed. Triggered by phrases like "analyze this image", "what's in this photo", "describe this picture", "use openrouter vision". ⚠️ Images are sent to openrouter.ai — avoid sending sensitive/untrusted images.
openclaw skills install @gawainchin/openrouter-vision-skillAnalyzes images via OpenRouter using x-ai/grok-4.1-fast.
x-ai/grok-4.1-fasthttps://openrouter.ai/api/v1/chat/completionsOPENROUTER_API_KEY env var — requiredcurl -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>"}}
]
}]
}'
| 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 |
Parse choices[0].message.content from the JSON response.
OPENROUTER_API_KEY env var must be set. If not available, ask the user for their OpenRouter API key before proceeding.