Native Gemini Format
POST /v1/engines/{model}/embeddings
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model (path) | string | Required | Model/Engine ID |
model | string | Required | - |
input | string | array<string> | Required | Text to embed |
encoding_format | string | Optional | - |
dimensions | integer | Optional | Output vector dimensions |
Request Example
{
"path": {
"model": "string"
},
"body": {
"model": "text-embedding-ada-002",
"input": "string"
}
}
Response Fields(200)
| Field Name | Type | Description |
|---|---|---|
| No structured response fields (may be binary or empty response body) |