Gemini Embedding 2 API on KeyoAPI — Multimodal RAG
Map text, images, audio, video, and documents into one vector space for search, classification, and RAG.
Overview
gemini-embedding-2-preview is Gemini’s multimodal embedding ID on KeyoAPI. Indicative rates about $0.18 / $0.71 per 1M in/out — confirm live on /pricing/gemini-embedding-2-preview. Call POST /v1/embeddings at https://www.keyoapi.xyz/v1. Nearby Keyo RAG IDs: WeMM-Embedding-2B and Qwen3-VL-Embedding-8B on the same key.
Quick start
Base URL: https://www.keyoapi.xyz/v1
Endpoint: POST /v1/embeddings
Model: model=gemini-embedding-2-preview
curl https://www.keyoapi.xyz/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-embedding-2-preview","input":"KeyoAPI multimodal retrieval"}'
Auth uses the same Bearer API key as chat. Full notes: Keyo docs.
FAQ
Text only, or images too?
This ID is multimodal (text, image, audio, video, documents). Confirm payload shape on live docs before production.
Where is live pricing?
See /pricing/gemini-embedding-2-preview. Indicative ~$0.18 / $0.71 per 1M in/out.