- 发出请求
- 模 型接口
- 聊天接口(Chat)
- 自动补全接口(Completions)
- 图像接口(Images)
- 向量生成接口(Embeddings)
- 音频接口(Audio)
- Suno音乐接口
- Luma视频接口
- SD图像接口
- 帮助中心
- SDXL & SD1.6
- styles
- images
- 视频生 成
- 任务管理
- 内容补全接口POST
- 获取音乐GET
- 获取音乐GET
- flux-pro-1.1POST
- flux-proPOST
- flux-devPOST
- flux-查询GET
- Generate(文生图)POST
- Remix(混合图)POST
- Upscale(放大高清)POST
- Describe(描述)POST
- 图像生成POST
- 文生视频POST
- 图生视频POST
- 查询任务GET
- 图片描述POST
- 文生图POST
- 合成图POST
- 放大图片POST
- ideogram任务查询POST
Describe(描述)
POST
/ideogram/v1/describe
描述一幅图像
请求参数
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 --request POST '/ideogram/v1/describe' \
--header 'Authorization;' \
--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-02-19 06:58:42