ColudAI-API
  1. 模型
ColudAI-API
  • 入门指南(必读)
  • 模型
    • 深度推理(CoT)
      • 调用对话(Chat)
    • 多轮对话
      • 新建会话
      • 查询历史
      • 删除会话
    • 调用对话(Chat)
      POST
    • 代码生成(coder)
      POST
    • 图像理解(img_desc)
      POST
    • 语音合成(tts)
      POST
    • 获取输出
      GET
    • 文本生成图像(txt2img)
      POST
    • 令牌验证
      POST
    • openai规范
      POST
  • 账号
    • 登录
      POST
  • 安全
    • md5加密(32位小写)
      GET
  1. 模型

图像理解(img_desc)

POST
/api/img_desc

配置:#

Base_url: "https://ai.coludai.cn"
api_key: 你的ca令牌
支持
/api/img_desc
支持jpg``gif....通用(
🆕特点
SAI官方的图片理解模型使用了公开的数据集以及参考了一些模型训练

请求参数

Header 参数

Body 参数application/json

示例
{
  "file": "<binary data>"
}

请求示例代码

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://ai.coludai.cn/api/img_desc' \
--header 'ca;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "file": "<binary data>"
}'

返回响应

🟠422参数错误
application/json
Body

示例
{
    "detail": [
        {
            "type": "string",
            "loc": [
                "string"
            ],
            "msg": "string",
            "input": null
        }
    ]
}
修改于 2026-02-14 13:41:05
上一页
代码生成(coder)
下一页
语音合成(tts)
Built with