Skip to main content
POST
Create embeddings
将文本转换为向量,适合语义搜索、RAG、聚类和相似度匹配。

Authorizations

Authorization
string
header
required

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

Body

application/json
model
string
required
input
required

Response

Embedding response

object
string
Example:

"list"

data
object[]
usage
object