- 关于我们
- Open AI
- InsightFace任务提交
- 任务管理
- Midjourney接口
- 暂时未启用
- Generate
- SDXL & SD1.6
- styles
- images
- 视频生成
- 生成音乐POST
- 获取音乐GET
- 生成音乐POST
- 获取音乐GET
- flux-pro-1.1POST
- flux-proPOST
- flux-devPOST
- flux-查询GET
- Generate(文生图)POST
- Remix(混合图)POST
- Upscale(放大高清)POST
- Describe(描述)POST
- 图像生成POST
- 文生视频POST
- 图生视频POST
- 查询任务GET
- 获取视频GET
- 生成视频POST
- 图片描述POST
- 文生图POST
- 合成图POST
- 放大图片POST
- ideogram任务查询POST
- CogVideoX视频生成POST
- CogVideoX视频查询GET
- Mix上传视频并生成视频POST
- 查询视频任务GET
- Multi模板列表GET
- Mix官方模板列表GET
- Mix上传视频素材库GET
- Mix上传图片素材库GET
- 剩余积分查询GET
- Multi上传视频并生成视频POST
- Move上传视频并生成视频 POST
Describe(描述)
POST
/ideogram/v1/describe
描述一幅图像
请求参数
Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
or
Header 参数
Authorization
string
必需
默认值:
{{YOUR_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 --request POST '/ideogram/v1/describe' \
--header 'Authorization;' \
--form 'image_file=@""'
返回响应
🟢200成功
application/json
Body
descriptions
array [object {1}]
必需
text
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."
}
]
}
修改于 2025-04-07 07:37:19