- OpenAI通用接口
- 聊天接口(Chat)
- 图像接口(Images)
- 帮助中心
- gemini
- Midjourney API文档
- Flux(文生图)
- Replicate格式
- OpenAI DallE3格式POST
- Runway视频接口
- Luma视频接口
- 可灵API(官方接口)
- 工作流接口
- suno
- ideogram
Describe(描述)
开发中
POST
/ideogram/describe
请求参数
Header 参数
Authorization
string
必需
默认值:
{{Authorization}}
Body 参数multipart/form-data
image_file
file
图像二进制
示例值:
file://C:\Users\ylx\Desktop\test.jpeg
示例代码
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/describe' \
--header 'Authorization;' \
--form 'image_file=@"C:\\Users\\ylx\\Desktop\\test.jpeg"'
返回响应
🟢200成功
application/json
Body
descriptions
array[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."
}
]
}
修改于 2024-11-02 09:44:20