Describe(描述)
测试中
POST
https://api.deerapi.com/ideogram/describe
描述一幅图像
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.deerapi.com/ideogram/describe' \
--header 'Authorization: {{api-key}}' \
--form 'image_file=@""'
响应示例响应示例
{
"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."
}
]
}
请求参数
Header 参数
Authorization
string
可选
示例值:
{{api-key}}
Body 参数multipart/form-data
image_file
file
必需
返回响应
修改于 2025-03-26 10:01:55