- 文件服务
- 链接分析(url analysis)
- 图片生成
- flux
- ideogram
- midjourney
- gpt4oimage
- 音乐生成
- 视频生成
- vidu(官方格式)
- runway
- luma
- 可灵(官方格式)
- pika
- pixverse(变身毒液效果等)
- sora
- GPTs 相关
- 数字人
- 智谱清言(glm)
- openai
Describe
POST
https://api.gptgod.online/mj/submit/describe
最后修改时间:2024-12-07 08:13:45
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
botType
string
bot类型
base64
string
图片base64
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://api.gptgod.online/mj/submit/describe' \
--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": ""
}'
返回响应
🟢200成功
application/json
Body
提交结果
code
integer
状态码
description
string
描述
properties
object
扩展字段
result
integer
任务ID
示例
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
🟢201成功
🟠403禁止访问
🟠404记录不存在