Skip to main content
POST
Gemini - 向量

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json

gemini/embed-content 请求。扩展字段保留,在选定供应商后继续校验。

content
object
必填
model
string
outputDimensionality
integer
必填范围: x >= 1
taskType
string
title
string

响应

200 - application/json

gemini/embed-content 响应。扩展字段保留,在选定供应商后继续校验。

embedding
object
必填