1. 任务提交
八秒API聚合 copy
  • 引言
  • 首页必看
    • 查看可用模型
      GET
  • 对话
    • 聊天对话(通用)
      POST
    • 识别图片
      POST
    • 克劳德(原生API格式请求)
      POST
  • 绘画
    • 任务查询
      • 查询所有任务
      • 根据ID列表查询任务
      • 根据ID列表查询任务-字段displays
      • 分页查询任务
      • 查询任务队列
      • 取消任务
      • 获取任务图片的seed(需设置mj或niji的私信ID)
      • 指定ID获取任务
    • 任务提交
      • 可选速度-提交绘画任务
        POST
      • 提交Imagine任务
        POST
      • 执行动作
        POST
      • 提交Describe任务
        POST
      • 上传文件到discord
        POST
      • 提交Blend任务
        POST
      • 提交Modal
        POST
      • 提交Shorten任务
        POST
    • InsightFace任务提交
      • 提交swap_face任务
  1. 任务提交

提交Describe任务

POST
/mj/submit/describe

请求参数

Header 参数

Body 参数application/json

示例
{
    "botType": "MID_JOURNEY",
    "prompt": "Lorem nulla qui id laborum",
    "base64Array": [
        "[\"data:image/png;base64,xxx1\",\"data:image/png;base64,xxx2\"]"
    ],
    "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 '/mj/submit/describe' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "botType": "MID_JOURNEY",
    "prompt": "Lorem nulla qui id laborum",
    "base64Array": [
        "[\"data:image/png;base64,xxx1\",\"data:image/png;base64,xxx2\"]"
    ],
    "accountFilter": {
        "channelId": "",
        "instanceId": "",
        "modes": [],
        "remark": "",
        "remix": true,
        "remixAutoConsidered": true
    },
    "notifyHook": "",
    "state": ""
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 1,
    "description": "提交成功",
    "properties": {},
    "result": 1320098173412546
}
修改于 2026-03-02 09:08:38
上一页
执行动作
下一页
上传文件到discord
Built with