SKUAI接口文档
  1. Ideogram
SKUAI接口文档
  • 使用须知
  • OpenAI 通用接口
    • 聊天
      • 1.聊天接口(OpenAI格式通用)
    • 图像
      • 1.创建图像
      • 2.创建图片编辑
  • 绘图模型
    • Midjourney
      • 1.文生图(Imagine)接口
      • 2.按钮点击(Action)接口
      • 3.图片融合(Blend)接口
      • 4.窗口执行(Modal)接口
      • 5.图生文(Describe)接口
      • 6.缩短提示词(Shorten)接口
      • 7.换脸(FaceSwap)接口
      • 8.上传(upload)接口
      • 9.查询接口
      • 10.批量查询接口
      • 11.获取种子(Seed)接口
      • 12.刷新链接(Refresh)接口
    • Flux
      • 官方格式
        • 1.生成图片
        • 2.查询任务
      • OpenAI格式
        • 1.创建图像
        • 2.创建图片编辑
    • Ideogram
      • 1.Generate(文生图)
        POST
      • 2.Edit(编辑)
        POST
      • 3.Remix(混合图)
        POST
      • 4.Upscale(放大高清)
        POST
      • 5.Describe(图生文)
        POST
  • 音乐模型
    • Suno
      • zeakAi格式
        • 1.生成歌词接口
        • 2.获取歌词接口
        • 3.生成音乐(灵感模式)
        • 4.生成音乐(专业模式)
        • 5.生成音乐(翻唱模式)
        • 6.局部编辑音乐
        • 7.上传音乐
        • 8.续写音乐
        • 9.裁剪音乐
        • 10.合并音乐
        • 11.查询音乐
      • newApi格式
        • 1.生成歌词接口
        • 2.生成音乐接口
        • 3.上传音乐接口
        • 4.歌曲拼接接口
        • 5.查询任务
  1. Ideogram

5.Describe(图生文)

POST
/ideogram/describe
描述图像
支持的图像格式包括JPEG、PNG和WEBP

请求参数

Header 参数
Authorization
string 
必需
用户个人中心获取的密钥
示例值:
{{YOUR_API_KEY}}
Body 参数multipart/form-data
image_file
file 
图片文件
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.sku.vip/ideogram/describe' \
--header 'Authorization: ed822e3a-ec11-48d5-9739-55f4b402e7b0' \
--form 'image_file=@""'

返回响应

🟢200成功
application/json
Body
descriptions
array [object {1}] 
必需
text
string 
必需
示例
{
    "descriptions": [
        {
            "text": "A meticulously illustrated cat with striped patterns, sitting upright. The cat's eyes are a captivating shade of yellow, and it appears to be gazing intently at something. The background consists of abstract, swirling patterns in shades of black, white, and beige, creating an almost fluid or wavy appearance. The cat is positioned in the foreground, with the background elements fading into the distance, giving a sense of depth to the image."
        },
        {
            "text": "A meticulously illustrated cat with striped patterns, sitting upright. The cat's eyes are a captivating shade of yellow, and it appears to be gazing intently at something. The background consists of abstract, swirling patterns in shades of black, white, and beige, creating an almost fluid or wavy appearance. The cat is positioned in the foreground, with the background elements fading into the distance, giving a sense of depth to the image."
        }
    ]
}
修改于 2025-03-09 12:25:55
上一页
4.Upscale(放大高清)
下一页
1.生成歌词接口
Built with