Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://aiapi.xiaoliu.fun/v1/embeddings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "<string>", "input": "<string>" } '
{ "object": "<string>", "data": [ { "embedding": [ 123 ], "index": 123, "object": "<string>" } ], "model": "<string>", "usage": {} }
将文本转换为高维向量表示
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
模型名称
要转化的文本
成功响应
Show child attributes