Describe(描述)
POST
{{BASE_URL}}/ideogram/describe最后修改时间: 3 个月前
Describe an image
描述一幅图像
具体参数请看官方文档:https://developer.ideogram.ai/api-reference/generate/post-generate-image
请求参数
Header 参数
accept
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
sk-7bPwPtHW3nv2Azoz12De1b2a7b4442589d31A62f4617E412
Body 参数multipart/form-data
image_file
file
必需
示例值:
file://E:\Downloads\flux.png
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
created
string
必需
data
array [object {5}]
必需
is_image_safe
boolean
可选
prompt
string
可选
resolution
string
可选
seed
integer
可选
url
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."
}
]
}
最后修改时间: 3 个月前