跳转到主要内容
POST
POST /v1beta/models/{model}:batchEmbedContents

授权

Authorization
string
header
必填

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

路径参数

model
string
必填

请求体

application/json
requests
object[]
必填

响应

Successful protocol response

embeddings
object[] | null
usageMetadata
object | null