- 模型接口
- 聊天接口(Chat)
- 自动补全接口(Completions)
- 图像接口(Images)
- 向量生成接口(Embeddings)
- 音频接口(Audio)
- Midjourney
- Suno音乐(逆向)
- Flux图像(官方格式)
- Recraft图像(官方格式)
- Stability AI图像(官方格式)
- Ideogram图像(官方格式)
- Ideogram图像(逆向)
- Kling视频(官方格式)
- Luma视频(逆向)
- Runway视频(官方格式)
- CogVideoX视频(官方格式)
- Viggle舞蹈(逆向)
- 帮助中心
Describe(描述)
开发中
POST
https://api.mjdjourney.cn/ideogram/v1/describe
描述一幅图像
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
string
可选
Header 参数
Authorization
string
必需
默认值:
{{YOUR_API_KEY}}
string
可选
Body 参数multipart/form-data
image_file
file
必需
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mjdjourney.cn/ideogram/v1/describe' \
--header 'Authorization;' \
--form 'image_file=@""' \
--form '=""'
返回响应
🟢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."
}
]
}
修改于 2024-09-02 14:34:50