You need to enable JavaScript to run this app.
复制全文
下载 pdf
向量化 API
文本向量化 API
复制全文
下载 pdf
文本向量化 API
POST https://ark.cn-beijing.volces.com/api/v3/embeddings​
将文本内容转换为向量,用于语义检索、文本分析等任务。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • API Key 鉴权,请在 API Key 管理 页面,获取长效 API Key。​
​​
请求参数​
Body 参数​
input string / string[] 必选 | 需要向量化的内容列表​
​
model string 必选 | 模型 ID​
​
dimensions integer | 指定输出的向量维度​
​
encoding_format string 默认值 float | embedding 返回的格式​
​
user string | 终端用户的唯一标识符​
​
​
响应参数​
created integer | 请求创建的 Unix 时间戳​
​
data object[] | 本次请求的算法输出内容​
​
id string | 本次请求的唯一标识​
​
model string | 本次请求实际使用的模型​
​
object string | 对象类型​
​
usage object | 本次请求的 token 用量​
​
​
最近更新时间:2026.08.21 11:18:10
这个页面对您有帮助吗?
有用
有用
无用
无用