mcpField
F
fal-vision

fal-vision

github.com/fal-ai-communityData & databases258133 installsUpdated 24w ago
Repository

About fal-vision

fal-vision is a skill for analyzing images with fal.ai vision models. Its script supports segmentation, detection, OCR, captioning, and visual question answering, with an option to specify a model endpoint.

Key features

  1. 01Image object segmentation
  2. 02Object detection
  3. 03OCR text extraction
  4. 04Image captioning and visual QA
  5. 05Specify a model endpoint

Use cases

  1. 01Locate a specific object in an image
  2. 02Identify objects in pictures
  3. 03Extract text from document images
  4. 04Answer questions about image content

MCP support

The README mentions using the `search_models` MCP tool to find vision analysis models by keyword; the skill itself runs image analysis through a script.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fal-ai-community/skills --skill fal-vision

After installing, type/fal-visionin Claude Code to confirm it loaded.

Bundled filesscripts/analyze.sh

Details

From the project README

fal-vision

Analyze and understand images using fal.ai vision models — segmentation, detection, OCR, captioning, and visual QA.

Scripts

ScriptPurpose
analyze.shAnalyze an image (segment, detect, OCR, describe, QA)

Usage

Segment Objects
./scripts/analyze.sh --image-url "https://example.com/photo.jpg" --operation segment --query "the red car"
Detect Objects
./scripts/analyze.sh --image-url "https://example.com/photo.jpg" --operation detect
Extract Text (OCR)
./scripts/analyze.sh --image-url "https://example.com/document.jpg" --operation ocr
Describe Image
./scripts/analyze.sh --image-url "https://example.com/photo.jpg" --operation describe
Visual QA
./scripts/analyze.sh --image-url "https://example.com/photo.jpg" --operation qa --query "How many people are in this image?"

Arguments

ArgumentDescriptionRequired
--image-urlURL of image to analyzeYes
--operationsegment, detect, ocr, describe, qaYes
--query / -qText prompt for segment/qa operationsFor segment/qa
--model / -mOverride model endpointNo

Finding Models

To discover the best and latest vision/analysis models, use the search API:

# Search for segmentation models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "segmentation"

# Search for object detection models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "object detection"

# Search for OCR models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "ocr"

# Search for image captioning / visual QA models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "caption"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "visual question"

Or use the search_models MCP tool with keywords like "segmentation", "detection", "ocr", "caption", "vision".

Comments

Markdown supported