Sa2VA 4B Image · Vision
fal-ai/sa2va/4b/imageExtract text and data from files with Sa2VA 4B Image · Vision from fal through one Spiral API key. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.026 per image.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Prompt to be used for the chat completion |
image_url required | URL or file | — | Url for the Input image. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/sa2va/4b/image",
"input": {
"prompt": "Could you please give me a brief description of the image? Please respond with interleaved segmentation masks for the corresponding parts of the answer.",
"image_url": "https://raw.githubusercontent.com/facebookresearch/segment-anything-2/main/notebooks/images/truck.jpg"
}
}'Frequently asked questions
How much does Sa2VA 4B Image · Vision cost?
$0.026 per image. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Sa2VA 4B Image · Vision through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/sa2va/4b/image"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Sa2VA 4B Image · Vision?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Sa2VA 4B Image · Vision?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.