GET
/v1/models/google-vertex/gemini-embedding-2-preview
Accept:
| rawId | gemini-embedding-2-preview |
| displayName | Gemini Embedding 2 |
| id | google-vertex-gemini-embedding-2-preview |
| activity | embeddings |
| schemaEndpointId | v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:embedContent |
| releasedAt | 1773100800 — Mar 10, 2026 |
| firstSeenAt | 1773100800 — Mar 10, 2026 |
| lastSeenAt | 1795359840 — 13m ago |
| pricing | not published by this provider’s list endpoint |
| modalities | {"input":["text","image","audio","video"],"output":[]} |
| contextWindow · maxOutput · capabilities · knowledgeCutoff · openWeights · weightsUrl · requestMap · providerMetadata | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/google-vertex →| endpoint | activity |
|---|---|
| v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:embedContent | embeddings |
endpoints matching this model — the provider has more, see /v1/schemas/google-vertex
Use it
shell
$ curl https://modelschemas.com/v1/schemas/google-vertex/embeddings/v1/projects/%7BprojectsId%7D/locations/%7BlocationsId%7D/publishers/%7BpublishersId%7D/models/%7BmodelsId%7D%3AembedContent # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"google-vertex","endpointId":"v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:embedContent","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"google-vertex","model":"gemini-embedding-2-preview","usage":{"input_tokens":1200,"output_tokens":400}}'