SAM 3 API — Open-Vocabulary Image Segmentation on KeyoAPI
sam3 brings Meta SAM 3 open-vocabulary segmentation to KeyoAPI as a hosted API: send an image, get pixel-level masks when closed YOLO class lists are not enough.
sam3 is a vision model on KeyoAPI, a prepaid AI API gateway: call it at POST /v1/images/segmentation, billed at $0.0137 / request from the same balance that covers chat, vision, OCR and video models.
Overview
Creative tools and robotics stacks use it when users can point at “any object.” Open-vocabulary masks unlock long-tail objects that never appeared in detection taxonomies. KeyoAPI hosts SAM beside RMBG and Vajra so you can escalate from cheap detection to precise masks without a second vendor. Around $0.0137 per request—budget for interactive editors where each user click may trigger a mask. Cache masks when users revisit the same asset. Photo editors, dataset labeling, AR try-on prep, and scientific imaging. Export masks into compositing workflows, or fall back to RMBG when you only need subject/background. Call POST /v1/images/segmentation with model=sam3. Start at the full pricing list for live rates and try/buy. To try SAM 3 without cloning the repo, call model=sam3 — no local weights: authenticate, post a frame, and receive masks. Open-vocabulary segmentation shines when class lists fail—medical tools, rare SKUs, custom props. Prompt with short noun phrases and keep a human-in-the-loop for first-week taxonomy discovery. Export masks as PNGs or RLE depending on your editor. Rate-limit per tenant; masks are heavier than classification tokens. Keep prompt dictionaries per tenant and soft-delete prompts that produce empty masks. UX improves when users can click a region and refine the noun phrase interactively.
- Listed price: $0.0137 / request
- Billing base: $1 of wallet balance = 500,000 quota units
- Gift credit: new users get $10, invites add $3 (spend-first on
:freeIDs) - Endpoint:
POST /v1/images/segmentationwith Bearer auth onhttps://www.keyoapi.xyz/v1
How to call it
Base URL: https://www.keyoapi.xyz/v1
Endpoint: POST /v1/images/segmentation
Model: model=sam3
curl https://www.keyoapi.xyz/v1/images/segmentation \
-H "Authorization: Bearer YOUR_API_KEY" \
-F model=sam3 \
-F image=@./frame.png
Auth uses the same Bearer API key as chat. Full notes: Keyo docs.
FAQ
Can I try sam3 without deploying it?
Yes. KeyoAPI hosts model=sam3 behind POST /v1/images/segmentation. Open the full pricing list to place a test call with your API key — no local GPU or Hugging Face download.
SAM 3 vs RMBG?
RMBG is specialized background removal. SAM 3 produces open-vocabulary masks for arbitrary objects without a fixed class list.
Do I need prompts?
Open-vocabulary segmentation typically accepts points/boxes/text cues depending on the operation—see Keyo docs for the exact schema.
Price?
About $0.0137 per request on the full pricing list.