Midjourney API文档
  1. 任务查询
Midjourney API文档
  • 任务提交
    • 提交Imagine任务
      POST
    • 提交Describe任务
      POST
    • 提交Blend任务
      POST
    • 提交Action任务
      POST
    • 提交Modal任务
      POST
  • 任务查询
    • 任务信息获取
      GET
    • 任务种子获取
      GET
    • 任务取消
      POST
  1. 任务查询

任务取消

POST
/mj/task/{id}/cancel

请求参数

Authorization
API Key
在 header 添加参数
Authorization
示例:
Authorization: ********************
or
Path 参数

请求示例代码

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/task//cancel' \
--header 'Authorization: <api-key>'

返回响应

🟢200
OK
该响应没有 Body
修改于 2026-02-12 08:03:06
上一页
任务种子获取
Built with