Skip to contentx402 is live on Robinhood Chain: agents can now pay for any model, per call, in USDG →
OmniRail
← All models

Google · Embedding model

Gemini Embedding 2 Preview

google/gemini-embedding-2-preview
  • Embedding
Released Apr 17, 2026

Gemini Embedding 2 Preview is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It...

Specifications

Input
text, image, file, audio, video
Output
vector per input (float array; base64 on request)
Batch
up to 512 inputs per call
Billing
per input token

Use it

POST /api/v1/embeddings · MCP embed · full reference

curl https://omnirail.org/api/v1/embeddings \
  -H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-embedding-2-preview","input":["brass lever espresso machine","coffee grinder"]}'