Gemini Embedding 2
Gemini Embedding 2 is Google AI Studio's first natively multimodal embedding model, mapping text, images, video, audio, and documents into a single unified embedding space with support for interleaved multi-modal inputs and over 100 languages.
import { embed } from 'ai';
const result = await embed({ model: 'google/gemini-embedding-2', value: 'Sunny day at the beach',})P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.