Embed an image
Run a vision encoder on one image, or a video encoder on a short clip, and get its embedding.
Embeddings come back L2-normalised at the model's real width. Depth-image encoders (eth/defm) take a depth map as image: a 16-bit grayscale PNG of depth in millimetres, 0 for no measurement.
Authorization
AuthorizationheaderrequiredBearer sk-orb-v1-…, your API key, or a free test key (sk-orb-test-…; no account? get one withPOST /sandbox/keys).
Request body
JSON, with Content-Type: application/json.
modelstringrequiredThe encoder to run, e.g.
google/siglip2-so400m. The live models for this endpoint are listed below.imagestringThe image, base64 JPEG or PNG. Under 4 MB of base64. Send
imageorframes.framesstring[]Video encoders only (e.g.
meta/v-jepa-2-encoder): a clip of 1–64 frames, oldest first, all the same size, under 4 MB of base64 together. Billed per 16 frames, so 64 frames cost 4 calls.
Response
idstringUnique id of this call, e.g.
emb_48213. It matches the call in your Activity dashboard.modelstringThe model that answered.
backendstring"http": the real model ran on a GPU."simulated": stand-in output of the same shape, as test keys get.sandboxbooleantruewhen the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.embeddingnumber[]The embedding, unit length. For a clip, one vector for the whole clip.
dimintegerIts length, e.g.
1152for SigLIP 2 So400m.usageobjectWhat the call cost.
Show 2 child attributes
cost_usdnumberCharged to your credits, in US dollars.
latency_msintegerTime the model took, in milliseconds.
Errors
400 |
|
Plus the errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.
Models
40 live models for /embed. Each page has a ready-made request.
- SigLIP So400m
google/siglip-so400m - DINOv2
meta/dinov2 - ResNet-18 / ResNet-50
microsoft/resnet-18 - CLIP ViT-L/14
openai/clip-vit-l-14 - SigLIP 2
google/siglip2-so400m - EfficientNet
google/efficientnet - R3M
meta/r3m - DINOv3
meta/dinov3 - MAE (Masked Autoencoder)
meta/mae - Vision Transformer (ViT)
google/vit - OpenCLIP (ViT-H/14, ViT-bigG/14)
laion/openclip - EVA-CLIP / EVA02-CLIP
baai/eva-clip - V-JEPA 2 encoder
meta/v-jepa-2-encoder - C-RADIOv4
nvidia/c-radiov4 - Perception Encoder (PE-Core / PE-Lang / PE-Spatial)
meta/perception-encoder - Voltron
stanford/voltron - LIV
upenn/liv - SPA
haoyizhu/spa - HRP
cmu/hrp - SAM image encoder
meta/sam-encoder - SAM 2 image encoder (Hiera)
meta/sam-2-encoder - InternViT (6B / 300M)
opengvlab/internvit - V-JEPA 2.1 encoder
meta/v-jepa-2.1-encoder - InternVideo2
opengvlab/internvideo2 - TULIP
berkeley/tulip - RICE (MLCD successor)
deepglint/rice - DeFM (Depth Foundation Model)
eth/defm - FiT3D
eth/fit3d - TIPSv2
google/tipsv2 - VideoPrism
google/videoprism - DynaFLIP
larr/dynaflip - Perception Encoder Audio-Visual (PE-AV)
meta/pe-av - UniViTAR
mm-mvr/univitar - MoonViT
moonshotai/moonvit - Cosmos-Embed1
nvidia/cosmos-embed1 - InternVideo-Next
opengvlab/internvideo-next - FG-CLIP 2
qihoo360/fg-clip-2 - LingBot-Vision
robbyant/lingbot-vision - Long-CLIP
thu/longclip - OpenVision
ucsc-vlaa/openvision
1 more is coming soon. See the models page.