- 平台接口
- OpenAI接口
- 音乐模型
- 图像模型
- MidJourney
- ideogram
- 视频模型
Describe(描述)
开发中
POST
{{BASE_URL}}/ideogram/describe
请求参数
Authorization
在 header 添加参数
Api-Key
示例:
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 '{{BASE_URL}}/ideogram/describe' \
--header 'Api-Key;'
返回响应
🟢200成功
application/json
Body
descriptions
array [object {1}]
必需
text
string
必需
created
string
必需
data
array [object {6}]
必需
prompt
string
可选
resolution
string
可选
is_image_safe
boolean
可选
seed
integer
可选
url
string
可选
style_type
string
可选
示例
{
"created": "2000-01-23T04:56:07Z",
"data": [
{
"prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.",
"resolution": "1024x1024",
"is_image_safe": true,
"seed": 12345,
"url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g",
"style_type": "REALISTIC"
}
]
}
修改于 2025-04-02 12:01:56