π¦ ClawHub
Crazyrouter Ocr
by @xujfcn
Image-to-text and OCR via Crazyrouter API using vision models (GPT-4o, Gemini, Claude). Extract text from images, describe images, analyze screenshots. Use w...
π‘ Examples
# Describe image
node ${SKILL_DIR}/scripts/main.mjs --image photo.jpg --prompt "Describe this image"Extract text (OCR)
node ${SKILL_DIR}/scripts/main.mjs --image receipt.png --prompt "Extract all text from this image"Analyze screenshot
node ${SKILL_DIR}/scripts/main.mjs --image screenshot.png --prompt "What errors are shown in this screenshot?"Use specific model
node ${SKILL_DIR}/scripts/main.mjs --image chart.png --prompt "Analyze this chart" --model gemini-2.5-flashSave output
node ${SKILL_DIR}/scripts/main.mjs --image document.jpg --prompt "Extract text" --output text.md
Options
| Option | Description | Default |
|--------|-------------|---------|
| --image | Image file (required) | β |
| --prompt | What to do with the image | Describe this image in detail |
| --model | Vision model | gpt-4o |
| --output | Save to file | stdout |
βοΈ Configuration
| Option | Description | Default |
|--------|-------------|---------|
| --image | Image file (required) | β |
| --prompt | What to do with the image | Describe this image in detail |
| --model | Vision model | gpt-4o |
| --output | Save to file | stdout |
TERMINAL
clawhub install crazyrouter-ocr