- chatgpt对话
- chatgpt绘图识图
- claude-gemini
- 逆向模型
- 绘图midjourney-proxy-plus
- 音乐
embedding
开发中
POST
https://api.huiyan-ai.cn/v1/embeddings
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Authorization
string
必需
示例值:
Bearer {{apikey}}
Body 参数application/json
object {0}
示例
{
"input": "Your text string goes here",
"model": "text-embedding-3-large"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.huiyan-ai.cn/v1/embeddings' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"input": "Your text string goes here",
"model": "text-embedding-3-large"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2025-03-06 02:31:21