> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 查询 Midjourney 任务

> 查询 Midjourney 任务状态和生成结果

## 状态

任务状态包括 `NOT_START`, `SUBMITTED`, `IN_PROGRESS`, `MODAL`, `SUCCESS`, `FAILURE`.`MODAL` 是需要继续提交遮罩和提示词的中间状态, 不是失败.

```bash cURL theme={null}
curl --request GET \
  --url https://toapis.com/v1/midjourney/tsk_img_xxx \
  --header 'Authorization: Bearer <token>'
```

成功响应可能包含 `grid_image_url`, `image_urls`, `video_urls`, `buttons`, `prompt` 和 `description`.`describe` 操作使用 `description` 返回文本结果.

`GET /v1/tasks/{task_id}` 是同一任务的通用查询别名.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.