- 发出请求
- 模型接口
- 完成对象
- OpenAI接口(Chat)
- Realtime (实时语音、对话)
- Anthropic Claude
- 谷歌Gemini
- Midjourney
- GPTs 相关
- 文生图接口
- 文生音乐
- 文生视频
- Rerank API
- 自动补全接口(Completions)
- 向量生成接口(Embeddings)
- 音频接口(Audio)
- 审查(Moderations)
- Python配置方式
- 帮助中心
- 回收站
提交Describe任务
主站接口①
主站接口①
POST
https://api2.aigcbest.top/mj/submit/describe
任务提交
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
必需
默认值:
application/json
Accept
string
必需
默认值:
application/json
Body 参数application/json
botType
enum<string>
可选
枚举值:
MID_JOURNEYNIJI_JOURNEY
示例值:
MID_JOURNEY
base64
string
图片base64
示例值:
data:image/png;base64,xxx
accountFilter
object (账号筛选条件)
可选
channelId
string
频道ID
instanceId
string
账号实例ID
modes
array[string]
账号模式
枚举值:
RELAXFASTTURBO
remark
string
备注包含
remix
boolean
账号是否remix
remixAutoConsidered
boolean
可选
remix自动提交
视为 账号的remix为false
notifyHook
string
可选
state
string
自定义参数
示例
{
"botType": "MID_JOURNEY",
"base64": "data:image/png;base64,xxx",
"accountFilter": {
"channelId": "",
"instanceId": "",
"modes": [],
"remark": "",
"remix": true,
"remixAutoConsidered": true
},
"notifyHook": "",
"state": ""
}
示例代码
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://api2.aigcbest.top/mj/submit/describe' \
--header 'Authorization;' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"botType": "MID_JOURNEY",
"base64": "data:image/png;base64,xxx",
"accountFilter": {
"channelId": "",
"instanceId": "",
"modes": [],
"remark": "",
"remix": true,
"remixAutoConsidered": true
},
"notifyHook": "",
"state": ""
}'
返回响应
🟢200OK
application/json
Body
code
integer <int32>
必需
示例值:
1
description
string
描述
示例值:
提交成功
properties
object
扩展字段
result
string
任务ID
示例值:
1320098173412546
示例
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-12-10 17:42:18