Junoa-Hub-API
Junoa Hub
  1. Embeddings
  • Gateway Discovery
    • List authorized models
      GET
    • Get available credits
      GET
    • List effective model pricing
      GET
  • OpenAI Text
    • Create chat completion
      POST
    • Create model response
      POST
  • Anthropic Messages
    • Create Claude message
      POST
  • Media Generation
    • Generate image
      POST
    • Create video job
      POST
    • Get video job
      GET
  • Embeddings
    • Create embedding
      POST
  • OCR
    • Create OCR result
      POST
  • Legacy VolcEngine
    • Create legacy content task
      POST
    • Get legacy content task
      GET
  1. Embeddings

Create embedding

全球加速 BaseURL
https://api.junoa.ai
全球加速 BaseURL
https://api.junoa.ai
POST
https://api.junoa.ai
/v1/embeddings
最后修改时间:2026-07-29 05:56:08
Creates OpenAI-compatible embeddings and also preserves supported native Ark multimodal input items.

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Body 参数application/json必填

示例

返回响应

🟢200成功
application/json
Embedding response.
Bodyapplication/json

🟠400请求有误
🟠401没有权限
🟠404记录不存在
🟠429
🔴502网关错误
🔴504网关超时
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.junoa.ai/v1/embeddings' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "doubao-embedding-version-251215",
    "input": "hello"
}'
响应示例响应示例
200 - 示例 1
{
    "data": [
        {
            "index": 0,
            "embedding": [
                0
            ],
            "object": "embedding"
        }
    ],
    "model": "string",
    "object": "list",
    "usage": {
        "prompt_tokens": 0,
        "total_tokens": 0
    },
    "property1": "string",
    "property2": "string"
}
上一页
Get video job
下一页
Create OCR result
Built with