Describe(图生描述)
概览
- 请求方法:
POST - 路径:
/ideogram/describe - 内容类型:
multipart/form-data
认证方式
Authorization: Bearer sk-xxx(必选)
请求示例
Header
| Header | 示例 | 必填 |
|---|---|---|
| Content-Type | multipart/form-data | 是 |
| Authorization | Bearer sk-xxxx | 是 |
表单字段
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| image_file | file | 是 | 上传图片(JPEG/WEBP/PNG) |
返回示例(200)
json
{
"descriptions": [
{
"text": "A vibrant and dynamic abstract design..."
}
]
}