v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
GenAI Integration

Embed content (Gemini format)

Creates embeddings using Google Gemini API format.

post/genai/v1beta/models/{model}:embedContent

Path parameters

modelstring required

Model name with action (e.g., embedding-001:embedContent)

Request body

modelstring
taskTypestring
titlestring
outputDimensionalityinteger

Response

Successful response