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

任务信息获取

GET
/mj/task/{id}/fetch

请求参数

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

返回响应

🟢200
application/json
OK
Body

示例
{
    "properties": {
        "property1": null,
        "property2": null
    },
    "id": "string",
    "parentId": "string",
    "botType": "/** MID_JOURNEY */\r\nMID_JOURNEY = 'MID_JOURNEY'",
    "realBotType": "/** MID_JOURNEY */\r\nMID_JOURNEY = 'MID_JOURNEY'",
    "userId": "string",
    "isWhite": true,
    "nonce": "string",
    "interactionMetadataId": "string",
    "messageId": "string",
    "remixModalMessageId": "string",
    "remixAutoSubmit": true,
    "remixModaling": true,
    "instanceId": "string",
    "subInstanceId": "string",
    "messageIds": [
        "string"
    ],
    "action": "/** IMAGINE */\r\nIMAGINE = 'IMAGINE'",
    "status": "/** NOT_START */\r\nNOT_START = 'NOT_START'",
    "isCompleted": true,
    "prompt": "string",
    "promptEn": "string",
    "promptFull": "string",
    "description": "string",
    "state": "string",
    "submitTime": 0,
    "startTime": 0,
    "finishTime": 0,
    "imageUrl": "string",
    "baseImageUrl": "string",
    "imageUrls": [
        {
            "url": "string",
            "thumbnail": "string"
        }
    ],
    "thumbnailUrl": "string",
    "progress": "string",
    "failReason": "string",
    "buttons": [
        {
            "customId": "string",
            "emoji": "string",
            "label": "string",
            "style": 0,
            "type": 0
        }
    ],
    "displays": {
        "property1": null,
        "property2": null
    },
    "seed": "string",
    "seedMessageId": "string",
    "jobId": "string",
    "isReplicate": true,
    "replicateSource": "string",
    "replicateTarget": "string",
    "mode": "/** RELAX */\r\nRELAX = 'RELAX'",
    "requestMode": "/** RELAX */\r\nRELAX = 'RELAX'",
    "url": "string",
    "proxyUrl": "string",
    "height": 0,
    "width": 0,
    "size": 0,
    "contentType": "string",
    "imageHeight": 0,
    "imageWidth": 0,
    "videoGenOriginImageUrl": "string",
    "videoDuration": 0,
    "frameCount": 0,
    "videoUrls": [
        {
            "url": "string",
            "thumbnail": "string"
        }
    ],
    "useTime": "string",
    "version": "string",
    "videoType": "string",
    "isHdVideo": true,
    "isVideo": true,
    "isVideoUpscale": true
}
修改于 2026-02-12 08:03:25
上一页
提交Modal任务
下一页
任务种子获取
Built with