AGTCloud API Docs
文档指南API Reference集成与资源更新与帮助
图像生成Midjourney

查询任务

按任务 ID 查询 Midjourney 任务状态和结果。

单任务查询接口返回任务动作、状态、进度、图片地址和按钮列表。应用应根据 status 判断是否继续等待,并在成功后使用 buttons[].customId 执行后续 Action。

GET/mj/task/{id}/fetch

根据任务 ID 获取任务状态、进度、图片地址和可执行按钮。

Authorization

bearerAuth
AuthorizationBearer <token>

在 Authorization Header 中使用 Bearer your-api-key。

In: header

Path Parameters

id*string

Midjourney 任务 ID。

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json